Configure LDAP Connection

Applies to VirtServer 3.21.0, last modified on June 11, 2024

LDAP (Lightweight Directory Access Protocol) is a protocol that allows accessing directory services. In particular, directories can store information about users, such as their usernames and passwords. This means that an LDAP service can be used as a central place for authentication: users can access multiple services using nothing but their LDAP credentials.

VirtServer supports connection with LDAP services. This way, the admin doesn't have to create any users on VirtServer: they will simply log in using their LDAP credentials.

Set up LDAP connection

To connect your VirtServer with your LDAP server:

  1. Go to the home page of VirtServer:


    For example, if VirtServer is installed on your local machine and you run it on the default port, use the following link:

  2. Log in as an administrator.

  3. Select Admin > LDAP.

  4. Specify the URL of your LDAP server in the Provider URL field and select Apply:

    Setting up LDAP connection

    Click the image to enlarge it.

    Tip: You don't have to restart VirtServer for the change to take effect.
Check user connection

To check if a user can connect to VirtServer using LDAP, enter their credentials in the Check Connection section of the LDAP tab and click Check Connection:

Checking LDAP connection

Click the image to enlarge it.


  • Users who log in to VirtServer using LDAP initially do not have administrator permissions.

  • Once a user logs in using an LDAP account, they will appear in the Users list. From there, an administrator can edit their info and give them administrator permissions.

  • You can use LDAP and regular login methods on the same VirtServer instance.

  • If a user wants to log in using LDAP and there is already a non-LDAP user with the same login on the server, they won't be able to. To solve this issue, delete the non-LDAP user.

See Also

Manage VirtServer Users

Highlight search results