Re: [gentoo-user] Thunderbird and local LDAP server
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
Re: [gentoo-user] Thunderbird and local LDAP server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Excellent.. Never thought of or even looked in use.desc for a +ldap USE flag... That's it !! case solved :-) thanks, Peter Bryce Verdier wrote: emerge -vp mozilla-thunderbird These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] mail-client/mozilla-thunderbird-1.0.6-r2 -debug +gnome +ipv6 +ldap -mozcalendar -moznoxft +truetype -xinerama -xprint 32,584 kB You probably just needed to add the +ldap to your USE variable. b. Peter van Eck wrote: Here is a problem that I've been facing for a while too ;-( Adding an LDAP server in Thunderbird, basically all Mozilla releases from 1.x.x. and up were giving the same result ..You add the LDAP server and it will not show up in the end.No errors or anything .. In my case the LDAP server in question is, Netscape's / Sun Iplanet.. I tested on different machines with different versions of X and window managers...all on gentoo..same result.. I ended up using Netscape 7.2 which did work .. Now I've recently installed the thunderbird-bin package from portage and guess what .. IT WORKS !!! I tried the source package ..and no luck.,..You would start to think that it is not compiled in building from source on gentoo. I did'nt look into it in detail though , so can't really make a statement on that.. Just my experience with LDAP / Mozilla... rgds, Peter 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.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAZYWqgi3rzPHNR8RAhm5AJ9Nb07NKEGZRjbtRKZpXpUU2DZ6vACfRkd5 x4rbETnPWpm81aky7Y0o184= =t0RX -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Thunderbird and local LDAP server
It must be a different problem since Thunderbird is indeed compiled with ldap support enabled, in fact, I also have Evolution (also compile with +ldap) and can't access my local ldap server either; I guess my problem is not related with Thunderbird but with the server itself. I'll try again following Brett's links, thank you all anyway. Regards, Abraham Bryce Verdier escribió: emerge -vp mozilla-thunderbird These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] mail-client/mozilla-thunderbird-1.0.6-r2 -debug +gnome +ipv6 +ldap -mozcalendar -moznoxft +truetype -xinerama -xprint 32,584 kB You probably just needed to add the +ldap to your USE variable. b. Peter van Eck wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is a problem that I've been facing for a while too ;-( Adding an LDAP server in Thunderbird, basically all Mozilla releases from 1.x.x. and up were giving the same result ..You add the LDAP server and it will not show up in the end.No errors or anything .. In my case the LDAP server in question is, Netscape's / Sun Iplanet.. I tested on different machines with different versions of X and window managers...all on gentoo..same result.. I ended up using Netscape 7.2 which did work .. Now I've recently installed the thunderbird-bin package from portage and guess what .. IT WORKS !!! I tried the source package ..and no luck.,..You would start to think that it is not compiled in building from source on gentoo. I did'nt look into it in detail though , so can't really make a statement on that.. Just my experience with LDAP / Mozilla... rgds, Peter 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.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAE1xqgi3rzPHNR8RApdDAJ0VPU9jfblrSdsbZNV5nTykLTLanACfcExv njEytzw6aGtuVEEFniI07Ek= =/qJD -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Thunderbird and local LDAP server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is a problem that I've been facing for a while too ;-( Adding an LDAP server in Thunderbird, basically all Mozilla releases from 1.x.x. and up were giving the same result ..You add the LDAP server and it will not show up in the end.No errors or anything .. In my case the LDAP server in question is, Netscape's / Sun Iplanet.. I tested on different machines with different versions of X and window managers...all on gentoo..same result.. I ended up using Netscape 7.2 which did work .. Now I've recently installed the thunderbird-bin package from portage and guess what .. IT WORKS !!! I tried the source package ..and no luck.,..You would start to think that it is not compiled in building from source on gentoo. I did'nt look into it in detail though , so can't really make a statement on that.. Just my experience with LDAP / Mozilla... rgds, Peter 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.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAE1xqgi3rzPHNR8RApdDAJ0VPU9jfblrSdsbZNV5nTykLTLanACfcExv njEytzw6aGtuVEEFniI07Ek= =/qJD -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list