Hi!
I try to install qmail-ldap + Fedora Directory Server using as guide the
"Full Installation guide" from www.qmail-ldap.org.
Message are delivery to accounts (smtp are ok) but can not authenticate pop3
$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK <20321.1183744228@nodo.etecsa.cu>
user hector.jacas@prueba.etecsa.cu
+OK
pass XXXXXXXXXXXXX
-ERR authorization failed
Connection closed by foreign host
$
*******************************
POP3 logs records:
@40000000468e69dc21fcc864 tcpserver: status: 1/40
@40000000468e69dc21fcdbec tcpserver: pid 7088 from 127.0.0.1
@40000000468e69dc21fce3bc tcpserver: ok 7088 0:127.0.0.1:110 :127.0.0.1::32834
@40000000468e69f013ff4d04 warning: auth_fail: user
hector.jacas@prueba.etecsa.cu failed
@40000000468e69f013ff608c warning: auth_error: authorization failed
(authorization failed, wrong password)
@40000000468e69f0141768e4 tcpserver: end 7088 status 256
@40000000468e69f01417749c tcpserver: status: 0/40
And FDS access log file record:
[06/Jul/2007:12:25:52 -0400] conn=79 fd=68 slot=68 connection from
192.168.94.58 to 192.168.94.66
[06/Jul/2007:12:25:52 -0400] conn=79 op=0 BIND dn="uid=postmaster,ou=Special
Users,dc=etecsa,dc=cu" method=128 version=3
[06/Jul/2007:12:25:52 -0400] conn=79 op=0 RESULT err=0 tag=97 nentries=0
etime=0 dn="uid=postmaster,ou=special users,dc=etecsa,dc=cu"
[06/Jul/2007:12:25:52 -0400] conn=79 op=1 SRCH base="dc=etecsa,dc=cu" scope=2
filter="(objectClass=*)" attrs=ALL
[06/Jul/2007:12:25:52 -0400] conn=79 op=1 RESULT err=0 tag=101 nentries=21
etime=0
[06/Jul/2007:12:25:52 -0400] conn=79 op=2 UNBIND
[06/Jul/2007:12:25:52 -0400] conn=79 op=2 fd=68 closed - U1
**** I try to query the directory and get a correct response:
$ ldapsearch -x -D "uid=postmaster,ou=Special Users,dc=etecsa,dc=cu" -w
XXXXXXXX -b "ou=mailAccounts,dc=etecsa,dc=cu" -s one
"(&(objectClass=qmailUser)(uid=hector.jacas@prueba.etecsa.cu))" uid qmailUID
qmailGID accountStatus mailHost mailMessageStore nohomedirectory
mailQuotaSize mailQuotaCount mailSizeMax userPassword
# extended LDIF
#
# LDAPv3
# base <ou=mailAccounts,dc=etecsa,dc=cu> with scope one
# filter: (&(objectClass=qmailUser)(uid=hector.jacas@prueba.etecsa.cu))
# requesting: uid qmailUID qmailGID accountStatus mailHost mailMessageStore
nohomedirectory mailQuotaSize mailQuotaCount mailSizeMax userPassword
#
# hector.jacas, mailAccounts, etecsa.cu
dn: cn=hector.jacas,ou=mailAccounts,dc=etecsa,dc=cu
uid: hector.jacas@prueba.etecsa.cu
accountStatus: active
mailHost: nodo.etecsa.cu
mailMessageStore: prueba.etecsa.cu/hector.jacas
mailQuotaSize: 0
mailQuotaCount: 0
userPassword:: <clave encriptada>=
=
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
This is my current test environment:
First Server (mail server)
RedHat AS 4.4 (fully updated)
qmail-1.03.tar.gz
qmail-ldap-1.03-20060201.patch.gz
ucspi-tcp-0.88.tar.gz
ucspi-tcp-ssl-20050405.patch
daemontools-0.76.tar.gz
daemontools-0.76.errno.patch
djbdns-1.05.tar.gz
djbdns-1.05.errno.patch
maildrop-1.8.1.tar.bz2
qmail-conf-0.60.tar.gz
Second Server ( Directory server)
RedHat AS 4.4 (fully updated)
fedora-ds-1.0.4-1.RHEL4.i386.opt.rpm
Any help will be greatfull
Thanks a lot,
Hector Manuel
|