homehowtokbslinksaboutcontactprojectsmusic

Index > Help Tutorials > Install ProFTPD and configure for LDAP Authentication
Start with installing the package we need
apt-get install proftpd-mod-ldap
Edit the configuration file
nano /etc/proftpd/proftpd.conf
uncomment the following line and save and exit
Include /etc/proftpd/ldap.conf
Now lets tell modules to use ldap
nano /etc/proftpd/modules.conf
uncomment the following, save and exit
LoadModule mod_ldap.c
Configure ldap authentication
nano /etc/proftpd/ldap.conf
uncomment the following and adjust the to your enviornment
LDAPServer localhost
LDAPBindDN "cn=admin,dc=test,dc=nt" "test"
LDAPUsers ou=users,dc=test,dc=nt (uid=%u) (uidNumber=%u)
Now finally restart the server
service proftpd restart
try browsing to your ftp server, mine was work at this point, replace mydomain with the actuall name ftp://mydomain.com