summaryrefslogtreecommitdiff
path: root/server/responder/pam
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-03-09 17:05:23 +0100
committerSimo Sorce <ssorce@redhat.com>2009-03-09 15:07:48 -0400
commitc47e03cf2d446e301cf3609fa9acb90e3f6a6ccc (patch)
treebfe0be7667413437a1237802f5da462fca11f167 /server/responder/pam
parentda481aa47c4f4545c1bbb7699a04566dc94e6db2 (diff)
downloadsssd-c47e03cf2d446e301cf3609fa9acb90e3f6a6ccc.tar.gz
sssd-c47e03cf2d446e301cf3609fa9acb90e3f6a6ccc.tar.bz2
sssd-c47e03cf2d446e301cf3609fa9acb90e3f6a6ccc.zip
use fixed paths to sockets to make sure clients and server are using the same
Diffstat (limited to 'server/responder/pam')
-rw-r--r--server/responder/pam/pamsrv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv.c b/server/responder/pam/pamsrv.c
index b6593bcf..de62e035 100644
--- a/server/responder/pam/pamsrv.c
+++ b/server/responder/pam/pamsrv.c
@@ -44,8 +44,8 @@
#include "monitor/monitor_interfaces.h"
#include "sbus/sbus_client.h"
#include "responder/pam/pamsrv.h"
+#include "../sss_client/sss_cli.h"
-#define SSS_PAM_PIPE_NAME "pam"
#define PAM_SBUS_SERVICE_VERSION 0x0001
#define PAM_SBUS_SERVICE_NAME "pam"
#define CONFDB_SOCKET_PATH "config/services/pam"
@@ -158,7 +158,8 @@ int main(int argc, const char *argv[])
main_ctx->confdb_ctx,
sss_sbus_methods,
sss_cmds,
- SSS_PAM_PIPE_NAME,
+ SSS_PAM_SOCKET_NAME,
+ SSS_PAM_PRIV_SOCKET_NAME,
CONFDB_SOCKET_PATH,
pam_dp_methods);
if (ret != EOK) return 3;