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/02/21 19:09 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki