Prev | Current Page 1607 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

All rights reserved.
23.7 Alphabetized Database-Map Types | 917
23.7.11.9 The -k ldap database-map switch
The -k switch is mandatory. It is used to specify the key to look up. The lookup key is in
the form of an ldap_search(3), which can be simple:
-k uid=%s
or complex (note that we split the line to fit the page):
-k (&(objectClass=sendmailMTAClass)(sendmailMTAClassName=ClassName)
(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j)))
See your LDAP documentation to learn about the special meaning of some characters (such
as % and *) in lookup keys, and how to correctly formulate key lookup expressions.
23.7.11.10 The -M ldap database-map switch
The -M switch specifies the method to use for binding. It can be one of three caseinsensitive,
literal expressions that specify the method: none, simple, or krbv4. Or it can be
any of these with an LDAP_AUTH_ prefix. If it is any other expression or word, the following
error is printed and logged when sendmail starts:
Method for binding must be [none|simple|krbv4] (not bad word) in map name
The default method is none, which means anonymous access to LDAP. This switch is
optional. See also the -P switch(?§23.7.11.12 on page 917) for simple and krbr4, and the -d
switch (?§23.7.11.5 on page 915) for simple only.
23.7.11.11 The -n ldap database-map switch
The -n switchis used to limit the returned information to attributes only.


Pages:
1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619
Wczasy nad morzem oferty spa Spa Ciechocinek kolokacja rack zamykanie naczynek bielsko