Pure-ftpd + ldap
Hello,
I'm trying to configure pure-ftpd on one server with ldap back ended. The server is running but when I try to ftp in from a windows machine (using CuteFTP) it fails This is the error in /var/log/messages: Code:
Aug 29 23:41:52 document pure-ftpd: (?@myIP) [INFO] New connection from 79-113-210-139.rdsnet.ro Code:
Connected to document.speranta.eu. Code:
LDAPServer localhost Thank You. |
Did you changed the user's default shell to /bin/false?
I've had a similar issue before of having an ftp user failed login even though it was the right passwd! In my case, the default log in shell had to be changed to /bin/false/ (with a forward slash at the end). |
Hi alpha01,
I didn't change. A few more details the server is PDC with samba. And I can connect to the server with that user. Now, if I change user's default shell to /bin/false can I log again on server and on domain ? As I know from my experience (not very big) I can't. Thank you. |
Quote:
|
Hi alpha01,
I changed shell in ldap to /bin/false (to the user) and still no ftp Code:
Sep 3 07:12:46 document pure-ftpd: (?@myIP) [INFO] New connection from myIP Thank you. |
Hi alpha01,
I fixed :)) I changed Code:
LDAPBaseDN cn=Users,dc=speranta,dc=eu Code:
LDAPBaseDN dc=speranta,dc=eu |
All times are GMT -5. The time now is 11:49 AM. |