[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap evolution address book



Hello List!
I am very new to openldap and I set it up to use it as an address book for
email clients.
Later on even maybe to auth against it, too. We  will see.. :P


grep -v "^#" /usr/local/etc/openldap/slapd.conf
include         /usr/local//etc/openldap/schema/core.schema
include         /usr/local//etc/openldap/schema/nis.schema
include         /usr/local//etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema


pidfile         /usr/local//var/run/slapd.pid
argsfile        /usr/local//var/run/slapd.args

database        bdb

suffix         "dc=my-domain,dc=com"
rootdn         "cn=Manager,dc=my-domain,dc=com"

rootpw          xxxxx
allow bind_v2
directory       /usr/local//var/openldap-data
index   objectClass     eq
# ----- end of sldap.conf -------



My Database looks like this:
dc=my-domain,dc=com
	ou=addressbook
		cn=Mario Test
		cn=test test 



"cn=test test" looks like this:
-------------------------------------
dn:cn=test test,ou=addressbook,dc=my-domain,dc=com
cn: test test
givenName: test
sn: test
o: 97
l: 987
postalCode: 0879087
street: 0907907
telephoneNumber: 987987
facsimileTelephoneNumber: 9087987
mobile: 907
mail: wqerq@cwrwe.de
objectClass: top
objectClass: inetOrgPerson


Now when i open up evolution, and i press "Show supported search bases" i
get "dc=my-domain,dc=com" as a result.
So i am using "ou=addressbook,dc=my-domain,dc=com" as the search base.
I am expecting evolution now to display the two address entries in the
contact list, which it doesn't.

What worries me is this: "=> send_search_entry: dn=""" in the logs.

Here is some debug log output:
-----------------------------------
daemon: read activity on 10
connection_get(10): got connid=2
connection_read(10): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
ber_get_next on fd 10 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=2 dn="" method=128
send_ldap_result: conn=2 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 10
do_bind: v2 anonymous bind
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 10r
daemon: read activity on 10
connection_get(10): got connid=2
connection_read(10): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 53 contents:
ber_get_next
ber_get_next on fd 10 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
=> send_search_entry: dn=""
ber_flush: 52 bytes to sd 10
<= send_search_entry
send_ldap_result: conn=2 op=1 p=2
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 10
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 10r
daemon: read activity on 10
connection_get(10): got connid=2
connection_read(10): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 10 failed errno=0 (Success)
connection_read(10): input error=-2 id=2, closing.
connection_closing: readying conn=2 sd=10 for close
connection_close: deferring conn=2 sd=10
do_unbind
connection_resched: attempting closing conn=2 sd=10
connection_close: conn=2 sd=10
daemon: removing 10
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL


Do you need more informations? Did i explaing everything ok?

Thanks, Mario

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info