How to configure LDAP users

Background

LDAP (Lightweight Directory Access Protocol) is a protocol used to access and manage directory information services over a network. These directories can store information about users, groups, and other resources, making LDAP a popular choice for authentication and directory lookups in organizations.

Configuration of the LDAP authenticator involves setting up the LDAP server details, user credentials, and query parameters to authenticate users. The form allows you to specify these settings and test the login credentials.

Configuring LDAP in CompleteFTP

LDAP authentication can be configured in the General User Settings dialog, accessed from the Users panel. The LDAP authenticator must be enabled and configured via the 'Configure' link shown below:

Clicking the 'Configure' link will bring up the LDAP Configuration dialog.

LDAP Configuration

LDAP Configuration Fields

Valid User-Names

For security reasons, user names must not contain certain special characters that could be used in LDAP injection attacks. The following characters are prohibited: \ * ( ) / + & | = ! > < ~ - , ; ' " `.

Example User DN Queries

Testing the LDAP Configuration

Once LDAP has been configured and applied to the server, use the test login fields to validate the configuration. Enter a test username and password, then click 'Test login'. If the test is successful, the LDAP configuration is correct. If there are errors, check the LDAP server details and query parameters.

Default User Settings

Users authenticated via LDAP are subject to the settings of the "defaultExtension" user, which may be found in the Users panel. The administrator may enable specific protocols or settings for LDAP user connections.