proftpd LDAP auth failing
We recently purchased SuSE Linux Enterprise Server. After we got the thing installed, I was very surprised to find proftpd wasn't on the CDs (pre-compiled).
I compiled proftpd with mod_tls and mod_ldap, and all is well... except the LDAP.
I can log in via ftp fine as a system user. However, SuSE prefers all the auth information in LDAP. I like the idea, but unfortunately, I've never used LDAP. I know what it is, but I have never worked with it.
Here is my LDAP portion of my proftpd.conf file:
# LDAP Authentication
LDAPDNInfo ou=people,dc=domain,dc=com passwd
LDAPDoAuth on "ou=people,dc=domain,dc=com"
I have verified that the people.domain.com is where the users are located.
I have tried it without LDAPAuthBinds and without LDAPDefaultAuthScheme, with no luck.
I'm assuming 'passwd' is the password used to access the server. I don't know though.
I'm also assuming it is comparing passwords to the 'userPassword' field of the user. I have had SuSE write the passwords to that field using 'blowfish' and 'DES' (linux default), all with the same results.