Em Qui 27 Mai 2004 22:53, voc� escreveu: > On Thu, May 27, 2004 at 10:27:47PM -0300, [EMAIL PROTECTED] wrote: > > 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, > > This is probably because you're not querying the LDAP database as an > administrator: > ldapsearch (&(objectClass=qmailuser)(uid=danilo)) userPassword -x > should return nothing as you're binding as an anonymous user and they do > not have access to that particular field. > > Under /var/qmail/control you should have the following two files: > ldaplogin > ldappassword > check to see if that's the Manger username and password. > > Chris
Thanks, The problem was in ldappasswd file, the password was correct but i had to change the permissions of the ldappasswd file. The permission was 600, with the owner and the group root, and I changed to 644 and it works, but what are the corrects ? I have other question too. How can I set my qmail-ldap to send autenticated emails only ? thanks! -- -- Atenciosamente, Danilo Prevides
