Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to connect a Thunderbird addresbook to an OpenLDAP server. It seems to authenticate ok but no results appear in the addressbook. This is what I get from the logs:
Aug 12 12:04:36 server slapd: conn=1018 fd=14 ACCEPT from IP=xx.xx.xx.xx:65161 (IP=0.0.0.0:389)
Aug 12 12:04:36 server slapd: conn=1018 op=0 BIND dn="cn=Manager,dc=domainname,dc=tld" method=128
Aug 12 12:04:36 server slapd: conn=1018 op=0 BIND dn="cn=Manager,dc=domainname,dc=tld" mech=SIMPLE ssf=0
Aug 12 12:04:36 server slapd: conn=1018 op=0 RESULT tag=97 err=0 text=
Aug 12 12:04:36 server slapd: conn=1018 op=1 SRCH base="ou=TBabook,dc=domainname,dc=tld" scope=2 deref=0 filter="(objectClass=*)"
Aug 12 12:04:36 server slapd: conn=1018 op=1 SEARCH RESULT tag=101 err=0 nentries=2 text=
Aug 12 12:04:38 server slapd: conn=1018 op=2 UNBIND
Aug 12 12:04:38 server slapd: conn=1018 fd=14 closed
I just analyzed my Thunderbird-OpenLDAP session with wireshark, and it shows an ideal conversation! Here's an outline:
T bindRequest(1) "cn=Manager,dc=domainname,dc=tld" simple
O bindResponse(1) success
T searchRequest(2) "ou=TBabook,dc=domainname,dc=tld" wholeSubtree
O searchResEntry(2) "ou=TBabook,dc=domainname,dc=tld"
O searchResEntry(2) "cn=John User,ou=TBabook,dc=domainname,dc=tld"
O searchResEntry(2) "cn=Jane User,ou=TBabook,dc=domainname,dc=tld"
O searchResDone(2) success
I also browsed the contents of responses deeper, and all the expexted data is there. So my server works ok, what could be wrong with Thunderbird that it shows nothing it had received in address book?
The last time I used Thunderbird with OpenLDAP, Thunderbird would import the contacts but it did NOT automatically display them all. You had to do a search, and then it would display matching entries. I believe you could even search for "space" (i.e. hit the space bar and then search).
Try that, just to rule out a bug (or working as designed but not how you'd like) issue with Thunderbird.
You're right, THANK YOU! Just a minute ago I found that ~/.thunderbird/7757lfgb.default/ldap.mab actually contains the contacts from my LDAP server, so I began to think there must be kinda trick. And here's your answer. Nightmare has come to an end
Thank you, really!