#2345 tokengroups do not work with id_provider=ldap
Closed: Fixed Opened by jhrozek.

Currently with id_provider=ldap and ldap_schema=ad I'm seeing:

(Mon Jun  2 13:37:05 2014) [sssd[be[AD-LDAP]]] [sdap_ad_tokengroups_initgr_mapping_send] (0x0020): No ID ctx available for [AD-LDAP].

We need to solve this bug because:
1. This is a regression. There are existing users running this setup, we've received bugs from them in the past
2. There is a layering violation in the AD provider. The file src/providers/ldap/sdap_async_initgroups_ad.c includes providers/ad/ad_common.h. We should not include headers from either IPA or AD provider in the plain LDAP provider.

I would argue that the tokenGroups should have been included in the AD provider only and not the LDAP provider because it's too AD specific anyway, but I'm not sure if we can revert that now..


According to the code, this bug also hits deployments with ldap_schema=rfc2307bis, the TG support is autodetected from the rootDSE. That makes the priority of this bug higher..

priority: major => blocker

Fields changed

owner: somebody => preichl

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.11.7
rhbz: => todo

Fields changed

patch: 0 => 1

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1120508

rhbz: todo => [https://bugzilla.redhat.com/show_bug.cgi?id=1120508 1120508]

master:
- 1614e1b25a98ff2f03648c4bf61d750fb688285a
- b12e2500237f33c44807d7e5b377ec06007c7252
sssd-1-11:
- 5001bab712149a27ab37697d487b3f51082df26d
- deb0cc874606db31f454531c03d381fe0de76bd6

resolution: => fixed
status: new => closed

Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1146541 (Red Hat Enterprise Linux 7)

rhbz: [https://bugzilla.redhat.com/show_bug.cgi?id=1120508 1120508] => [https://bugzilla.redhat.com/show_bug.cgi?id=1120508 1120508], [https://bugzilla.redhat.com/show_bug.cgi?id=1146541 1146541]

Metadata Update from @jhrozek:
- Issue assigned to preichl
- Issue marked as blocked by: #2447
- Issue set to the milestone: SSSD 1.11.7

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3387

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata