[Dovecot] "LDAP: No username in reply" error

Jim Canon jcanon at yaw.org
Sat Jun 18 16:25:25 EEST 2005


Hi All,

I am using the latest Dovecot stable with Fedora Core 4. I am trying to 
use it with LDAP, but I am getting the following error in my mail log 
when I attempt to check my mail:

Jun 18 09:12:24 relm dovecot-auth: LDAP: No username in reply
Jun 18 09:12:24 relm imap-login: Internal login failure: yaw at yaw.org 
[192.168.1.20]

Here is the slapd log:

Jun 18 08:28:12 setzer slapd[1956]: conn=37 op=36 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=yaw at yaw.org))"
Jun 18 08:28:12 setzer slapd[1956]: conn=37 op=36 SRCH attr=uid 
userPassword
Jun 18 08:28:12 setzer slapd[1956]: conn=37 op=36 SEARCH RESULT tag=101 
err=0 nentries=1 text=
Jun 18 08:28:12 setzer slapd[1954]: conn=37 op=37 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=yaw at yaw.org))"
Jun 18 08:28:12 setzer slapd[1954]: conn=37 op=37 SRCH attr=uid 
homeDirectory uidNumber gidNumber
Jun 18 08:28:12 setzer slapd[1954]: conn=37 op=37 SEARCH RESULT tag=101 
err=0 nentries=1 text=
Jun 18 08:28:12 setzer slapd[1952]: conn=566 fd=21 closed
Jun 18 08:28:12 setzer slapd[1953]: conn=37 op=38 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=yaw at yaw.org))"
Jun 18 08:28:12 setzer slapd[1953]: conn=37 op=38 SRCH attr=uid 
userPassword
Jun 18 08:28:12 setzer slapd[1953]: conn=37 op=38 SEARCH RESULT tag=101 
err=0 nentries=1 text=
Jun 18 08:28:12 setzer slapd[1957]: conn=37 op=39 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=yaw at yaw.org))"
Jun 18 08:28:12 setzer slapd[1957]: conn=37 op=39 SRCH attr=uid 
homeDirectory uidNumber gidNumber
Jun 18 08:28:12 setzer slapd[1957]: conn=37 op=39 SEARCH RESULT tag=101 
err=0 nentries=1 text=
Jun 18 08:28:12 setzer slapd[1952]: conn=565 fd=18 closed
Jun 18 08:28:13 setzer slapd[1952]: conn=568 fd=18 ACCEPT from 
IP=192.168.1.3:54510 (IP=0.0.0.0:389)
Jun 18 08:28:13 setzer slapd[1955]: conn=568 op=0 BIND 
dn="uid=ispman,ou=admins,o=ispman" method=128
Jun 18 08:28:13 setzer slapd[1955]: conn=568 op=0 BIND 
dn="uid=ispman,ou=admins,o=ispman" mech=SIMPLE ssf=0
Jun 18 08:28:13 setzer slapd[1955]: conn=568 op=0 RESULT tag=97 err=0 text=
Jun 18 08:28:13 setzer slapd[1956]: conn=568 op=1 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=dovecot))"
Jun 18 08:28:13 setzer slapd[1956]: conn=568 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jun 18 08:28:13 setzer slapd[1956]: conn=568 op=2 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixGroup)(memberUid=dovecot))"
Jun 18 08:28:13 setzer slapd[1956]: conn=568 op=2 SRCH attr=gidNumber
Jun 18 08:28:13 setzer slapd[1956]: conn=568 op=2 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jun 18 08:28:13 setzer slapd[1952]: conn=569 fd=21 ACCEPT from 
IP=192.168.1.3:54511 (IP=0.0.0.0:389)
Jun 18 08:28:13 setzer slapd[1953]: conn=569 op=0 BIND 
dn="uid=ispman,ou=admins,o=ispman" method=128
Jun 18 08:28:13 setzer slapd[1953]: conn=569 op=0 BIND 
dn="uid=ispman,ou=admins,o=ispman" mech=SIMPLE ssf=0
Jun 18 08:28:13 setzer slapd[1953]: conn=569 op=0 RESULT tag=97 err=0 text=
Jun 18 08:28:13 setzer slapd[1953]: conn=569 op=1 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixAccount)(uid=dovecot))"
Jun 18 08:28:13 setzer slapd[1953]: conn=569 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jun 18 08:28:13 setzer slapd[1955]: conn=569 op=2 SRCH base="o=ispman" 
scope=2 filter="(&(objectClass=posixGroup)(memberUid=dovecot))"
Jun 18 08:28:13 setzer slapd[1955]: conn=569 op=2 SRCH attr=gidNumber
Jun 18 08:28:13 setzer slapd[1955]: conn=569 op=2 SEARCH RESULT tag=101 
err=0 nentries=0 text=


I can supply more information if needed. I'm not actually sure what the 
error message means.

Any ideas?

Thanks,
Jim




More information about the dovecot mailing list