Hallo Han,
das war genau der Ansatzpunkt der mir gefehlt hat! 👍
Nov 16 06:35:05 meinHostname dovecot-auth: PAM unable to dlopen(/lib/security/pam_smbpass.so)
Nov 16 06:35:05 meinHostname dovecot-auth: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory]
Nov 16 06:35:05 meinHostname dovecot-auth: PAM adding faulty module: /lib/security/pam_smbpass.so
Nov 16 06:35:05 meinHostname dovecot-auth: PAM _pam_load_conf_file: unable to open /etc/pam.d/common-account
Nov 16 06:35:05 meinHostname dovecot-auth: PAM unable to dlopen(<*unknown module path*>)
Nov 16 06:35:05 meinHostname dovecot-auth: PAM [error: <*unknown module path*>: cannot open shared object file: Too many open files]
Nov 16 06:35:05 meinHostname dovecot-auth: PAM adding faulty module: <*unknown module path*>
Nov 16 06:35:05 meinHostname dovecot-auth: PAM error loading (null)
Nov 16 06:35:05 meinHostname dovecot-auth: PAM _pam_load_conf_file: error reading /etc/pam.d/dovecot: Critical error - immediate abort
Beim googeln bin ich auf folgenden Ubuntu-Bug gestoßen:
https://bugs.launchpad.net/ubuntu/+bug/216990.
Ist kein Samba installiert, kommt es zu dieser Fehlermeldung.
Mit dem Patch
http://launchpadlibrarian.net/13829785/pam-216990.patch bin ich etwas unsicher.
Er von anderen Usern in obigem Thread als "dangerous" bezeichnet.
Andererseits macht es wenig Sinn auf einem reinen Webserver Samba zu installieren.
Das würde das Problem auch beheben.
Pam scheint (aus meiner Sicht unsinnigerweise) die Sambapasswörter zu benutzen.
/etc/pam.d/common-auth :
auth requisite pam_unix.so nullok_secure
auth optional pam_smbpass.so migrate
Der Fehler
"error reading /etc/pam.d/dovecot"
ist mir schleierhaft.
Besitzer ist dovecot! Rechte: 750.
Was nun? ❓