To use a ReadyAPI floating license, you need to assign this license to the users you created on the license server. Instead of creating users manually, you can get information on them from the Lightweight Directory Access Protocol (LDAP) server that is available to you. This topic explains how you can do this.
Support for LDAP was introduced in Protection! Licensing Server ver. 4.9.0. If you have an earlier version, you need to update your Licensing Server application. For information on how to get a newer version, see Installing Protection! Licensing Server.
LDAP stands for Lightweight Directory Access Protocol. LDAP servers store information about network users. Protection! Licensing Server can retrieve this information from an LDAP server. After you assign a floating license to a user group with LDAP members, they will be able to get the license when they log in to their computers under their domain accounts.
To make this integration work, you need to set up a connection to your LDAP server and specify the directory the server will use for synchronization. See below.
Note that the Licensing Server does not import LDAP users. That is, it does not create user accounts based on the information it gets from the LDAP server. When a user requests a license, the Licensing Server checks if the user has an account in the LDAP directory. If the check passes, the Licensing Server provides the license to the user.
This means that you can use any LDAP server management tool to manage LDAP members in your network (for example, Active Directory Users and Computers if you use Microsoft Active Directory), and that there is no need to synchronize the changes in the Licensing Server. Users can check out the license right after you add them to the LDAP directory, and they cannot do this once you remove them from the directory.
1. Create an LDAP connection
Start the Management Console of Protection! Licensing Server. In the Management Console, open the License Storage tab:
From the main menu, select Edit > LDAP Connection:
In the subsequent LDAP Connection dialog, specify the URL to your LDAP server and the required credentials:
The Licensing Server supports only basic authentication.
By default, the Licensing Server uses port
389. If your LDAP server uses another port, specify the URL in the
Click Test to verify the specified connection.
2. Configure the user group
Now you need to add users from the LDAP directory to some user group on the Licensing Server:
In the Management Console, open the License Storage tab:
Select Edit > License User Groups from the main menu:
Select the desired group and click Edit.
On the General tab, make sure the Host and IP Address edit boxes are empty:
Open the LDAP Members tab and check the Fetch Members from LDAP Directory option:
In the DN edit box, specify the name of the directory from which you want to get users:
You can click Test to verify the obtained users.
Leave the other settings unchanged and click OK.
You have bound the Licensing Server’s user group to the LDAP directory. Now you need to assign your license to the Licensing Server’s user group.
3. Assign the license to the user group in the license manager
After you bind a user group in the Licensing Server to an LDAP directory, the users that belong to this directory can check out floating licenses from the Licensing Server. However, in order for them to be able to do that, you need to assign your license to the Licensing Server’s user group. You do this in the Licensing Server Management Console. For details, see Assign License to Users.