[Dovecot] dovecot + winbind problem

Gregorics Tamás gregoricst at mmcomputer.hu
Tue Jul 3 16:37:08 EEST 2007


Problem is, the same setup works on another system, and actually this 
setup worked till yesterday, and nothing changed.

# /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap
login_dir: /var/run/dovecot//login
login_executable: /usr/lib/dovecot/imap-login
mail_extra_groups: mail
mail_location: mbox:/var/mail/.imap/%u/.imap:INBOX=/var/mail/%u
mbox_write_locks: fcntl
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd

The mail_location might be confusing first, but i made it because the 
users (from windows) don't have home directories (and they use pop3 anyway).


Timo Sirainen wrote:
> On 3.7.2007, at 11.28, Gregorics Tamás wrote:
>
>> Hi!
>>
>> I'm having some problem with our setup. I have a linux server 
>> authenticating from a win2k3 domain controller via winbind and pam. 
>> When i try to log in I receive the following error messages:
>>
>> Jul  3 10:26:10 zeusz pam_winbind[20375]: user 'tamas' granted access
>> Jul  3 10:26:10 zeusz pam_winbind[20375]: user 'tamas' OK
>> Jul  3 10:26:10 zeusz pam_winbind[20375]: user 'tamas' granted access
>> Jul  3 10:26:10 zeusz dovecot: auth(default): 
>> userdb(tamas,127.0.0.1): user not found from userdb
>
> The authentication succeeded, but your userdb setup isn't right. What 
> userdb do you use? Post dovecot -n output.
>



More information about the dovecot mailing list