summaryrefslogtreecommitdiffstats
path: root/server/providers/data_provider_be.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-01-11 12:15:48 -0500
committerSimo Sorce <idra@samba.org>2009-01-11 12:15:48 -0500
commit91dfe750f64cc0d8a970864959767379e0d128db (patch)
tree6d35cc16d8b4bc77e64e1a00aec5d443178047d4 /server/providers/data_provider_be.c
parentbbf87bbd85be62183997516e4928fa1fdfcc70ff (diff)
downloadsssd-91dfe750f64cc0d8a970864959767379e0d128db.tar.gz
sssd-91dfe750f64cc0d8a970864959767379e0d128db.tar.xz
sssd-91dfe750f64cc0d8a970864959767379e0d128db.zip
Turn ldap_provider.c into proxy.c and make it possible to load just any
libnss library through config directives on the domain object
Diffstat (limited to 'server/providers/data_provider_be.c')
-rw-r--r--server/providers/data_provider_be.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index 568fb2eca..8f0d8318a 100644
--- a/server/providers/data_provider_be.c
+++ b/server/providers/data_provider_be.c
@@ -402,7 +402,8 @@ int be_process_init(TALLOC_CTX *mem_ctx,
ctx->name = talloc_strdup(ctx, be_name);
ctx->domain = talloc_strdup(ctx, be_domain);
ctx->identity = talloc_asprintf(ctx, "%%BE_%s", be_domain);
- if (!ctx->name || !ctx->domain || !ctx->identity) {
+ ctx->conf_path = talloc_asprintf(ctx, "config/domains/%s", be_domain);
+ if (!ctx->name || !ctx->domain || !ctx->identity || !ctx->conf_path) {
DEBUG(0, ("Out of memory!?\n"));
return ENOMEM;
}