Category Archives: LDAP

Getting around Active Directory search size limit via ldapsearch

ldapsearch -E pr=500/noprompt -v -x -LLL -h host:port -D account -w password -b “DC=base,DC=dn” -s sub “(objectClass=user)” -E pr=500/noprompt : 500 results per page, no prompt -E pr=1000/prompt : 1000 results per page, show prompt Source: Getting around Active Directory … Continue reading

Posted in LDAP, Linux | Leave a comment

Get SSL cert file from the LDAP Server

Ref. stackoverflow: How to save the LDAP SSL Certificate from OpenSSL echo -n | openssl s_client -connect ldapServer:636 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > ldapserver.pem

Posted in LDAP | Leave a comment

[LDAP] Port information.

Global Catalog port: 3268 Normal LDAP port: 389

Posted in LDAP | Leave a comment