summaryrefslogtreecommitdiffstats
path: root/server/providers
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-11-24 17:26:44 -0500
committerSimo Sorce <idra@samba.org>2008-11-24 17:44:44 -0500
commit982dac8bddc097973ec33def2f1c4ecedf454989 (patch)
treea84080339d61845de2e58798d986c85a95adaed1 /server/providers
parent8c77f1f01f16c05cd8867584b5acf181ef8ce9e0 (diff)
downloadsssd-982dac8bddc097973ec33def2f1c4ecedf454989.tar.gz
sssd-982dac8bddc097973ec33def2f1c4ecedf454989.tar.xz
sssd-982dac8bddc097973ec33def2f1c4ecedf454989.zip
point PIPE_PATH at /var/lib/sss/pipes, not just the private path so that the
same config option can be used for the nss service
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/data_provider.c3
-rw-r--r--server/providers/data_provider.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/server/providers/data_provider.c b/server/providers/data_provider.c
index 0af17a7a5..f29f828cf 100644
--- a/server/providers/data_provider.c
+++ b/server/providers/data_provider.c
@@ -203,7 +203,8 @@ static int dp_srv_init(struct dp_ctx *dpctx)
}
DEBUG(3, ("Initializing Data Provider D-BUS Server\n"));
- default_dp_address = talloc_asprintf(tmp_ctx, "unix:path=%s/%s", PIPE_PATH, DATA_PROVIDER_PIPE);
+ default_dp_address = talloc_asprintf(tmp_ctx, "unix:path=%s/%s",
+ PIPE_PATH, DATA_PROVIDER_PIPE);
if (default_dp_address == NULL) {
ret = ENOMEM;
goto done;
diff --git a/server/providers/data_provider.h b/server/providers/data_provider.h
index 7df2ce107..68c6db976 100644
--- a/server/providers/data_provider.h
+++ b/server/providers/data_provider.h
@@ -30,7 +30,7 @@
#define DATA_PROVIDER_VERSION 0x0001
#define DATA_PROVIDER_SERVICE_NAME "dp"
-#define DATA_PROVIDER_PIPE "sbus-dp"
+#define DATA_PROVIDER_PIPE "private/sbus-dp"
#define DATA_PROVIDER_DB_FILE "sssd.ldb"
#define DATA_PROVIDER_DB_CONF_SEC "config/services/nss"