[pamldap] FTP doesn't work for non local accounts

Andreas Hasenack andreas at conectiva.com.br
Tue Feb 15 12:52:12 UTC 2005


On Tue, Feb 15, 2005 at 12:14:32PM +0400, Andrew Afliatunov wrote:
> Hello!
> On my Linux Slackware-9.1 server I installed nss_ldap and pam_ldap in 
> order to Windows Active Directory users could use pop, imap and ftp on 
> the server, authenticating in AD.
> Everything worked fine while accounts where in /etc/passwd, - users 
> could authenticate for those services in AD.
> But then I removed accounts from linux system. Now users can use pop, 
> imap, but can not connect through ftp.
> proftpd.log says:
> --
> ... no such user '<user>'
> --
> Why ftp doesn't see users in ldap, when pop, imap do? Maybe something 
> wrong in the next files?

Add this to proftpd.conf:
PersistentPasswd off

Quick description:
"If set to On, proftpd will attempt to open the system-wide /etc/passwd,
/etc/group (and /etc/shadow, potentially) files itself, (...)"

More at http://www.proftpd.org/docs/directives/linked/config_ref_PersistentPasswd.html




More information about the Pam-list mailing list