NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Dovecot - Fatal: Support for passdb not compiled for driver pam ?



Hello Together
Postfix are running now without problem but i try to authenticate on SASL 
Secure mode with dovecot. devcot log telling about "Fatal: Support not compiled 
in for passdb driver 'pam'", if ask googl to search for solutions i see this 
are famous message, but sadly for me without solution.
Please and Thanks for any help
Regards
Mauri

NetBSD 5.1 (NetraX1) 

Postfix - main.cf [Snip]
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mail.caloro.ch
smtpd_helo_required = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_unauth_destination
broken_sasl_auth_clients = yes

# pkg-info - [Snip]
postfix-2.8.3       Postfix SMTP server and tools
qpopper-4.0.9nb2    Qualcomm's POP server for Eudora
dovecot-1.2.17      Secure IMAP and POP3 server
openpam-20071221    Open-source PAM library

# cat /usr/pkgsrc/mail/dovecot/Makefile |grep pam
$NetBSD: Makefile,v 1.155 2011/05/13 07:34:48 adam Exp $
CONFIGURE_ARGS+=        --with-pam

# dovecot --version
1.2.17

# dovecot --build-options
Build options: ioloop=kqueue notify=kqueue ipv6 openssl
Mail storages: cydir dbox maildir mbox raw shared
SQL drivers:
Passdb: checkpassword passwd passwd-file
Userdb: passwd passwd-file prefetch static

# cat /var/log/dovecot.log
Jun 08 10:12:50 dovecot: Info: Dovecot v1.2.17 starting up
Jun 08 10:12:50 auth(default): Fatal: Support not compiled in for passdb driver 
'pam'
Jun 08 10:12:50 dovecot: Fatal: Auth process died too early - shutting down

# cat /usr/pkg/etc/dovecot.conf
       auth default  {
          mechanisms = plain login
          passdb pam {
          }
       userdb passwd {
          }
       socket listen {
              client {
       path = /var/spool/postfix/private/auth
       mode = 0660
       user = postfix
       group = postfix
         }
      }
  }

# dovecot -n
# 1.2.17: /usr/pkg/etc/dovecot.conf
Warning: fd limit 128 is lower than what Dovecot can use under full load (more 
than 640).
Either grow the limit or change login_max_processes_count and 
max_mail_processes settings
# OS: NetBSD 5.1 sparc64
log_path: /var/log/dovecot.log
login_dir: /var/run/dovecot/login
login_executable: /usr/pkg/libexec/dovecot/imap-login
auth default:
  mechanisms: plain login
  debug: yes
  passdb:
    driver: pam
    args: *
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix

# ls -la /etc/pam.d/
total 88
drwxr-xr-x   2 root  wheel   512 Jun  8 10:08 .
drwxr-xr-x  24 root  wheel  2048 Jun  2 00:34 ..
-r--r--r--   1 root  wheel  2959 Nov  6  2010 README
-rw-r--r--   1 root  wheel   786 Nov  6  2010 display_manager
-rw-r--r--   1 root  wheel    72 Jun  6 10:08 dovecot
-rw-r--r--   1 root  wheel   660 Nov  6  2010 ftpd
-rw-r--r--   1 root  wheel   230 Nov  6  2010 gdm
-rw-r--r--   1 root  wheel   172 Nov  6  2010 imap
-rw-r--r--   1 root  wheel   230 Nov  6  2010 kde
-rw-r--r--   1 root  wheel   395 Nov  6  2010 login
-rw-r--r--   1 root  wheel   297 Nov  6  2010 other
-rw-r--r--   1 root  wheel   209 Nov  6  2010 passwd
-rw-r--r--   1 root  wheel   173 Nov  6  2010 pop3
-rw-r--r--   1 root  wheel   226 Nov  6  2010 ppp
-rw-r--r--   1 root  wheel   431 Nov  6  2010 rexecd
-rw-r--r--   1 root  wheel   379 Nov  6  2010 rsh
-rw-r--r--   1 root  wheel   820 Nov  6  2010 sshd
-rw-r--r--   1 root  wheel   611 Nov  6  2010 su
-rw-r--r--   1 root  wheel   564 Nov  6  2010 system
-rw-r--r--   1 root  wheel   478 Nov  6  2010 telnetd
-rw-r--r--   1 root  wheel   272 Nov  6  2010 xdm
-rw-r--r--   1 root  wheel   260 Nov  6  2010 xserver

# cat /etc/pam.d/dovecot
auth    required        pam_unix.so nullok
account required        pam_unix.so
-- 
NEU: FreePhone - kostenlos mobil telefonieren!                  
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index