diff options
author | Simo Sorce <idra@samba.org> | 2009-01-11 12:15:48 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-11 12:15:48 -0500 |
commit | 91dfe750f64cc0d8a970864959767379e0d128db (patch) | |
tree | 6d35cc16d8b4bc77e64e1a00aec5d443178047d4 /server/providers/data_provider_be.c | |
parent | bbf87bbd85be62183997516e4928fa1fdfcc70ff (diff) | |
download | sssd-91dfe750f64cc0d8a970864959767379e0d128db.tar.gz sssd-91dfe750f64cc0d8a970864959767379e0d128db.tar.bz2 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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c index 568fb2ec..8f0d8318 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; } |