> From: Ben Bucksch <[EMAIL PROTECTED]>
> 
> Dan Mosedale wrote:
> 
> >[EMAIL PROTECTED] (Ben Bucksch) writes:
> >
> >>Yes, groupOfNames, I think. At least, 4.x exported mailing lists to that 
> >>and OpenLDAP didn't complain whem importing it .).
> >>
> >Bug 90483 is opened on this.  One question that comes to mind is if we
> >want to support this, what domain-name should be appended to the cn of
> >the entry?  The default user domain name will often be wrong.  Perhaps
> >this needs to be specified as part of the LDAP prefs?
> >
> You mean to form the dn? 4.x used the same as for the normal Person 
> entries, e.g.
> cn=All Netscape Employees, ou=People, dc=bucksch, dc=com
> if "dc=bucksch,dc=com" is my base dn. And, yes, the latter definitely 
> should be, and is already, part of the prefs.
> 
> BTW: In case anyone cares, I managed to get an LDAP server server 
> running here locally. But I had no luck getting the build at 
> <http//abzilla.mozdev.org> to list the entires in its Address Book.
> 

Ben,

Can you give me some more details on this. It should be possible to
display the entries with Mozilla now. The build at abzilla.mozdev.org
adds the UI patch 83023 but is not necessary to create the LDAP Address
Book. This functionality has been available since milestone 0.9.3.

So, if we start with Mozilla now, you need to manually edit the prefs.js
file typically with the following:

user_pref("ldap_2.servers.myldap.description", "myldap");
user_pref("ldap_2.servers.myldap.dirType", 777);
user_pref("ldap_2.servers.myldap.position", x);
user_pref("ldap_2.servers.myldap.uri", 
"moz-abldapdirectory://myldap_server_name:389/dc=bucksch,dc=com?(or(DisplayName,
bw,ben)(PrimaryEmail,bw,ben))");


The dirType must be set to 777. The position 'x' must be set to next available 
position. The "myldap_server_name" gets replaced with your ldap server name.

After 83023 goes in, you only need the base dn as #83023 creates the Search
String. For example:

user_pref("ldap_2.servers.myldap.uri","moz-abldapdirectory://myldap_server_name:
389/dc=bucksch,dc=com");

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.


------------------------------------------------------
[EMAIL PROTECTED]
Sun Microsystems Ireland
Boole House, East Point Business Park, Dublin 3
Ph: +353 1 819 9235 
------------------------------------------------------

Reply via email to