Prev | Current Page 1606 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

If the connection cannot be established, a connection to the next host in the
sequence (hostB) is tried, and if successful, the lookup is made on that host. This continues
until all connections to all hosts have failed, or until a connection can be made.
In the event that you need to specify a port for a host different from that specified by the
LDAP_PORT macro in the LDAP source, you can do so by using the -p switch
(?§23.7.11.13 on page 917) or by adding a port specification to one or more hosts. You add
a port specification to a host by appending a colon, and then the port number:
-h"hostA hostB:463"
Here, hostA is contacted on the default port, and hostB is contacted on port 463.
In general, the hosts specified should be fully qualified hostnames:
-h ldaphost ?†? not this
-h ldaphost.your.domain ?†? this is preferred
23.7.11.8 The -K ldap database-map switch (V8.14 and later)
The -K switch is optional. When used, it allows the arguments of -k to include the positional
arguments %1 through %9. For example:
-K -k gid=%2
See your LDAP documentation to learn about the special meaning of certain characters
(such as % and *) in lookup keys, and how to correctly formulate key lookup expressions.
* Note, however, that if you wish to use Unix domain sockets, your underlying LDAP library must support
Unix-domain sockets.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.


Pages:
1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618
katalog stron Tango Olsztyn gustowne meble katowice wierszyki gry strategie