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

vsftpd und ldap



Hallo,

wie soll korrekt die Datei /etc/pam.d/vsftpd aussehen um Benutzer
gegen LDAP zu authentifizieren?
Ich habe schon vieles ausprobiert.

Jetzt sieht es so aus:

#/etc/pam.d/vsftpd

@include common-account
@include common-session
@include common-auth
#auth   required        pam_shells.so

auth            sufficient      /lib/security/pam_ldap.so use_first_pass
password        sufficient      /lib/security/pam_ldap.so try_first_pass


in /vor/log/auth steht

Mar 29 16:25:04 srv1 vsftpd: pam_unix(vsftpd:auth): authentication
failure; logname= uid=0 euid=0 tty=ftp ruser=lala rhost=*.153.195.*
user=lala


Das System ist LDAP basiert.

Die Benutzer können sich per SSH einloggen.

-- 
Best Regards
Vlad Vorobiev


Reply to: