I have a problem with smtp_auth.

I can't autenticate my users.
The log sys that the userPassword attribute doesn't exists.

The Log:
/service/smtp/log/mail/current

@4000000040b68445163f59c4 qldap_bind: successful
@4000000040b68445164d964c qldap_lookup: search for (&(objectClass=qmailuser)
(uid=danilo)) succeeded
@4000000040b68445164f057c qldap_get_attr(accountStatus): active
@4000000040b68445164f5f54 qldap_get_attr(userPassword): no such attribute
@4000000040b684451653fb04 warning: auth_fail: user danilo failed
@4000000040b684461763155c authentication failed: authentication failure
@4000000040b68446176328e4
@4000000040b6844a17895654 qmail-smtpd 16922: read error or connection closed

---------------------------------------------------------------------------------------------------------------------
but the userPassword attribute exists,


file smtp/run:

#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
export QMAILQUEUE;
exec 2>&1 \
envdir ./env \
sh -c '
� � case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
� � case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac
� � exec \
� � envuidgid qmaild \
� � softlimit ${DATALIMIT+"-d$DATALIMIT"} \
� � /usr/local/bin/tcpserver \
� � � � -vDU"$H$R" \
� � � � ${LOCALNAME+"-l$LOCALNAME"} \
� � � � ${BACKLOG+"-b$BACKLOG"} \
� � � � ${CONCURRENCY+"-c$CONCURRENCY"} \
� � � � -xtcp.cdb \
� � � � -- "${IP-0}" "${PORT-25}" \
� � /var/qmail/bin/qmail-smtpd \
� � /var/qmail/bin/auth_smtp \
� � /bin/true
'


Can anyone help me ?

Thanks!!

Reply via email to