Examples Of Ldap Urls - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Examples of LDAP URLs

Examples of LDAP URLs
Example 1:
The following LDAP URL specifies a base search for the entry with the
distinguished name
ldap://ldap.example.com/dc=example,dc=com
Example 2:
The following LDAP URL retrieves the
the DN
ldap://ldap.example.com/dc=example,dc=com?postalAddress
Example 3:
The following LDAP URL retrieves the
of the entry for Barbara Jensen:
ldap://ldap.example.com/cn=Barbara%20Jensen,dc=example,dc=com?cn,ma
il,telephoneNumber
526
Netscape Directory Server Administrator's Guide • May 2002
dc=example,dc=com
Because no port number is specified, the standard LDAP port number
(389) is used.
Because no attributes are specified, the search returns all attributes.
Because no search scope is specified, the search is restricted to the base
entry
dc=example,dc=com
Because no filter is specified, the directory uses the default filter
(
).
objectclass=*
dc=example,dc=com
Because no search scope is specified, the search is restricted to the base
entry
dc=example,dc=com
Because no filter is specified, the directory uses the default filter
(
).
objectclass=*
Because no search scope is specified, the search is restricted to the base
entry
cn=Barbara Jensen,dc=example,dc=com
Because no filter is specified, the directory uses the default filter
.
(objectclass=*)
.
.
postalAddress
:
.
,
, and
cn
mail
attribute of the entry with
attributes
telephoneNumber
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents