User Tools

Site Tools


tech:misc:ldap_lookup

Lookup in LDAP.

/oracle/app/oracle/product/10.2.0.1.0/bin/ldapsearch -L -h <host> -p <port> -D <user> -w <pass> -b <point in LDAP Tree> -s sub <key> <list of fields>
/oracle/app/oracle/product/10.2.0.1.0/bin/ldapsearch -L -h ldap.somewhere.com -p 389 -D cn=root -w a_password -b  "cn=Accounts,o=Services,dc=comewhere,dc=com" -s sub "(uid=00000001)"

or

-s sub "(objectclass=Person)"
tech/misc/ldap_lookup.txt · Last modified: 2024/06/21 12:04 by 127.0.0.1