Querying an LDAP server with AIX ldapsearch

ldapsearch -b DC=deadlycoffee,DC=com -h ldapserver -D CN=”James T. Kirk,OU=USSENT01,OU=FEDERATION,DC=deadlycoffee,DC=com” -w “$PASSWORD” “(sAMAccountName=jtk*)”

Make sure you use the same CN that you find with this Windows graphical tool:

Browser

Leave a Reply

Your email address will not be published. Required fields are marked *