diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-22 15:21:24 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-29 14:08:51 +0100 |
commit | b4ffa4d19e912740af6df3c1a4fabcea69729885 (patch) | |
tree | 24c2a5f9e33488be298f66610a080300e363b1ba /src/providers/ad/ad_subdomains.c | |
parent | 37171a92dc9c5e4fe1a0663901fc965b49a78151 (diff) | |
download | sssd-b4ffa4d19e912740af6df3c1a4fabcea69729885.tar.gz sssd-b4ffa4d19e912740af6df3c1a4fabcea69729885.tar.xz sssd-b4ffa4d19e912740af6df3c1a4fabcea69729885.zip |
AD: Establish cross-domain memberships after enumeration finishes
Because domain enumeration currently works for each domain separately,
the code has to establish cross-domain memberships after all domains are
enumerated. The code works as follows:
1) check if any *sub*domains were enumerated. If not, do nothing
2) if any of the groups saved had more original members than
sysdb members, check if members of these groups can be linked now
that all users and groups are saved using the orig_member
attribute of the group matched against originalDN member of the
user.
Related:
https://fedorahosted.org/sssd/ticket/2142
Diffstat (limited to 'src/providers/ad/ad_subdomains.c')
-rw-r--r-- | src/providers/ad/ad_subdomains.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c index e7871cc32..0d9652b5c 100644 --- a/src/providers/ad/ad_subdomains.c +++ b/src/providers/ad/ad_subdomains.c @@ -177,17 +177,6 @@ ad_subdom_ad_ctx_new(struct be_ctx *be_ctx, return EFAULT; } - ret = sdap_id_setup_tasks(be_ctx, - ad_id_ctx->sdap_id_ctx, - sdom, - ldap_enumeration_send, - ldap_enumeration_recv, - ad_id_ctx->sdap_id_ctx); - if (ret != EOK) { - talloc_free(ad_options); - return ret; - } - /* Set up the ID mapping object */ ad_id_ctx->sdap_id_ctx->opts->idmap_ctx = id_ctx->sdap_id_ctx->opts->idmap_ctx; |