[Dovecot] Dovecot and NTLM problem

Pavel Obr pavel.obr at gmail.com
Wed Sep 28 23:40:45 EEST 2011


Hallo,
i am trying setup dovecot 2.0.9 with NTLM. I tested succesfully winbind with
winbind -k, ntlm-auth with ntlm_auth --username=pavel. But I cannot
authenticate in Dovecot. My log show these lines:

Sep 28 22:16:25 srv-pat dovecot: auth: Debug: auth client connected
(pid=6002)
Sep 28 22:16:25 srv-pat dovecot: auth: Debug: client in:
AUTH#0111#011NTLM#011service=imap#011lip=192.168.7.67#011rip=192.168.100.141#011lport=143#011rport=5109
Sep 28 22:16:25 srv-pat dovecot: auth: Debug: client out: CONT#0111#011
Sep 28 22:16:25 srv-pat dovecot: auth: Fatal: execv(/usr/bin/ntlm_auth)
failed: Permission denied
Sep 28 22:16:25 srv-pat dovecot: auth: Error: winbind: ntlm_auth exited with
exit code 84
Sep 28 22:16:25 srv-pat dovecot: auth: Debug: client in:
CONT#0111#011TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA=
Sep 28 22:16:25 srv-pat dovecot: auth: Error: winbind(?,192.168.100.141):
write(out_pipe) failed: Broken pipe
Sep 28 22:16:27 srv-pat dovecot: auth: Debug: client out: FAIL#0111


Do you know what that is mean "Fatal: execv(/usr/bin/ntlm_auth) failed:
Permission denied" ? What is exit code 84 - "Error: winbind: ntlm_auth
exited with exit code 84"?

My dovecot -n:

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-131.12.1.el6.x86_64 x86_64 Scientific Linux release 6.1
(Carbon)
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain ntlm login
auth_use_winbind = yes
auth_username_format = %n
mail_home = /data/vmail/%d/%n
mail_location = mdbox:~/mail
mbox_write_locks = fcntl
passdb {
  driver = pam
}
protocols = pop3 imap lmtp
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = uid=501 gid=501 home=/data/vmail/%d/%n allow_all_users=yes
  driver = static
}


Thank you,
Pavel


More information about the dovecot mailing list