Hi Macros,

 > Problems I discovered within:
 > a) Additional Email and Nickname doesn't show in Mozilla Address Book
 >     ( I properly changed xmozillanickname to mozillaNickname )
 > b) the schema isn't complete ( not all entries in Mozilla Address 
Book are saved )
 >     ( it saves them into attributes in inetOrgPerson objectClass, but 
Address Book doesn't show
 >     them ... -> if I _download_sources_ and apply the patch you 
recommended me, will it work ? )

as I saw from your next post, you already figured out, that if you apply 
the patch the missing attributes are showing up in the address book.

 > When I'm composing mail and specifying e-mail address there, records 
from LDAP are
 > expanded after second letter is written - is that right ?

Yes, that's right - as long as you have checked:
Preferences -> Mail & Newsgroups -> Addressing -> Address Autocompletion 
- Directory Server "MyLDAPServer"

 > How can I browse all records in LDAP via Address Book? ( It requires 
some filter to search )

I'm not totally sure what you mean. Actually there are two filters for 
LDAP.

One limits what is actually displayed in the Address Book (Preferences 
-> Mail & Newsgroups -> Addressing -> Edit Directories... -> 
"MyLDAPServer"-Edit - Advanced -> Search filter:)
You could set it to (objectclass=*) which would return all entries as 
long as you don't exceed the 'Max results' counter. Both client (default 
100) and Server are having such a limit.
To get "all" entries back from LDAP you have to enter a '*' in address 
books search filed "Name or Email contains:". Nonetheless you only get 
as much results back as limited by the 'max result' counter.

The second filter defines what attributes are used to search through 
when you make an address lookup, composing an email. I think for the 
time being it can only be set/changed by making an entry in the 
'prefs.js'-file. The entry is:
user_pref("mail.addr_book.quicksearchquery.format", 
"?(and(Department,c,*)(or(PrimaryEmail,c,@V)(DisplayName,c,@V)(FirstName,c,@V)(LastName,c,@V)(NickName,c,@V)))");
The above entry is the filter I am using for looking up addresses. It is 
extended to use the attribute Nickname too, to find a recipient. 
Somewhere at Mozilla (I currently don't know exactly where) you will 
find a documentation how this query has to look like.

Cheers
Roland


Reply via email to