summaryrefslogtreecommitdiffstats
path: root/src/responder/pam/pamsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/pam/pamsrv.c')
-rw-r--r--src/responder/pam/pamsrv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index 7903e34c8..c82f0fab1 100644
--- a/src/responder/pam/pamsrv.c
+++ b/src/responder/pam/pamsrv.c
@@ -99,17 +99,6 @@ static void pam_dp_reconnect_init(struct sbus_connection *conn, int status, void
/* pam_shutdown(rctx); */
}
-static errno_t pam_get_config(struct pam_ctx *pctx,
- struct resp_ctx *rctx,
- struct confdb_ctx *cdb)
-{
- int ret = EOK;
- ret = confdb_get_int(cdb, pctx, CONFDB_PAM_CONF_ENTRY,
- CONFDB_PAM_CRED_TIMEOUT, 0,
- &pctx->cred_expiration);
- return ret;
-}
-
static int pam_process_init(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct confdb_ctx *cdb)
@@ -140,7 +129,6 @@ static int pam_process_init(TALLOC_CTX *mem_ctx,
}
pctx->rctx->pvt_ctx = pctx;
- ret = pam_get_config(pctx, pctx->rctx, pctx->rctx->cdb);
/* Enable automatic reconnection to the Data Provider */