I’m trying to list all users within an LDAP directory for an audit, but I’m not sure how to construct an LDAP query for this purpose. Are there any standard LDAP queries that can retrieve user account information or list all user entries in the directory?
If there are specific search filters or base DNs to include in the query to narrow down user results, I’d like some guidance on structuring this type of LDAP search.