Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual page 610

Table of Contents

Advertisement

Examples of LDAP URLs
ldap://ldap.example.com/dc=example,dc=com
H
H
H
H
Example 2:
The following LDAP URL retrieves the
the DN
ldap://ldap.example.com/dc=example,dc=com?postalAddress
H
H
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?c
n,mail,telephoneNumber
H
H
Example 4:
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)
H
H
610
Red Hat Directory Server Administrator's Guide • May 2005
Because no port number is specified, the standard LDAP port number
(
) is used.
389
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
:
.
,
, and
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 with
attributes
telephoneNumber
.
:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents