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 Jul 3 10:26:10 zeusz dovecot: imap-login: Internal login failure: user=<tamas>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured But when i try other services which also use winbind via pam (like popa3d) i can log in without any problem. Any ideas?
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 userdbThe authentication succeeded, but your userdb setup isn't right. What userdb do you use? Post dovecot -n output. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070703/bd958c0d/attachment-0002.bin>
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. >