Skip to main content

Add New LDAP Server

PK Protect provides the ability to add a new LDAP Server for Dynamic Masking. To add server details, click Add New LDAP Server tab on the LDAP Servers screen.


The Add LDAP Server Configuration screen will appear. Follow the below steps to configure LDAP server:

  1. LDAP Source Name: Enter a unique name for each LDAP server. This is a mandatory field.

  2. LDAP URL: Enter a unique LDAP IP address.

  3. Domain:  Enter a unique LDAP domain.

  4. Username: Enter the username of the LDAP user.

  5. Password: Enter the password of the LDAP user.

  6. Base DN: Enter the unique LDAP group area or organization unit.

  7. Group Search Phrase: Enter the search phrase for the user groups. This field is used as a search filter for importing the user groups.

    For an instance, if you want to search for a group name ‘Documentation’  such that objectClass=group and cn=documentation, apply the search filter in order to import the user group details either by specifying (&(objectClass=group)(cn=documentation))or(&(objectClass=group)(cn=*documentation*))

    This search filter will import the group “documentation” from the user groups. This filter will work only if the group with the given object class exists i.e., “cn”, otherwise the user groups won't be imported.

  8. User Search Phrase: Enter the user search phrase in this field to import the users. You can use this filter to import a particular user from the group and not all the users.

    For an instance, If you want to import john.dawn@abc.com from a group, then you can apply the search filter as: (&(objectClass=user)(cn=*john*))  or you can also provide exact cn details in the search filter as: (&(objectClass=user)(cn=john.dawn@abc.com)).

    This search filter will import the user “John” from the user groups. This filter will work only if the group with the given object class exists i.e., “cn”, otherwise the user groups won't be imported.

  9. Principal Key: Enter the principal key for the LDAP Server. A principal key is a set of secret keys that is encrypted with either a shared or a private master key.

  10. Check Set as Default option to set the LDAP Server Configuration as the default configuration for all the LDAP servers.

  11. Using Advanced Filter Details panel, you can set the advanced settings for LDAP Server Configuration. Following is the list of advanced settings:

    1. Active Directory: Set the value to Yes if LDAP account is a Windows Active Directory, otherwise No.

    2. Member of User Search: Set the value to Yes if the MemberOf attribute is in the OpenLDAP Server, otherwise No. This attribute specifies the groups that users are associated with.

    3. Email as Username: Set the value to Yes if you want to import user’s email address as the username. If value is set to No, it imports the username attribute from AD as the username. By default, the value is set to No. For example, john.dev@qanet.dom is the email address where “john.dev” will be set as username.

    4. Click Save to save the changes, else click Cancel.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.