Wednesday, February 22, 2012

LDAP Search


LDAP Search AD
ldapsearch -x -LLL -E pr=200/noprompt -h ad01.ibm.net -D "wasadssoadm@ca.ibm.net" -w xxxxxxx -b "DC=ibm,DC=net" -s sub "(cn=Howard*)"

 LDAP Search Openldap
ldapsearch -x -LLL -E pr=200/noprompt -h ldap.goweekend.ca -b "dc=plan,dc=goweekend,dc=ca" -s sub "(&(cn=Arthur*)(ldapperm=cacti))"

Solaris:
 ldapsearch -x -h ldap.goweekend.ca -b "dc=plan,dc=goweekend,dc=ca" -s sub "(&(cn=Arthur*)(ldapperm=cacti))"