summaryrefslogtreecommitdiff
path: root/server/responder
diff options
context:
space:
mode:
Diffstat (limited to 'server/responder')
-rw-r--r--server/responder/nss/nsssrv.c2
-rw-r--r--server/responder/nss/nsssrv.h2
-rw-r--r--server/responder/pam/pamsrv.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/server/responder/nss/nsssrv.c b/server/responder/nss/nsssrv.c
index f12fb6c5..c1bfb969 100644
--- a/server/responder/nss/nsssrv.c
+++ b/server/responder/nss/nsssrv.c
@@ -519,7 +519,7 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
/* set up things like debug , signals, daemonization, etc... */
- ret = server_setup("sssd[nss]", 0, &main_ctx);
+ ret = server_setup("sssd[nss]", 0, NSS_CONF_ENTRY, &main_ctx);
if (ret != EOK) return 2;
ret = nss_process_init(main_ctx,
diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h
index 4f5750de..954ae8f2 100644
--- a/server/responder/nss/nsssrv.h
+++ b/server/responder/nss/nsssrv.h
@@ -47,6 +47,8 @@
#define NSS_ENUM_GROUPS 0x02
#define NSS_ENUM_ALL 0x03
+#define NSS_SRV_CONFIG "config/services/nss"
+
struct sysdb_ctx;
struct getpwent_ctx;
struct getgrent_ctx;
diff --git a/server/responder/pam/pamsrv.c b/server/responder/pam/pamsrv.c
index de62e035..99522898 100644
--- a/server/responder/pam/pamsrv.c
+++ b/server/responder/pam/pamsrv.c
@@ -148,7 +148,7 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
/* set up things like debug , signals, daemonization, etc... */
- ret = server_setup("sssd[pam]", 0, &main_ctx);
+ ret = server_setup("sssd[pam]", 0, CONFDB_SOCKET_PATH, &main_ctx);
if (ret != EOK) return 2;
pam_dp_methods = register_pam_dp_methods();