Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search() returns partial results only #119

Open
martinmueller4voice opened this issue May 12, 2021 · 1 comment
Open

Search() returns partial results only #119

martinmueller4voice opened this issue May 12, 2021 · 1 comment

Comments

@martinmueller4voice
Copy link

martinmueller4voice commented May 12, 2021

I was trying to retrieve the list of all groups from a large AD and noticed some groups were missing.

At first I thought the filter was wrong, but using the exact same (objectClass=group) filter in the AD users and groups mmc plugin returned all >20.000 groups in this huge AD.

Since I don't have access to this AD anymore, I can't reproduce the effect - my AD is much smaller and I get all the ~ 120 groups there.

I could not find a connection between the groups that were returned and those that weren't, so I assume there could be some restriction on the result set size.
Unfortunately, I didn't get any error in my application while trying to get all those groups.
Further tests showed that there in fact is a LdapSizeLimitExceededException being thrown if I get all the objects in my AD (about 880), but with that huge AD getting all the groups didn't raise any error.

Environment

  • OS: Windows Server
  • Library version 2.7.10
  • .NET core 3.1
  • LDAP server Active Directory
@flamencist
Copy link
Owner

Hi! Please use pagination control for huge searches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants