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:
-
Go to the home page of VirtServer:
https://<virtserver-host>:<port>/virtserver#/For example, if VirtServer is installed on your local machine and you run it on the default port, use the following link:
-
Log in as an administrator.
-
Select Admin > LDAP.
-
Specify the URL of your LDAP server in the Provider URL field and select Apply:
Tip: You don't have to restart VirtServer for the change to take effect.
Check user connection
Notes
-
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.