summaryrefslogtreecommitdiff
path: root/server/responder/pam
diff options
context:
space:
mode:
Diffstat (limited to 'server/responder/pam')
-rw-r--r--server/responder/pam/pamsrv.h2
-rw-r--r--server/responder/pam/pamsrv_cmd.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/server/responder/pam/pamsrv.h b/server/responder/pam/pamsrv.h
index f33c5dc7..d95df169 100644
--- a/server/responder/pam/pamsrv.h
+++ b/server/responder/pam/pamsrv.h
@@ -6,8 +6,6 @@
#include "sbus/sssd_dbus.h"
#include "responder/common/responder.h"
-#define PAM_DP_TIMEOUT 5000
-
struct pam_auth_req;
typedef void (pam_dp_callback_t)(struct pam_auth_req *preq);
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index 407d7fb9..4c7bf1f6 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -605,7 +605,7 @@ static void pam_dom_forwarder(struct pam_auth_req *preq)
}
else {
preq->callback = pam_reply;
- ret = pam_dp_send_req(preq, PAM_DP_TIMEOUT);
+ ret = pam_dp_send_req(preq, SSS_CLI_SOCKET_TIMEOUT/2);
DEBUG(4, ("pam_dp_send_req returned %d\n", ret));
}