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

Table of Contents

Advertisement

Examples of LDAP URLs

Examples of LDAP URLs
The following LDAP URL specifies a base search for the entry with the
distinguished name
ldap://ldap.example.com/dc=example,dc=com
The following LDAP URL retrieves the
with the DN
ldap://ldap.example.com/dc=example,dc=com?postalAddress
The following LDAP URL retrieves the
attributes of the entry for Barbara Jensen:
ldap://ldap.example.com/cn=Barbara%20Jensen,dc=example,dc=com?cn,mail,telephoneNu
mber
The following LDAP URL specifies a search for entries that have the surname
Jensen
ldap://ldap.example.com/dc=example,dc=com??sub?(sn=Jensen)
524
Netscape Directory Server Administrator's Guide • January 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=*)
and are at any level under
Because no attributes are specified, the search returns all attributes.
Because the search scope is
dc=example,dc=com
.
.
postalAddress
:
.
,
cn
mail
dc=example,dc=com
, the search encompasses the base entry
sub
and entries at all levels under the base entry.
attribute of the entry
, and
telephoneNumber
.
:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents