Страница 1 из 1

не работает dovecot+pam_winbind

Добавлено: 2012-10-20 14:53:44
Electronik
Помогите разобраться уже неделю голову ломаю.
Настроил eixim+dovecot+pam_winbind.
Но не могу зайти с почтового клиента по imap протоколу.
В логах вот что

Код: Выделить всё

 auth: pam_winbind(dovecot): user 'vasia' granted access

Код: Выделить всё

Oct 20 14:49:32 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): lookup service=dovecot
Oct 20 14:49:32 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:32 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] ENTER: pam_sm_authenticate (flags: 0x0000)
Oct 20 14:49:32 srv06 auth: pam_winbind(dovecot): getting password (0x00000001)
Oct 20 14:49:32 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:32 srv06 auth: pam_winbind(dovecot): request wbcLogonUser succeeded
Oct 20 14:49:32 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] LEAVE: pam_sm_authenticate returning 0 (PAM_SUCCESS)
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client passdb out: FAIL     13      user=vasia
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client in: AUTH     14      LOGIN   service=imap    session=iZMbNHzMvgDAqGQ1        lip=192.168.40.6        rip=192.168.100.53      lport=143       rport=1726
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client passdb out: CONT     14      VXNlcm5hbWU6
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client in: CONT     14      dmFzaWE=
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client passdb out: CONT     14      UGFzc3dvcmQ6
Oct 20 14:49:34 srv06 dovecot: auth: Debug: client in: CONT     14      MTU5NzUz
Oct 20 14:49:34 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): lookup service=dovecot
Oct 20 14:49:34 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:34 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] ENTER: pam_sm_authenticate (flags: 0x0000)
Oct 20 14:49:34 srv06 auth: pam_winbind(dovecot): getting password (0x00000001)
Oct 20 14:49:34 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:34 srv06 auth: pam_winbind(dovecot): request wbcLogonUser succeeded
Oct 20 14:49:34 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] LEAVE: pam_sm_authenticate returning 0 (PAM_SUCCESS)
Oct 20 14:49:36 srv06 dovecot: auth: Debug: client passdb out: FAIL     14      user=vasia
Oct 20 14:49:36 srv06 dovecot: auth: Debug: client in: AUTH     15      PLAIN   service=imap    session=iZMbNHzMvgDAqGQ1        lip=192.168.40.6        rip=192.168.100.53      lport=143       rport=1726      resp=AHZhc2lhADE1OTc1Mw==
Oct 20 14:49:36 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): lookup service=dovecot
Oct 20 14:49:36 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:36 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] ENTER: pam_sm_authenticate (flags: 0x0000)
Oct 20 14:49:36 srv06 auth: pam_winbind(dovecot): getting password (0x00000001)
Oct 20 14:49:36 srv06 dovecot: auth-worker(5875): Debug: pam(vasia,192.168.100.53): #1/1 style=1 msg=Password:
Oct 20 14:49:36 srv06 auth: pam_winbind(dovecot): request wbcLogonUser succeeded
Oct 20 14:49:36 srv06 auth: pam_winbind(dovecot): [pamh: 0x12232180] LEAVE: pam_sm_authenticate returning 0 (PAM_SUCCESS)
Oct 20 14:49:38 srv06 dovecot: auth: Debug: client passdb out: FAIL     15      user=vasia

Код: Выделить всё

Oct 20 14:49:25 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)
Oct 20 14:49:27 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)
Oct 20 14:49:29 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)
Oct 20 14:49:32 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)
Oct 20 14:49:34 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)
Oct 20 14:49:36 srv06 dovecot: auth-worker(5875): pam(vasia,192.168.100.53): pam_authenticate() failed: authentication error (password mismatch?) (given password: 111111)

Код: Выделить всё

 id vasia
uid=1000(vasia) gid=1005(domain users) groups=1005(domain users)
Подскажите плиз куда копать.

Re: не работает dovecot+pam_winbind

Добавлено: 2013-03-02 12:46:34
Alex Keda
странно....
файлики в pam.d - все на месте?