| /sssd-io/src/db/ |
| H A D | sysdb_gpo.c | 54 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 D | sysdb_selinux.c | 37 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 D | sysdb_ssh.c | 57 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 D | sysdb_autofs.c | 104 time_t now) 146 ret = sysdb_attrs_add_time_t(attrs, SYSDB_LAST_UPDATE, now); 155 (now + cache_timeout) : 0)); 99 sysdb_save_autofsmap(struct sss_domain_info *domain, const char *name, const char *autofsmapname, struct sysdb_attrs *attrs, int cache_timeout, time_t now) argument
|
| H A D | sysdb_services.c | 171 time_t now) 265 /* Ok, ports should now be unique. Now look 370 ret = sysdb_attrs_add_time_t(attrs, SYSDB_LAST_UPDATE, now); 375 (now + cache_timeout) : 0)); 163 sysdb_store_service(struct sss_domain_info *domain, const char *primary_name, int port, const char **aliases, const char **protocols, struct sysdb_attrs *extra_attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument
|
| H A D | sysdb_sudo.c | 74 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...] |
| /sssd-io/src/providers/ldap/ |
| H A D | sdap_hostid.c | 148 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 D | ldap_id_cleanup.c | 180 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 D | sdap_async_netgroups.c | 46 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
|
| H A D | sdap_async_services.c | 68 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 D | sdap_async_autofs.c | 191 time_t now; local 196 now = time(NULL); 199 NULL, dom->autofsmap_timeout, now);
|
| H A D | sdap_async_users.c | 178 time_t now) 623 user_attrs, missing, cache_timeout, now); 666 time_t now; local 694 now = time(NULL); 699 &usn_value, now); 172 sdap_save_user(TALLOC_CTX *memctx, struct sdap_options *opts, struct sss_domain_info *dom, struct sysdb_attrs *attrs, struct sysdb_attrs *mapped_attrs, char **_usn_value, time_t now) argument
|
| /sssd-io/src/providers/proxy/ |
| H A D | proxy_services.c | 42 time_t now = time(NULL); local 101 now); 217 time_t now = time(NULL); local 336 now);
|
| /sssd-io/src/responder/ssh/ |
| H A D | ssh_known_hosts.c | 168 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/tests/ |
| H A D | auth-tests.c | 214 time_t now; local 242 now = time(NULL); 243 do_failed_login_test(2, now, 2, 5, ERR_AUTH_DENIED, 2, (now + 5 * 60));
|
| H A D | sysdb_ssh-tests.c | 172 time_t now = time(NULL); local 178 now,
|
| /sssd-io/src/providers/ |
| H A D | be_refresh.c | 46 time_t now = time(NULL); local 55 SYSDB_CACHE_EXPIRE, (long long) now + period);
|
| /sssd-io/src/providers/krb5/ |
| H A D | krb5_renew_tgt.c | 162 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/simple/ |
| H A D | simple_access.c | 190 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 D | responder_cmd.c | 96 /* 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) {
|
| H A D | responder_get_domains.c | 376 time_t now = time(NULL); local 379 diff = now - rctx->get_domains_last_call.tv_sec; 389 diff = now - dom->subdomains_last_checked.tv_sec; 621 /* Was able to parse the name now */
|
| /sssd-io/src/providers/ad/ |
| H A D | ad_pac.c | 118 time_t now; local 135 now = time(NULL); 136 if (pac_expires < now) {
|
| /sssd-io/src/providers/ipa/ |
| H A D | ipa_access.c | 123 time_t now, refresh_interval; local 174 now = time(NULL); 176 if (offline || now < access_ctx->last_update + refresh_interval) { 593 /* TODO For backward compatibility we always return EOK to DP now. */ 641 /* TODO For backward compatibility we always return EOK to DP now. */ 679 /* TODO For backward compatibility we always return EOK to DP now. */
|
| H A D | ipa_session.c | 83 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. */
|
| /sssd-io/src/tests/cmocka/ |
| H A D | test_be_ptask.c | 371 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...] |