Searched refs:now (Results 1 - 25 of 49) sorted by relevance

12

/sssd/src/db/
H A Dsysdb_ssh.h37 time_t now,
43 time_t now,
74 time_t now,
H A Dsysdb_selinux.c37 time_t now)
61 if (!now) {
62 now = time(NULL);
65 ret = sysdb_attrs_add_time_t(attrs, SYSDB_CREATE_TIME, now);
95 time_t now; local
145 now = time(NULL);
146 ret = sysdb_attrs_add_time_t(attrs, SYSDB_LAST_UPDATE, now);
149 ret = sysdb_add_selinux_entity(sysdb, dn, objectclass, attrs, now);
33 sysdb_add_selinux_entity(struct sysdb_ctx *sysdb, struct ldb_dn *dn, const char *objectclass, struct sysdb_attrs *attrs, time_t now) argument
H A Dsysdb_autofs.h44 time_t now);
H A Dsysdb_ssh.c57 time_t now,
151 ret = sysdb_attrs_add_time_t(attrs, SYSDB_LAST_UPDATE, now);
160 cache_timeout ? (now + cache_timeout) : 0);
226 time_t now,
248 now + known_hosts_timeout);
369 time_t now,
387 SYSDB_CACHE_EXPIRE, (long long)now + 1,
388 SYSDB_SSH_KNOWN_HOSTS_EXPIRE, (long long)now + 1);
53 sysdb_store_ssh_host(struct sss_domain_info *domain, const char *name, const char *alias, int cache_timeout, time_t now, struct sysdb_attrs *attrs) argument
224 sysdb_update_ssh_known_host_expire(struct sss_domain_info *domain, const char *name, time_t now, int known_hosts_timeout) argument
367 sysdb_get_ssh_known_hosts(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, time_t now, const char **attrs, struct ldb_message ***hosts, size_t *num_hosts) argument
H A Dsysdb_sudo.c74 time_t now,
156 if ((notBefore == 0 || now >= notBefore)
157 && (notAfter == 0 || now <= notAfter)) {
178 time_t now,
192 if (now == 0) {
193 now = time(NULL);
197 ret = sysdb_sudo_check_time(in_rules[i], now, &allowed);
297 time_t now; local
304 now = time(NULL);
308 SYSDB_CACHE_EXPIRE, (long long)now,
73 sysdb_sudo_check_time(struct sysdb_attrs *rule, time_t now, bool *result) argument
175 sysdb_sudo_filter_rules_by_time(TALLOC_CTX *mem_ctx, uint32_t in_num_rules, struct sysdb_attrs **in_rules, time_t now, uint32_t *_num_rules, struct sysdb_attrs ***_rules) argument
822 sysdb_sudo_add_sss_attrs(struct sysdb_attrs *rule, const char *name, int cache_timeout, time_t now) argument
916 sysdb_sudo_store_rule(struct sss_domain_info *domain, struct sysdb_attrs *rule, int cache_timeout, time_t now) argument
959 time_t now; local
[all...]
H A Dsysdb_ops.c904 time_t now)
928 ret = sysdb_attrs_add_time_t(ts_attrs, SYSDB_LAST_UPDATE, now);
937 (now + cache_timeout) : 0));
977 time_t now)
989 SYSDB_MOD_REP, cache_timeout, now);
1044 time_t now)
1061 cache_timeout, now);
1071 time_t now)
1099 SYSDB_MOD_ADD, cache_timeout, now);
1113 time_t now)
898 sysdb_update_ts_cache(struct sss_domain_info *domain, struct ldb_dn *entry_dn, struct sysdb_attrs *entry_attrs, struct sysdb_attrs *ts_attrs, int mod_op, uint64_t cache_timeout, time_t now) argument
973 sysdb_check_and_update_ts_cache(struct sss_domain_info *domain, struct ldb_dn *entry_dn, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
1039 sysdb_check_and_update_ts_obj(struct sss_domain_info *domain, enum sysdb_obj_type obj_type, const char *obj_name, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
1067 sysdb_create_ts_obj(struct sss_domain_info *domain, enum sysdb_obj_type obj_type, const char *obj_name, uint64_t cache_timeout, time_t now) argument
1109 sysdb_check_and_update_ts_grp(struct sss_domain_info *domain, const char *grp_name, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
1119 sysdb_create_ts_grp(struct sss_domain_info *domain, const char *grp_name, uint64_t cache_timeout, time_t now) argument
1128 sysdb_create_ts_usr(struct sss_domain_info *domain, const char *usr_name, uint64_t cache_timeout, time_t now) argument
1831 sysdb_add_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, int cache_timeout, time_t now) argument
2040 sysdb_add_group(struct sss_domain_info *domain, const char *name, gid_t gid, struct sysdb_attrs *attrs, int cache_timeout, time_t now) argument
2197 sysdb_add_incomplete_group(struct sss_domain_info *domain, const char *name, gid_t gid, const char *original_dn, const char *sid_str, const char *uuid, bool posix, time_t now) argument
2368 sysdb_add_netgroup(struct sss_domain_info *domain, const char *name, const char *description, struct sysdb_attrs *attrs, char **missing, int cache_timeout, time_t now) argument
2471 sysdb_store_user(struct sss_domain_info *domain, const char *name, const char *pwd, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument
2567 sysdb_store_new_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
2613 sysdb_store_user_attrs(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument
2700 sysdb_store_group(struct sss_domain_info *domain, const char *name, gid_t gid, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
2797 sysdb_store_new_group(struct sss_domain_info *domain, const char *name, gid_t gid, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
2842 sysdb_store_group_attrs(struct sss_domain_info *domain, const char *name, gid_t gid, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
[all...]
H A Dsysdb_services.h78 time_t now);
H A Dsysdb_sudo.h95 time_t now,
H A Dsysdb_gpo.c54 time_t now)
86 if (!now) {
87 now = time(NULL);
158 ((cache_timeout) ? (now + cache_timeout) : 0));
202 ((cache_timeout) ? (now + cache_timeout) : 0));
50 sysdb_gpo_store_gpo(struct sss_domain_info *domain, const char *gpo_guid, int gpo_version, int cache_timeout, time_t now) argument
H A Dsysdb.h915 time_t now);
926 time_t now);
935 time_t now);
947 time_t now);
966 time_t now);
973 time_t now);
1249 time_t now);
/sssd/src/providers/ldap/
H A Dsdap_users.h38 time_t now);
H A Dldap_id_cleanup.c180 time_t now = time(NULL); local
204 (long) now,
207 (long) (now - (account_cache_expiration * 86400)));
213 (long) now,
370 time_t now = time(NULL); local
390 SYSDB_CACHE_EXPIRE, (long)now);
H A Dsdap_access.c432 time_t now; local
440 now = time(NULL);
441 if (now == ((time_t) -1)) {
449 nt_now = (now + AD_TO_UNIX_TIME_CONST) * 1000 * 1000 * 10;
541 time_t now; local
558 now = time(NULL);
561 "daylight [%d] now [%ld] expire_time [%ld].\n", tzname[0],
562 tzname[1], timezone, daylight, now, expire_time);
564 if (difftime(now, expire_time) > 0.0) {
578 time_t now; local
1725 time_t now; local
[all...]
H A Dsdap_async_services.c68 time_t now);
257 time_t now; local
282 now = time(NULL);
288 &usn_value, now);
346 time_t now)
478 svc_attrs, missing, cache_timeout, now);
340 sdap_save_service(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct sdap_options *opts, struct sss_domain_info *dom, struct sysdb_attrs *attrs, char **_usn_value, time_t now) argument
H A Dsdap_async_netgroups.c46 time_t now)
158 dom->netgroup_timeout, now);
725 time_t now; local
735 now = time(NULL);
742 now);
41 sdap_save_netgroup(TALLOC_CTX *memctx, struct sss_domain_info *dom, struct sdap_options *opts, struct sysdb_attrs *attrs, char **_timestamp, time_t now) argument
/sssd/src/tests/cmocka/
H A Dtest_be_ptask.c371 time_t now; local
374 now = get_current_time();
386 assert_true(now <= ptask->last_execution);
387 assert_true(now <= test_ctx->when);
398 time_t now; local
401 now = get_current_time();
413 assert_true(now + DELAY <= ptask->last_execution);
414 assert_true(now + DELAY <= test_ctx->when);
447 time_t now; local
450 now
480 time_t now; local
516 time_t now; local
608 time_t now; local
640 time_t now = 0; local
667 time_t now = 0; local
694 time_t now = 0; local
825 time_t now; local
853 time_t now; local
885 time_t now = 0; local
[all...]
/sssd/src/responder/ifp/
H A Dorg.freedesktop.sssd.infopipe.conf16 <!-- Right now, this will be handled by a limited ACL
/sssd/src/providers/proxy/
H A Dproxy_services.c42 time_t now = time(NULL); local
101 now);
217 time_t now = time(NULL); local
336 now);
H A Dproxy_id.c145 /* Both lookups went fine, we can save the user now */
581 time_t now);
590 time_t now = time(NULL); local
635 (const char *const*) fq_gr_mem, now);
653 now);
683 time_t now)
958 time_t now)
1360 time_t now; local
1410 now = time(NULL);
1412 ret = get_gr_gid(memctx, ctx, sysdb, dom, gids[i], now);
679 proxy_process_missing_users(struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sysdb_attrs *group_attrs, const char *const*fq_gr_mem, time_t now) argument
953 get_gr_gid(TALLOC_CTX *mem_ctx, struct proxy_id_ctx *ctx, struct sysdb_ctx *sysdb, struct sss_domain_info *dom, gid_t gid, time_t now) argument
[all...]
/sssd/src/providers/simple/
H A Dsimple_access.c190 time_t now; local
209 now = time(NULL);
210 if ((now - simple_ctx->last_refresh_of_filter_lists)
220 simple_ctx->last_refresh_of_filter_lists = now;
234 /* TODO For backward compatibility we always return EOK to DP now. */
265 /* TODO For backward compatibility we always return EOK to DP now. */
/sssd/src/responder/common/
H A Dresponder_cmd.c97 /* now that the packet is in place, unlock queue
272 time_t now; local
274 now = time(NULL);
290 if (cache_expire > now) {
293 if (midpoint_refresh && midpoint_refresh < now) {
H A Dresponder_get_domains.c338 time_t now = time(NULL); local
341 diff = now - rctx->get_domains_last_call.tv_sec;
351 diff = now - dom->subdomains_last_checked.tv_sec;
553 /* Was able to parse the name now */
/sssd/src/tests/
H A Dauth-tests.c214 time_t now; local
242 now = time(NULL);
243 do_failed_login_test(2, now, 2, 5, ERR_AUTH_DENIED, 2, (now + 5 * 60));
/sssd/src/providers/krb5/
H A Dkrb5_renew_tgt.c162 time_t now; local
173 now = time(NULL);
182 if (renew_data->start_renew_at < now && renew_data->pd != NULL) {
327 time_t now; local
365 now = time(NULL);
366 if (tgtt.renew_till > tgtt.endtime && tgtt.renew_till > now &&
367 tgtt.endtime > now) {
/sssd/src/providers/ipa/
H A Dipa_hostid.c152 time_t now = time(NULL); local
206 state->domain->ssh_host_timeout, now, attrs);
276 /* TODO For backward compatibility we always return EOK to DP now. */
296 /* TODO For backward compatibility we always return EOK to DP now. */

Completed in 54 milliseconds

12