LDAP Support
You can store all the user information in your LDAP server. In this case the user object will be stored in LDAP as java object. Here the assumption is that the java object schema is available (RFC 2713). This user manager has been tested using OpenLDAP.
Configuration Parameters
Configuration Parameter | Description |
---|---|
config.user-manager.class | org.apache.ftpserver.usermanager.LdapUserManager |
config.user-manager.admin | FTP server administrator name. This is not LDAP administrator. It is the FTP server administrator. The default value is admin. |
config.user-manager.ldap-url | LDAP URL (eg. ldap://localhost:389) |
config.user-manager.ldap-admin-dn | LDAP administrator (eg. cn=Directory Manager) |
config.user-manager.ldap-admin-password | LDAP administrator password |
config.user-manager.ldap-authentication | LDAP server authentication type. The default value is simple. |
config.user-manager.ldap-user-base-dn | LDAP server root where all users are stored (eg. ou=people,o=yoursite.com). |
This user manager assumes that the LDAP server supports java schema. That is javaObject objectClass and javaClassName attribute are available in the LDAP schema.