From c47e03cf2d446e301cf3609fa9acb90e3f6a6ccc Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 9 Mar 2009 17:05:23 +0100 Subject: use fixed paths to sockets to make sure clients and server are using the same --- server/confdb/confdb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/confdb/confdb.c') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 9ada97f3a..26c9e939e 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -522,11 +522,13 @@ static int confdb_init_db(struct confdb_ctx *cdb) ret = confdb_add_param(cdb, false, "config/services/pam", "command", val); if (ret != EOK) goto done; +#if 0 /* for future use */ /* Set the sssd_pam socket path */ val[0] = talloc_asprintf(tmp_ctx, "%s/pam", PIPE_PATH); CONFDB_ZERO_CHECK_OR_JUMP(val[0], ret, ENOMEM, done); ret = confdb_add_param(cdb, false, "config/services/pam", "unixSocket", val); if (ret != EOK) goto done; +#endif /* for future use */ /* Add PAM to the list of active services */ val[0] = "pam"; @@ -545,11 +547,13 @@ static int confdb_init_db(struct confdb_ctx *cdb) ret = confdb_add_param(cdb, false, "config/services/nss", "command", val); if (ret != EOK) goto done; +#if 0 /* for future use */ /* Set the sssd_nss socket path */ val[0] = talloc_asprintf(tmp_ctx, "%s/sssd_nss", PIPE_PATH); CONFDB_ZERO_CHECK_OR_JUMP(val[0], ret, ENOMEM, done); ret = confdb_add_param(cdb, false, "config/services/nss", "unixSocket", val); if (ret != EOK) goto done; +#endif /* for future use */ /* Add NSS to the list of active services */ val[0] = "nss"; -- cgit