An attribute is
the information to the left of the = in an X.500 entry:
cn=Full Name, o=Organization, c=US
sn=Name
uid=yourname
mailfrom=youraddress
One use for this switch might be to look up an address to see whether it is associated with
a mailfrom or mailto attribute. If the address is not found, neither attribute will be returned.
Otherwise, the attribute that defines the address will be returned.
23.7.11.12 The -P ldap database-map switch
The -P switch specifies the secret password to use when authenticating the distinguished
name set by the -d switch(?§23.7.11.5 on page 915). For the simple method (see -M;
?§23.7.11.10 on page 917), this is the pathname of the file containing the secret key. For the
krbv4 method, this is the name of the Kerberos ticket file.
23.7.11.13 The -p ldap database-map switch
The -p switch specifies the port to which to connect on the LDAP server. The default port
is defined by LDAP_PORT in the LDAP source. See also the -h switch(?§23.7.11.7 on page
916) to see how a port number can be associated with individual hosts.
23.7.11.14 The -R ldap database-map switch
The -R switchis used to enable V2 and later LDAP to follow referrals. If the contacted
server does not have the information sought, it can return a referral to one or more other
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620