[Date Prev][Date Next] [Chronological] [Thread] [Top]

PAM LDAP FTP (OT ??)



Hi, I don't know if this question is out-offtopic...

I'm setting up ftp (proftpd) authenticate thru PAM on Linux Debian.
I'm installing:
- openldap
- pam-ldap
- proftpd
- ssh
- libnss-ldap

My /etc/pam.d/ftp:

--- snip snip ---
#%PAM-1.0
auth		sufficient		pam_ldap.so
auth		required		pam_listfile.so item=user
sense=deny file=/etc/ftpuser onerr=succeed
auth		required		pam_unix.so	shadow nullok
use_first_pass
account	sufficient		pam_ldap.so
account	required		pam_unix.so
session	sufficient		pam_ldap.so
session	required		pam_unix.so
--- snip snip ---

The ssh authentication work fine, but the ftp doesn't work.