When I connect and bind to an Active Directory, does the binding user account affect what directory objects are visible (queriable)?
For example, if I did LDAP bind using userA’s credentials, I can query for objects O1 and O2, but if I did LDAP bind using userB’s credentials, I can query for O2 but not for O1.
If the answer is yes, what properties govern this?
Thanks!
As marc_s said, the answer is yes. The ACL is stored in the ntSecurityDescriptor attribute of each object in the directory.
That said, by default, every user can read pretty much everything in the directory. You’ve got to do a bunch of extra work to make it so some objects don’t show up for some users.