diff options
-rw-r--r-- | src/responder/sudo/sudosrv.c | 9 | ||||
-rw-r--r-- | src/responder/sudo/sudosrv_private.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/responder/sudo/sudosrv.c b/src/responder/sudo/sudosrv.c index 6cee1678c..cf131853d 100644 --- a/src/responder/sudo/sudosrv.c +++ b/src/responder/sudo/sudosrv.c @@ -128,15 +128,6 @@ int sudo_process_init(TALLOC_CTX *mem_ctx, sudo_ctx->rctx = rctx; sudo_ctx->rctx->pvt_ctx = sudo_ctx; - ret = confdb_get_int(cdb, CONFDB_NSS_CONF_ENTRY, - CONFDB_NSS_ENTRY_NEG_TIMEOUT, 15, - &sudo_ctx->neg_timeout); - if (ret != EOK) { - DEBUG(SSSDBG_FATAL_FAILURE, - "fatal error getting ncache timeout\n"); - goto fail; - } - sss_ncache_prepopulate(sudo_ctx->ncache, sudo_ctx->rctx->cdb, rctx); if (ret != EOK) { DEBUG(SSSDBG_FATAL_FAILURE, diff --git a/src/responder/sudo/sudosrv_private.h b/src/responder/sudo/sudosrv_private.h index 99eef03e9..a44d724ed 100644 --- a/src/responder/sudo/sudosrv_private.h +++ b/src/responder/sudo/sudosrv_private.h @@ -43,7 +43,6 @@ enum sss_sudo_type { struct sudo_ctx { struct resp_ctx *rctx; - int neg_timeout; struct sss_nc_ctx *ncache; /* |