[Dovecot] Permission problems
M. Rodrigo Monteiro
falecom at rodrigomonteiro.net
Mon Jul 21 15:20:11 EEST 2008
2008/7/19 Benny Pedersen <me at junc.org>:
>
> On Fri, July 18, 2008 19:39, M. Rodrigo Monteiro wrote:
>
> > # id vmail
> > uid=200(vmail) gid=200(vmail) grupos=200(vmail)
>
> > first_valid_uid: 201
> > last_valid_uid: 201
> > first_valid_gid: 201
> > last_valid_gid: 201
>
> 200 vs 201 ?
>
> thay must match to work
>
> --
> Benny Pedersen
> Need more webspace ? http://www.servage.net/?coupon=cust37098
>
>
Now it's 200, and it's the same error.
Why is this message "No password in reply"?
In the dovecot-info.log, the password (crypt) is the same in the OpenLDAP.
What's wrong?
# tail devecot.log
dovecot: Jul 21 09:15:08 Error: auth(default): ldap(rodrigo at seduc.ce.gov.br,
172.31.4.55): No password in reply
# tail dovedot-info.log
dovecot: Jul 21 09:15:06 Info: auth(default): client in: AUTH 1
PLAIN service=imap lip=XXX.XXX.XXX.XXX rip=XXX.XXX.XXX.XXX
lport=143 rport=1835
dovecot: Jul 21 09:15:06 Info: auth(default): client out: CONT 1
dovecot: Jul 21 09:15:06 Info: auth(default): client in: CONT 1
AHJvZHJpZ29Ac2VkdWMuY2UuZ292LmJyAHRlc3Rl
dovecot: Jul 21 09:15:06 Info: auth(default):
ldap(rodrigo at XXXXX.ce.gov.br,XXX.XXX.XXX.XXX):
pass search: base=o=mail, dc=XXXXX, dc=ce, dc=gov, dc=br scope=subtree
filter=(&(objectClass=JammMailAccount)(mail=rodrigo at XXXXX.ce.gov.br)(accountActive=TRUE)(delete=FALSE))
fields=mail,userPassword
dovecot: Jul 21 09:15:06 Info: auth(default):
ldap(rodrigo at XXXXX.ce.gov.br,XXX.XXX.XXX.XXX):
result: mail(mail)=rodrigo at XXXXX.ce.gov.bruserPassword(userPassword)={CRYPT}YZJZNkBk381gg
dovecot: Jul 21 09:15:08 Info: auth(default): client out: FAIL 1
user=rodrigo at XXXXX.ce.gov.br temp
mail=rodrigo at XXXXX.ce.gov.bruserPassword={CRYPT}YZJZNkBk381gg
# /usr/local/dovecot/sbin/dovecot -n
# 1.1.1: /usr/local/dovecot/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/imap-login
valid_chroot_dirs: /home/vmail/domains
first_valid_uid: 200
last_valid_uid: 200
first_valid_gid: 200
last_valid_gid: 200
mail_location: maildir:/home/vmail/domains/%d/%n
auth default:
user: dovecot-auth
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: ldap
args: /usr/local/dovecot/etc/dovecot-ldap.conf
userdb:
driver: ldap
args: /usr/local/dovecot/etc/dovecot-ldap.conf
Regards,
Rodrigo.
--
M. Rodrigo Monteiro
falecom at rodrigomonteiro.net
"Free as in Freedom, not free as in free beer"
Linux User # 403730
More information about the dovecot
mailing list