Well, after using Ethereal to see the parameters sent during the transaction, it does work, I can browse the LDAP database. The problem now is that LDAP access seems to be read only and I'd like to be able to add new contacts to the directory from Thunderbird, is this possible? and is this secure to be done through Internet?

Thanks,
Abraham

Brett Schroeder escribió:

The OpenLDAP client is *not* needed on the machine running T-bird - do something like the following to convince yourself that t-bird does *not* require the ldap client

grep -i ldap /var/db/pkg/mail-client/mozilla-thunderbird-1.0.6-r2/{,R,P}DEPEND

All the work is in setting up the server. Thunderbird itself requires only a few simple pieces of info.

See this

http://www.mozilla.org/projects/thunderbird/specs/ldap.html

and here's some more links (somewhat dated now but they get you thinking in the right direction)

http://collingrady.com/2004/07/02/moz-ldap/
http://www.topology.org/comms/ldap.html

The best way to get this working (as is the case for any client-server software) is to use ethereal/tcpdump to capture the network requests made by t-bird. Then you will see exactly what requests are being sent to & from the server. This requires that you understand the protocol and how your server has implemented it

http://www.ietf.org/rfc/rfc2251.txt
http://www.openldap.org/doc/admin23/

LDAP schemas & servers are way too much fun ;-)

Brett

Ralph Slooten wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Abraham,

I have been looking at LDAP myself for ages now, but understand almost
nothing of it ;-) Anyways, your (first) mail got me thinking to test it
myself again. I hit the same brick wall you did. It seems that the
current thunderbird does *not* support LDAP at all (although it does
present it as an option). I tried from an example on a website (to test
with their ldap), aswell as random "off-my-head" values but it does not
append it to the address book.

Maybe it's a thunderbird bug, I don't know (I haven't looked yet)?

All I'm doing here is confirming your problem, not solving it (although
I would be interested if there is a solution) ;-) Maybe it requires
openldap to be installed (I only installed it so far on my server, not
workstation)?

Greetings
Ralph

Abraham Marín Pérez wrote:

Hi everyone:

  I recently had some problems sharing my contacts with more than one
mail client, so I decided to run a local LDAP server. I emerged OpenLDAP
and checked it with phpLDAPadmin. I can browse server's database and
add/remove/modify contacts with phpLDAPadmin, but I can't connect to it
with a mail application; I tried both Evolution and Thunderbird and I
got nothing.

  The one I care the most is Thunderbird. I tried to add a link to the
server from the Address Book: FILE -> NEW -> LDAP DIRECTORY; I typed
what I think is the right parameters and tried, but nothing happened. Am
I doing anything wrong?

Thanks,
Abraham


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC/2RoCt0ZF9kLPvYRAstoAJ9/ihBTodPdb2kyYzgaVPIuO3nJvgCdECS9
wUCsVBdH5EsfmYUTsvCplqI=
=818N
-----END PGP SIGNATURE-----


--
gentoo-user@gentoo.org mailing list

Reply via email to