Examples of LDAP URLs

Because no attributes are specified, the search returns all attributes.

Because the search scope is sub, the search encompasses the base entry dc=example,dc=com and entries at all levels under the base entry.

Example 5.

The following LDAP URL specifies a search for the object class for all entries one level under dc=example,dc=com:

ldap://ldap.example.com/dc=example,dc=com?objectClass?one

Because the search scope is one, the search encompasses all entries one level under the base entry dc=example,dc=com. The search scope does not include the base entry.

Because no filter is specified, the directory uses the default filter (objectclass=*).

NOTE

The syntax for LDAP URLs does not include any means for specifying credentials or passwords. Search requests initiated through LDAP URLs are unauthenticated, unless the LDAP client that supports LDAP URLs provides an authentication mechanism.

575

Page 595
Image 595
HP UX Red Hat Direry Server Software manual Examples of Ldap URLs, 575