MailNews:LDAP Address Books: Difference between revisions

(Initial text on how to override the default LDAP Address Book schema.)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


== LDAP Logging ==
== LDAP Logging ==
We have now enabled LDAP Logging on Release builds on the trunk and the 1.8.1 branch (aka SeaMonkey 1.1.x/Thunderbird 2.0a and 2.0b)


The LDAP logging can be used to view the messages that the Address Book is sending and receiving to/from your LDAP server. We hope that this will aid debugging problems on an LDAP link.
The LDAP logging can be used to view the messages that the Address Book is sending and receiving to/from your LDAP server. We hope that this will aid debugging problems on an LDAP link.
Line 13: Line 11:
See these links for more detail:
See these links for more detail:


* [http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html Troubleshooting Mail/News]
* [[Mailnews:Logging]]
* [http://www.mozilla.org/projects/nspr/reference/html/prlog.html NSPR Logging]
 
Trunk nightlies are available from:
 
* [ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/latest-trunk/ SeaMonkey]
* [ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-trunk/ Thunderbird]
 
Branch nightlies are available from:
 
* [ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/contrib/latest-mozilla1.8/ SeaMonkey]
* [ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-mozilla1.8/ Thunderbird]


== LDAP Address Book Schema ==
== LDAP Address Book Schema ==
Line 56: Line 43:


So changing "ldap_2.servers.default.attrmap.Company" to "organization,o,company" will cause the address book when searching for Companies, to look at the "organization" attribute, and to prioritise the organization attribute when pulling out values to display.
So changing "ldap_2.servers.default.attrmap.Company" to "organization,o,company" will cause the address book when searching for Companies, to look at the "organization" attribute, and to prioritise the organization attribute when pulling out values to display.
Note: You can only use each attribute once in the prefs, i.e. you can't set both FirstName and DisplayName to "cn".


=== Overriding individual LDAP Address Book Schemas ===
=== Overriding individual LDAP Address Book Schemas ===
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628

edits