How to testing LDAP Tivoli Directory Server on AIX
How to testing LDAP Tivoli Directory Server on AIX
Pattern
ldapsearch -h "hostname" -p 389 -D "CN=Administrator,CN=Users,DC=lab,DC=local" -w password -b "CN=Users,DC=lab,DC=local" CN=*
Notes
hostname ->>>LDAP host name or IP
-D --> Distinguished name to access the LDAP
-p --> password
-b --> base entiry in LDAP
Example
bash-4.4# /opt/IBM/ldap/V6.3/bin/ldapsearch -x -v -h 'localhost' -p 389 -D 'CN=root' -w '?' -b "CN=root" CN=*
Enter password ==>
Result
ldap_init(localhost, 389)
filter pattern: CN=*
returning: ALL
filter is: (CN=*)
ldap_search: No such object
0 matches
bash-4.4#
Tidak ada komentar :
Posting Komentar