John Marmion wrote:
>Can you give me some more details on this.
>
I'm using Mozilla (CVS source fetched after 0.9.4).
Using autocomplete prefs UI:
LDAP autocomplete barely works when entered through prefs UI. "Barely",
because only the very first keystrokes in a given compose window seem to
trigger an LDAP lookup. I didn't meneger to autocomplete 2 LDAP
addresses in the same mail.
When I open the Addres Book, no entry for the LDAP server appears in the
list of address books on the right (above the sidebar). (I will from now
on refer to that as "LDAP server does [not] appear in address book".)
Using prefs.js:
When I manually enter prefs similar to the following (without using the
LDAP autocomplete prefs UI):
user_pref("ldap_2.autoComplete.directoryServer",
"ldap_2.servers.Localatmyhost");
user_pref("ldap_2.autoComplete.useDirectory", true);
user_pref("ldap_2.prefs_migrated", true);
user_pref("ldap_2.servers.Localatmyhost.description", "Localatmyhost");
user_pref("ldap_2.servers.Localatmyhost.dirtype", 777);
user_pref("ldap_2.servers.Localatmyhost.filename", "Localatmyhost.mab");
user_pref("ldap_2.servers.Localatmyhost.position", 2);
user_pref("ldap_2.servers.Localatmyhost.replication.lastChangeNumber", 0);
user_pref("ldap_2.servers.Localatmyhost.uri",
"moz-abldapdirectory://myhost.my.domain:389/dc=bucksch.org,dc=com?(or(DisplayName,bw,ben)(PrimaryEmail,bw,ben))");
I get "LDAP server connection failed" when doing autocomplete and no
LDAP server appears in the address book. I tried values of position from
1-3.
Sorry, if any of that is filed already, but BugZilla is down.
>The position 'x' must be set to next available position.
>
Does it start at 0 or 1?How do I find the "next available position"? Do
personal and history address books count? I see no other
"ldap_2.servers.xxx.position " in my prefs.js.
>Let me know how you get on. If you have the LDAP AutoComplete working then
>you should be able to create an LDAP Address Book.
>
How so, given that the uri schemes are completely different?