#3754 SSSD AD uses LDAP filter to detect POSIX attributes stored in AD GC also for regular AD DC queries

Created 11 days ago by jhrozek
Modified 3 days ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1583725

Description of problem:
SSSD uses the following LDAP query to detect if the AD Global Catalog (GC)
server can be used to retrieve POSIX attributes:


The filter is used with a sizelimit of '1' but AD is not properly honoring the
sizelimit. This issue is tracked in BZ #1582975.

The other issue is that this query should only go to the Global Catalog server
but with the current version of SSSD we do see this query also going to regular

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. Configure SSSD with AD provider.
2. Create an AD account with POSIX attributes
3. Login into the SSSD client using this account

Actual results:
The LDAP query listed above goes to a regular AD DC. Because of the issue
reported in BZ #1582975 it might happen that SSSD runs into a timeout and the
next server is contacted. This might end up in an infinite loop until the
search can be completed.

Expected results:
LDAP query goes only to AD GC server.

Additional info:
This is a possible regression.
11 days ago

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1583725

3 days ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.3

Login to comment on this ticket.