[Dovecot] REQ: Dovecot Authentication Problem with PAM
Hi , I have a problem with Authentication.I don't no, where is the problem,Can anyone help me undestand this problem. Thanks in Advance here is some files: The configuration file dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap pop3 login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login debug: yes debug_passwords: yes passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /etc/postfix/private/auth mode: 432 user: postfix group: postfix master: ############################################### here is log file /var/mail/mail.log Oct 17 13:18:00 animal dovecot: Dovecot v1.0.rc15 starting up Oct 17 13:18:40 animal dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=127.0.0.1^Irip=127.0.0.1^Iresp=AHRlc3R1c2VyQGNoZWZzLW9ubGluZS5kZQBmaW5kdXMwNQ== Oct 17 13:18:42 animal dovecot: auth(default): pam(testuser@blabla.de,127.0.0.1): pam_authenticate() failed: User not known to the underlying authentication module Oct 17 13:18:43 animal dovecot: auth(default): client out: FAIL^I1^Iuser=testuser@blabla.de Oct 17 13:20:08 animal dovecot: imap-login: Aborted login: user=<testuser@blabla.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Oct 17 13:23:13 animal dovecot: pop3-login: Aborted login: rip=88.198.25.52, lip=192.168.3.2 Oct 17 13:34:14 animal dovecot: pop3-login: Disconnected: Inactivity: rip=88.198.25.52, lip=192.168.3.2 Oct 17 13:44:13 animal dovecot: pop3-login: Disconnected: Inactivity: rip=88.198.25.52, lip=192.168.3.2 #################################################################################### here is log file /var/log/auth.log Oct 17 13:18:40 animal dovecot-auth: (pam_unix) check pass; user unknown Oct 17 13:18:40 animal dovecot-auth: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1 ############################################################################ here is the configuration file for PAM /etc/pam.d/dovecot #%PAM-1.0 auth required pam_unix.so nullok account required pam_unix.so ################################
Kraneis
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
On Fri, 2008-10-17 at 16:04 +0200, Selim Kraneis wrote:
Oct 17 13:18:42 animal dovecot: auth(default): pam(testuser@blabla.de,127.0.0.1): pam_authenticate() failed: User not known to the underlying authentication module .. Oct 17 13:18:40 animal dovecot-auth: (pam_unix) check pass; user unknown
This really looks like you don't have testuser@blabla.de in your system's passwd/shadow files. Do you really even want such system users? Sounds more like you'd want to use virtual users.
participants (2)
-
Selim Kraneis
-
Timo Sirainen