Prev | Current Page 1601 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

4.19 on page 119). Also note that the USING_
NETSCAPE_LDAP compile-time macro (?§3.4.74 on page 150) will need to be defined if
your ldap libraries are from Netscape or are derived from Netscape??™s libraries.
23.7.11.1 LDAP default schema for aliases includes recursion
As of V8.13, the default schema for alias lookups using LDAP has been changed to include
LDAP recursion support. Recall that you declare alias lookups with LDAP like this:
define(`ALIAS_FILE??, `ldap:??)
This causes aliases to be looked up using LDAP and the following default schema:
ldap -k (&(objectClass=sendmailMTAAliasObject)
(sendmailMTAAliasGrouping=aliases)
(|(sendmailMTACluster=${sendmailMTACluster})
(sendmailMTAHost=$j))
(sendmailMTAKey=%0))
-v sendmailMTAAliasValue,
sendmailMTAAliasSearch:FILTER:sendmailMTAAliasObject,
sendmailMTAAliasURL:URL:sendmailMTAAliasObject
Note that sendmail macros (like $j) are not expanded when the default schema is first
defined. Rather, they are expanded each time an LDAP lookup is performed.
In the event you wish to use your own schema rather than the default, you may do so by
appending it to ldap: when defining ALIAS_FILE:
define(`ALIAS_FILE??, `ldap:-k (&objectClass=mg)(mail=%0) -v mmember??)
Here, we replaced the long, recursive default schema shown earlier with a much shorter
and nonrecursive schema of our own design.


Pages:
1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613
zakłady bukmacherskie swiat hotele londyn stolarka aluminiowa częstochowa ranking przeglądarek