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

123

/sssd-io/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
851 sysdb_sudo_add_sss_attrs(struct sysdb_attrs *rule, const char *name, int cache_timeout, time_t now) argument
934 sysdb_sudo_store_rule(struct sss_domain_info *domain, struct sysdb_attrs *rule, int cache_timeout, time_t now) argument
977 time_t now; local
[all...]
H A Dsysdb_services.h78 time_t now);
H A Dsysdb_ops.c1020 time_t now)
1044 ret = sysdb_attrs_add_time_t(ts_attrs, SYSDB_LAST_UPDATE, now);
1053 (now + cache_timeout) : 0));
1093 time_t now)
1105 SYSDB_MOD_REP, cache_timeout, now);
1160 time_t now)
1177 cache_timeout, now);
1187 time_t now)
1215 SYSDB_MOD_ADD, cache_timeout, now);
1229 time_t now)
1014 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
1089 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
1155 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
1183 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
1225 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
1235 sysdb_create_ts_grp(struct sss_domain_info *domain, const char *grp_name, uint64_t cache_timeout, time_t now) argument
1244 sysdb_create_ts_usr(struct sss_domain_info *domain, const char *usr_name, uint64_t cache_timeout, time_t now) argument
1953 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
2194 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
2368 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
2568 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
2671 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
2767 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
2813 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
2900 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
2997 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
3042 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_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
/sssd-io/src/providers/ldap/
H A Dsdap_users.h39 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,
371 time_t now = time(NULL); local
391 SYSDB_CACHE_EXPIRE, (long)now);
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_access.c437 time_t now; local
445 now = time(NULL);
446 if (now == ((time_t) -1)) {
454 nt_now = (now + AD_TO_UNIX_TIME_CONST) * 1000 * 1000 * 10;
546 time_t now; local
563 now = time(NULL);
566 "daylight [%d] now [%ld] expire_time [%ld].\n", tzname[0],
567 tzname[1], timezone, daylight, now, expire_time);
569 if (difftime(now, expire_time) > 0.0) {
583 time_t now; local
1812 time_t now; local
[all...]
H A Dsdap_hostid.c148 time_t now = time(NULL); local
201 state->domain->ssh_host_timeout, now, attrs);
271 /* TODO For backward compatibility we always return EOK to DP now. */
291 /* TODO For backward compatibility we always return EOK to DP now. */
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-io/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-io/src/responder/ssh/
H A Dssh_known_hosts.c168 time_t now,
204 ret = sysdb_get_ssh_known_hosts(tmp_ctx, dom, now, attrs,
264 time_t now; local
273 now = time(NULL);
277 ret = sysdb_update_ssh_known_host_expire(domain, name, now,
298 ret = ssh_write_known_hosts(domains, hash_known_hosts, now, fd);
166 ssh_write_known_hosts(struct sss_domain_info *domains, bool hash_known_hosts, time_t now, int fd) argument
/sssd-io/src/responder/ifp/
H A Dorg.freedesktop.sssd.infopipe.conf16 <!-- Right now, this will be handled by a limited ACL
/sssd-io/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);
/sssd-io/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-io/src/responder/common/
H A Dresponder_cmd.c96 /* now that the packet is in place, unlock queue
267 time_t now; local
269 now = time(NULL);
285 if (cache_expire > now) {
288 if (midpoint_refresh && midpoint_refresh < now) {
/sssd-io/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-io/src/tests/python/docs/
H A DMakefile68 @echo "Build finished; now you can process the pickle files."
73 @echo "Build finished; now you can process the JSON files."
78 @echo "Build finished; now you can run HTML Help Workshop with the" \
84 @echo "Build finished; now you can run "qcollectiongenerator" with the" \
/sssd-io/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-io/src/providers/ipa/
H A Dipa_session.c83 time_t now; local
129 now = time(NULL);
137 now < session_ctx->last_request + request_interval) {
138 next_request = (session_ctx->last_request + request_interval - now);
158 if (offline || now < session_ctx->last_update + refresh_interval) {
393 /* For now, let's completely purge the previous stored
598 /* TODO For backward compatibility we always return EOK to DP now. */

Completed in 54 milliseconds

123