diff options
author | Sumit Bose <sbose@redhat.com> | 2009-03-09 17:05:23 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-09 15:07:48 -0400 |
commit | c47e03cf2d446e301cf3609fa9acb90e3f6a6ccc (patch) | |
tree | bfe0be7667413437a1237802f5da462fca11f167 /server/confdb | |
parent | da481aa47c4f4545c1bbb7699a04566dc94e6db2 (diff) | |
download | sssd-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/confdb')
-rw-r--r-- | server/confdb/confdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 9ada97f3..26c9e939 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"; |