[jadmin] jabberd and openLdap

Kevin Blackwell akblackwel at gmail.com
Thu Feb 1 14:01:37 CST 2007


Dear Community,

I have configures jabbers. The server itself, seems to be running correctly.
The problem I'm having is with ldap authentication.

I will be more than happy to post any of the xml configuration files, but
the problem I see right now is the communication with the ldap server.

Its' definately search the ldap server, but I can't figure out why it won't
return my username. The username does exists.

If I run a search

Search DN is dc=companya,dc=com

filter (objectClass=*)

Attributes = uid

When I perform a search with those parameters it returns the whole ldap
directory. Along with my uid.

Here's the output for the logs. I can and will supply any additional
information.



Feb  1 13:56:42 ldap slapd[12574]: conn=9 op=8 SEARCH RESULT tag=101 err=0
nentries=0 text=
Feb  1 13:57:32 ldap jabberd/c2s[12966]: [6] [192.168.xxx.xxx, port=3172]
connect
Feb  1 13:57:32 ldap slapd[12574]: daemon: activity on 1 descriptor
Feb  1 13:57:32 ldap slapd[12574]: daemon: activity on:
Feb  1 13:57:32 ldap slapd[12574]:  14r
Feb  1 13:57:32 ldap slapd[12574]:
Feb  1 13:57:32 ldap slapd[12574]: daemon: read active on 14
Feb  1 13:57:32 ldap slapd[12574]: daemon: select: listen=7 active_threads=0
tvp=zero
Feb  1 13:57:32 ldap slapd[12574]: daemon: select: listen=8 active_threads=0
tvp=zero
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=2 BIND anonymous mech=implicit
ssf=0
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=2 BIND
dn="cn=Manager,dc=companya,dc=com" method=128
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=2 BIND
dn="cn=Manager,dc=companya,dc=com" mech=SIMPLE ssf=0
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=2 RESULT tag=97 err=0 text=
Feb  1 13:57:32 ldap slapd[12574]: daemon: activity on 1 descriptor
Feb  1 13:57:32 ldap slapd[12574]: daemon: activity on:
Feb  1 13:57:32 ldap slapd[12574]:  14r
Feb  1 13:57:32 ldap slapd[12574]:
Feb  1 13:57:32 ldap slapd[12574]: daemon: read active on 14
Feb  1 13:57:32 ldap slapd[12574]: daemon: select: listen=7 active_threads=0
tvp=zero
Feb  1 13:57:32 ldap slapd[12574]: daemon: select: listen=8 active_threads=0
tvp=zero
Feb  1 13:57:32 ldap slapd[12574]: begin get_filter
Feb  1 13:57:32 ldap slapd[12574]: EQUALITY
Feb  1 13:57:32 ldap slapd[12574]: end get_filter 0
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=3 SRCH
base="dc=companya,dc=com" scope=2 deref=0 filter="(uid=someusername)"
Feb  1 13:57:32 ldap slapd[12574]: => bdb_filter_candidates
Feb  1 13:57:32 ldap slapd[12574]:      AND
Feb  1 13:57:32 ldap slapd[12574]: => bdb_list_candidates 0xa0
Feb  1 13:57:32 ldap slapd[12574]: => bdb_filter_candidates
Feb  1 13:57:32 ldap slapd[12574]:      OR
Feb  1 13:57:32 ldap slapd[12574]: => bdb_list_candidates 0xa1
Feb  1 13:57:32 ldap slapd[12574]: => bdb_filter_candidates
Feb  1 13:57:32 ldap slapd[12574]:      EQUALITY
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_filter_candidates: id=0 first=0
last=0
Feb  1 13:57:32 ldap slapd[12574]: => bdb_filter_candidates
Feb  1 13:57:32 ldap slapd[12574]:      EQUALITY
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_filter_candidates: id=0 first=0
last=0
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_list_candidates: id=0 first=0
last=0
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_filter_candidates: id=0 first=0
last=0
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_list_candidates: id=0 first=1
last=0
Feb  1 13:57:32 ldap slapd[12574]: <= bdb_filter_candidates: id=0 first=1
last=0
Feb  1 13:57:32 ldap slapd[12574]: conn=10 op=3 SEARCH RESULT tag=101 err=0
nentries=0 text=
Feb  1 13:57:32 ldap jabberd/c2s[12966]: [6] [192.168.xxx.xxx, port=3172]
disconnect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070201/263475cb/attachment.html


More information about the JAdmin mailing list