Sun Java System Messaging Server 6.3 Administration Guide

Searching for a Several Public Keys

In the following example, the base DN defined by the -b option,,o=demo objectclass=*, is such that all public keys and certificates found at and below the base DN in the LDAP directory are returned to the file usergroup.ldif:

# ldapsearch -L -h -D "cn=Directory Manager" -w mypasswd 
-b ",o=demo" "objectclass=*" > usergroup.ldif