From 91dfe750f64cc0d8a970864959767379e0d128db Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 11 Jan 2009 12:15:48 -0500 Subject: Turn ldap_provider.c into proxy.c and make it possible to load just any libnss library through config directives on the domain object --- server/providers/data_provider_be.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/providers/data_provider_be.c') 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; } -- cgit