linux:misc:ldapsearch

Query ldap from bash

Use ldap-utils.

 ldapsearch -x -h 192.168.10.10 -D "user@example.com" -W -b "cn=users,dc=example,dc=com" -s sub "(cn=+)" cn mail sn
Enter your comment:
T E J C V
 
  • linux/misc/ldapsearch.txt
  • Last modified: 2019-10-31 09:05
  • (external edit)