Re: [Evolution] LDAP almost working
- From: Chris Toshok <toshok ximian com>
- To: Per Thomas Jahr <Per Thomas Jahr nr no>
- Cc: evolution lists ximian com
- Subject: Re: [Evolution] LDAP almost working
- Date: Wed, 23 Jul 2003 15:48:58 -0700
The LDAP backend doesn't initially populate any view like the
file/exchange backend do. This is because the amount of records
returned, what's queryable, etc, is server side configurable. It would
be misleading to have it display an initial set, when the server could
have truncated the response.
The 0 search result code is SUCCESS, it's not the number of records
returned.
The reason the "Any Field Contains" query was relegated to the last in
the list was that we'd really rather people not use it. It generates
large queries, which some ldap servers (exchange 5.5 comes to mind)
can't deal with. The server is, however, free to just not return
results for such a query, and there's nothing evolution can do.
Autocompletion should work if you add it to the completion folders. I
use autocompletion from an openldap server here. It uses a query
similar to the Name Contains query, so you should be ok.
Chris
On Wed, 2003-07-23 at 08:05, Per Thomas Jahr wrote:
Hi,
I'm trying to get out LDAP to work with Evolution 1.4.3. I have
configured a new LDAP server so that it appears in "Other Contacts".
When I click on the new LDAP server there is a message:
"There are no items to show" (or something similar) but only for a few
seconds. Then I see one address card called "Departmer Users" - I guess
this is from our LDAP server.
What I want to see is a list of all users from LDAP.
Here is the output from wombat when I click on the LDAP server under
"Other Contacts":
searching server using filter:
(|(cn=*)(sn=*)(mail=*)(primaryPhone=*)(telephoneNumber=*)(homePhone=*)
(mobile=*)(carPhone=*)(facsimileTelephoneNumber=*)
(homeFacsimileTelephoneNumber=*)(otherPhone=*)
(otherFacsimileTelephoneNumber=*)(internationaliSDNNumber=*)
(pager=*)(radio=*)(telex=*)(assistantPhone=*)(companyPhone=*)
(callbackPhone=*)(tty=*)(o=*)(ou=*)(roomNumber=*)(title=*)
(businessRole=*)(managerName=*)(assistantName=*)(postalAddress=*)
(homePostalAddress=*)(otherPostalAddress=*)(labeledURI=*)
(displayName=*)(spouseName=*)(note=*)(anniversary=*)(birthDate=*)
(mailer=*)(fileAs=*)(category=*)(calCalURI=*)(calFBURL=*)
(icsCalendar=*))
(Wombat:11225): wombat-pas-WARNING **: search returned 0
If I search for a name I will get a list of alternatives. So that works
OK (but wombat still says 0 search results?):
searching server using filter: (|(cn=per*)(sn=per*))
(Wombat:11225): wombat-pas-WARNING **: search returned 0
But the search doesn't work if I use "Any field contains".
My search base is ou=Users,l=hq,o=NR. I have tried "sub" and "one". I
suspect that this is a problem with our LDAP server and not with
Evolution. I guess I have to solve these problems before
autocompletition will work against LDAP?
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]