All rights reserved.
918 | Chapter 23: The K (Database-Map) Configuration Command
servers that might have the information. With this -R switchspecified, sendmail will follow
referrals until either the information sought is found, or no more referrals are given. The -R
switchcan be used only if sendmail was compiled withth e LDAP_REFERRALS compiletime
macro defined.
23.7.11.15 The -r ldap database-map switch
The -r switchspecifies how LDAP aliases are dereferenced. In LDAP, you can set a leaf
entry (suchas ou=hardware) to point to another object in the same name space (such as
ou=engineering). This is called an alias entry. When you perform a lookup using an alias,
the alias is dereferenced so that what is returned is the value of the object pointed to by the
alias. For example, if your company once had two departments:
ou=hardware
ou=software
and those departments were merged into a single one called ou=engineering, you could
achieve backward compatibility by turning the two, old leaf entries into aliases pointing to
the new one. When sendmail encounters an LDAP alias it has four choices that are reflected
by four possible, case-insensitive settings for the -r switch: never means to not follow
aliases and instead to return a failed lookup; always means to follow aliases (the default);
search means to perform a lookup first and to follow an alias only if the lookup succeeded;
and find means to follow an alias only if all attributes match (that is, for example, the alias
"cn=x, ou=y" won??™t be followed if only ou= is looked up).
Pages:
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621