Re: [Evolution] Connecting to LDAP address book



Hi Steve:

Well, I am definitely not an LDAP expert, but here's the little I do know.  Forgive me if this is
too basic.

ldapsearch -x <filter>

will connect you to the default LDAP server in your ldap.conf file (mine is located at
/etc/ldap/ldap.conf).  The default LDAP server is specified by the "host z.z.z.z" parameter or the
"uri ldap://z.z.z.z/"; parameter.

A simple filter is "cn=scott*"

If I don't provide a filter, ldapsearch -x returns the all the object classes in the database.  So
getting nothing is a bad sign.  Have you tried asking your work LDAP admin to give you the right
settings for the ldap.conf file?  I'm not sure what all the settings do in mine, so I am not much
help.

Scott

--- Bone Down <bone down powertripz com> wrote:


---------------------------------
    Scott,

Hello, what should my ldap.conf file look like? I am able to connect tomy work ldap (so it seems),
but I am not able to actually perform asearch (well I can perform one, just no results).

I tried typing ldapsearch -x  within shell and nothing, also triedldapsearch my.server.name.here
-x, with no results.

This is about the only thing that I have not been able to figure out sofar within evolution.

Steve

Scott Anderson wrote:  
Karim:Some other questions:Can you use this LDAP server under other applications?Does ldapsearch
-x work?I had similar problems with evolution connecting to an LDAP server, but it was incorrect
settingsin my ldap.conf file.  Once I figured them out, I was able to connect much better.Scott---
Bone Down <bone down powertripz com> wrote:---------------------------------    Karim,What version
of Evolution are you running?Iam running 2.4.1 and when I set mine up it did the same thing to
meover and over again.I had to reboot twice after the intial setup and then the error wentaway.My
problem is now it appears to connect, however when I do a search fora name in the ldap contactlist
I get no information displayed and thesearch takes less than a second to complete, and thecompany
has around3,000 email addresses.Try rebooting, if this does not work the first time, delete and
re-setthe ldap, then on the addessbook properties window ==> display tab==> click on find possible
search bases, if that returnsinformationselect it (means that you are at the least talking to the
ldap server(and this is faras I have been able to get with mine)).SteveKarim Ratib wrote:Hi all, 
I'm trying to create an LDAP address book, without success. Afterentering the LDAP server info
inthe Address Book Properties, I get anuninformative error telling me:  "Error Loading Address
Book: We were unable to open this addressbook.This either means you haveentered an incorrect URI,
or the LDAP serveris unreachable."  Any hints on how I can troubleshoot this issue?  TIA,Karim   
---------------------------------_______________________________________________Evolution-list
mailinglistEvolution-list gnome orghttp://mail.gnome.org/mailman/listinfo/evolution-list    
      
_______________________________________________Evolution-list mailing
listEvolution-list gnome orghttp://mail.gnome.org/mailman/listinfo/evolution-list    
    
__________________________________________________Do You Yahoo!?Tired of spam?  Yahoo! Mail has
the best spam protection around http://mail.yahoo.com
_______________________________________________Evolution-list mailing
listEvolution-list gnome orghttp://mail.gnome.org/mailman/listinfo/evolution-list  



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]