thatsreal n00b
Joined: 26 Oct 2004 Posts: 73
|
Posted: Wed Jun 15, 2005 2:39 pm Post subject: vsftp vs. ldap |
|
|
Hi,
wie bekomme ich es hin, dass vsftp ldap-user kann?
Meine /etc/pam.d/vsftp:
Code: |
# Standard behaviour for ftpd(8).
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
# Note: vsftpd handles anonymous logins on its own. Do not enable
# pam_ftp.so.
# Standard blurb.
@include common-account
@include common-session
@include common-auth
auth required pam_shells.so
|
und meine /etc/pam.d/ftp:
Code: |
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth sufficient pam_ldap.so
auth required pam_unix.so shadow nullok try_first_pass
# This is disabled because anonymous logins will fail otherwise,
# unless you give the 'ftp' user a valid shell, or /bin/false and add
# /bin/false to /etc/shells.
#auth required pam_shells.so
account sufficient pam_ldap.so
account required pam_unix.so
session required pam_unix.so
|
Diese Dateien müssten doch eigentlich richtig sein, aber wenn ich mich anmelden will, bekomme ich nur ein "Login Failed." an den Kopf geschmissen.
Danke,
thatsreal _________________ IBM Thinkpad T42: Centrino 1.5ghz, 512mb, ati rm7500, 30gb |
|