Example LDAP commands

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: To list the password policy on Sun Directory Server (confirmed working on 5.2 and later): $ '''ldapsearch -h ''LDAP_server'' -D "cn=Directory Manager" -b "cn=Password Policy,cn=config" "o...)
Line 1: Line 1:
-
To list the password policy on Sun Directory Server (confirmed working on 5.2 and later):
+
To list the password policy on Sun Directory Server 5.2 and later:
$ '''ldapsearch -h ''LDAP_server'' -D "cn=Directory Manager" -b "cn=Password Policy,cn=config" "objectClass=*"'''
$ '''ldapsearch -h ''LDAP_server'' -D "cn=Directory Manager" -b "cn=Password Policy,cn=config" "objectClass=*"'''

Revision as of 18:25, 18 September 2007

To list the password policy on Sun Directory Server 5.2 and later:

$ ldapsearch -h LDAP_server -D "cn=Directory Manager" -b "cn=Password Policy,cn=config" "objectClass=*"
Personal tools