Hi,
Following links also for your reference:
https://theitbros.com/ldap-query-examples-active-directory/
https://tylersguides.com/guides/search-active-directory-ldapsearch/
https://www.windows-active-directory.com/active-directory-ldap.html
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Best Rergards,