Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDAP connections

5 views
Skip to first unread message

split...@gmail.com

unread,
Nov 23, 2006, 7:12:31 AM11/23/06
to
Hi!

I'm working on a Thunderbird extension and like to interact with a LDAP
server, but have a hard time to get it work. I successfully searched
entries in the directory using nsILDAPSyncQuery but I can't figure out
how to modify entries on the LDAP server.

Any pointers to docs or sample code would be very appreciated.

Andi

Mark Banner

unread,
Nov 23, 2006, 9:48:08 AM11/23/06
to
split...@gmail.com wrote:
> Hi!
>
> I'm working on a Thunderbird extension and like to interact with a LDAP
> server, but have a hard time to get it work. I successfully searched
> entries in the directory using nsILDAPSyncQuery but I can't figure out
> how to modify entries on the LDAP server.

Hmm, never new about that interface. Guess I focus on the address book
too much.

> Any pointers to docs or sample code would be very appreciated.

The nsILDAPSyncQuery actually interfaces to the code in:

http://lxr.mozilla.org/seamonkey/source/directory/xpcom/base/

which is a wrapper around the LDAP C-SDK
(http://wiki.mozilla.org/LDAP_C_SDK).

Although the LDAP C-SDK has full read and write functionality, the xpcom
wrapper hasn't yet got functions for being able to write to ldap
directories (https://bugzilla.mozilla.org/show_bug.cgi?id=124897).

I'm not sure how exposed the c-sdk interfaces are, but I doubt you'd be
able to reach them easily.

Standard8

0 new messages