summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_init.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-22 11:03:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 18:06:57 +0200
commit1c4144a6ce68dbd54c7c08a517d1f982ea57f19a (patch)
treec81298a84cd4160834999821a179faf666fd4cc9 /src/providers/ldap/ldap_init.c
parent66edf42c51f8591c93204b6490c103fa51346f47 (diff)
downloadsssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.tar.gz
sssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.tar.bz2
sssd-1c4144a6ce68dbd54c7c08a517d1f982ea57f19a.zip
LDAP: Make sdap_id_setup_tasks reusable for subdomains
Instead of always performing the setup for the main domain, the setup can now be performed for subdomains as well.
Diffstat (limited to 'src/providers/ldap/ldap_init.c')
-rw-r--r--src/providers/ldap/ldap_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_init.c b/src/providers/ldap/ldap_init.c
index 38d4fa71..341338ca 100644
--- a/src/providers/ldap/ldap_init.c
+++ b/src/providers/ldap/ldap_init.c
@@ -160,7 +160,7 @@ int sssm_ldap_id_init(struct be_ctx *bectx,
ret = sdap_idmap_init(ctx, ctx, &ctx->opts->idmap_ctx);
if (ret != EOK) goto done;
- ret = sdap_id_setup_tasks(ctx);
+ ret = ldap_id_setup_tasks(ctx);
if (ret != EOK) {
goto done;
}