retries limit (V8.12 and later)
-S ?§23.3.12 on page 890 Space replacement character.
-T ?§23.3.13 on page 890 Suffix to append on temporary failure.
-t ?§23.3.14 on page 891 Ignore temporary errors.
Table 23-15. The host database-map type K command switches (continued)
Switch ?§ Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
912 | Chapter 23: The K (Database-Map) Configuration Command
23.7.11 ldap (was ldapx)
The Lightweight Directory Access Protocol V8.8 and later
LDAP stands for Lightweight Directory Access Protocol and provides access to a service
based on X.500. Additional information about LDAP is available from:
http://www.ldapman.org/
The ldap database-map type is used to look up items in that directory service. (Prior to
V8.10, this was called ldapx to reflect its experimental condition at the time. That prior
name still works but is deprecated.) The ldap database-map type is declared like this:
Kname ldap switches
Lookups via LDAP are defined entirely by the switches specified. To illustrate, consider the
following X.500 entry:
cn=Full Name, o=Organization, c=US
sn=Name
uid=yourname
mail=yourname@mailhub.your.domain
objectclass=person
objectclass=deptperson
To look up a login name in this database and have the official email address for that user
returned, you might use a declaration such as this:
Kgetname ldap -k"uid=%s" -v"mail" -hldap_host -b"o=Organization, c=US"
Here we use only three switches:
??? Th e-k switchis in the form of an ldap_search(3) filter.
Pages:
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609