diff options
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/common/responder.h | 3 | ||||
-rw-r--r-- | src/responder/common/responder_common.c | 28 |
2 files changed, 0 insertions, 31 deletions
diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h index d3f5c8d94..7fc277024 100644 --- a/src/responder/common/responder.h +++ b/src/responder/common/responder.h @@ -347,7 +347,4 @@ errno_t sss_parse_inp_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, const char **parse_attr_list_ex(TALLOC_CTX *mem_ctx, const char *conf_str, const char **defaults); -errno_t responder_get_neg_timeout_from_confdb(struct confdb_ctx *cdb, - uint32_t *ncache_timeout); - #endif /* __SSS_RESPONDER_H__ */ diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index 4f620f7d9..883b22a65 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -1129,31 +1129,3 @@ void responder_set_fd_limit(rlim_t fd_limit) "Proceeding with system values\n"); } } - -errno_t responder_get_neg_timeout_from_confdb(struct confdb_ctx *cdb, - uint32_t *ncache_timeout) -{ - int value; - int ret; - - ret = confdb_get_int(cdb, CONFDB_NSS_CONF_ENTRY, - CONFDB_NSS_ENTRY_NEG_TIMEOUT, 15, - &value); - if (ret != EOK) { - DEBUG(SSSDBG_FATAL_FAILURE, - "Fatal failure of setup negative cache timeout.\n"); - ret = ENOENT; - goto done; - } - - if (value < 0) { - ret = EINVAL; - goto done; - } - - *ncache_timeout = value; - ret = EOK; - -done: - return ret; -} |