System Administration Guide: Network Services

Changes for LDAP From Version 8.12 of sendmail

The following list describes changes in the use of the Lightweight Directory Access Protocol (LDAP) with sendmail.

The following example shows how these tokens differ for a “*” lookup.

Table 14–29 Comparison of Tokens

LDAP Map Specification 

Specification Equivalent 

Result 

-k"uid=%s"

-k"uid=*"

Matches any record with a user attribute 

-k"uid=%0"

-k"uid=\2A"

Matches a user with the name “*

The following table describes additional LDAP map flags.

Table 14–30 Additional LDAP Map Flags

Flag 

Description 

-1

Requires a single match to be returned. If more than one match is returned, the results are the equivalent of no records being found. 

-r never|always|search|find

Sets the LDAP alias dereference option. 

-Z size

Limits the number of matches to return.