Re: Address Book generation of dn field.

Anton Bobrov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
i guess it depends on what exactly you gonna be doing with that
write-access support, i mean how far you wanna take it. if its
the same user modifying its own entry then you already have dn
and if you wanna add new entries / new users you gonna have to
figure out where to add them to and hence your dn question here
i guess. i would take dn of the user you already bound as for
this [user provided thru prefs] so it gives you the right form
that is likely to be taken well by the server straight away.

Mark Banner wrote:
> I have been looking at what it will take to implement write-access to 
> LDAP directories within the Mozilla Address Book (SeaMonkey & Thunderbird).
> 
> One of the areas that I have to work out a resolution for, is what 
> should the dn field consist of?
> 
> For instance, currently my local LDAP server is set up so that dn is:
> 
> dn: cn=Users Common Name,dc=intranet
> 
> The address book currently exports it as:
> 
> dn: cn=Users Common Name,mail=Users Primary Email
> 
> So, what should I set the dn to? Is there any real standard? What do 
> other servers/clients do in these instances?
> 
> Thanks in advance
> Standard8
> _______________________________________________
> dev-tech-ldap mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-ldap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.