summaryrefslogtreecommitdiffstats
path: root/server/Makefile.am
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-08-05 14:45:14 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-08-11 12:29:34 -0400
commitb3b55f167063417c285524ba35bd9298965b834a (patch)
tree4c918ec839222dd55d0090d03d27b9b932491c57 /server/Makefile.am
parent28bbb2ec4c5f29339488f07f63f55e5c6657e9a1 (diff)
downloadsssd-b3b55f167063417c285524ba35bd9298965b834a.tar.gz
sssd-b3b55f167063417c285524ba35bd9298965b834a.tar.xz
sssd-b3b55f167063417c285524ba35bd9298965b834a.zip
Make socket paths a compile-time option
Previously, we had hardcoded the paths for the NSS, PAM and private PAM sockets to /var/lib/sss/pipes. With this patch, we will specify the sockets with --with-pipe-path.
Diffstat (limited to 'server/Makefile.am')
-rw-r--r--server/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index 400d31f36..2d2c65f1d 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -115,6 +115,9 @@ AM_CPPFLAGS = -Wall \
-DSHADOW_UTILS_PATH=\"$(shadow_utils_path)\" \
-DSSSD_INTROSPECT_PATH=\"$(dbusinstropectdir)\" \
-DSSSD_CONF_DIR=\"$(sssdconfdir)\" \
+ -DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
+ -DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
+ -DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
-DUSE_MMAP=1 \
-DLOCALEDIR=\"\$(localedir)\"