LDAP Integration
Lightweight Directory Access Protocol (LDAP), serves as a "phone book" for networks. It offers centralized storage for usernames, passwords, and user attributes. LDAP verification is crucial for user identity and permission management, providing the fundamental mechanism for logging in with credentials.
Accessing User Federation
The User Federation module in vuSmartMaps allows access to external databases and directories, including LDAP and Active Directory.
- The User Federation page can be accessed from the platform left navigation menu by navigating to Platform Settings > User Federation.
- Upon entering the User Federation module, the landing page, when no provider is added, shows the message, “You don’t have any user federation configured. To configure one, click the ‘+ New Provider’ button.”
Read and write permissions to the Preferences module are needed to access the user federation module.
Adding a New LDAP Provider
- To add a new LDAP provider, click the + New Provider button and select LDAP.
- Provide the necessary details for adding an LDAP provider.
- General Options
- Vendor: Select LDAP Vendor (provider) – options include Active Directory, Red Hat Directory Server, Tivoli, Novell eDirectory, and Other.
- Connection and Authentication Settings:
- Connection URL: Connection URL to your LDAP Server.
- Enable StartTLS (Optional): Encrypts the connection to LDAP using StartTLS, which will disable connection pooling.
- Connection Timeout (Optional): LDAP connection timeout in milliseconds.
- Test Connection Button: Test if the connection is established.
- Bind Domain Name: Provide the Distinguished Name (DN) of the LDAP admin. IDP will use this DN to access the LDAP server.
- Bind Password: Password of the LDAP admin.
- Test Authentication Button: Test authentication with the server.
- LDAP Searching and Updating
- Users Domain Name: Specify the full DN of the LDAP tree where user data is located.
- Username LDAP Attribute: Define the LDAP attribute that is mapped as the IDP's username.
- User Object Classes: List all values of the LDAP object class attribute for users in LDAP, separated by commas.
- Synchronization Settings
- Periodic Full Sync (Optional): Enable to periodically perform a full synchronization of LDAP users to IDP.
- Full Sync Period: Period for full synchronization in seconds.
- Periodic changed users sync (Optional): Enable to periodically synchronize changed or newly created LDAP users to IDP.
- Changed Sync Period: Period for synchronization of changed or newly created LDAP users in seconds.
- General Options
- Clicking Save adds the LDAP provider to the user federation page.
The current version of vuSmartMaps supports adding only one LDAP Provider.
Enabling/Disabling LDAP Provider
On the User Federation page, a radio button allows you to enable/disable the LDAP provider.
The LDAP provider is enabled by default after the initial addition in the user federation module.
Viewing LDAP Configuration
- Clicking on the provider's name navigates you to a page displaying all LDAP-related configuration settings in the Settings tab.
- Enable/Disable LDAP Server: Toggle using the radio button.
- Sync Users: Options include Sync changed users, Sync all users, and Remove imported users.
Viewing Mapper
- Navigate to the Mapper tab to view all mappers associated with the LDAP provider.
- Click on a mapper's name to view specific details.
Editing LDAP Configuration
- To edit the LDAP configuration, click the Edit icon on the user federation page.
- Make necessary edits in the LDAP Provider settings.
Adding a New Mapper
- To add a new mapper, navigate to the Mapper tab. And click on the + New Mapper button.
- Provide all the required information related to the mapper.
- Name: Name of the mapper.
- Mapper Type: Used to map a single attribute from the LDAP user to the attribute in the identity provider database.
- User Attribute Mapper: Maps attributes from LDAP user to IDP user attributes.
- Hardcoded Attribute Mapper: Hardcode a value to a user attribute.
- Group LDAP Mapper: Maps group mappings of groups from LDAP to identity provider.
For the Group LDAP Mapper, you can set an LDAP Filter to define the common name as "Vunet-*" to ensure that only roles with the "Vunet-" prefix are imported. This helps in filtering and importing only the relevant roles specific to vuSmartMaps.
Viewing Mapper
Click on a mapper's name to view specific details.
Editing the Mapper
To edit the existing mapper, click on the Edit icon across that respective mapper and edit the configuration as required.
Deleting the Mapper
To remove the existing mapper from the user federation page, click on the Delete icon across the respective mapper. Accepting the warning by clicking on the Delete button shall remove this mapper.
Deleting LDAP Configuration
- To delete the existing LDAP configuration, click the Delete icon on the user federation landing page.
- Accept the warning message to remove the LDAP configuration.
Syncing Users with LDAP Server
You can sync users with the options available, as required.
- Sync changed users
- Sync all users
- Remove Imported Users
To view the users added by the LDAP provider, navigate to the User Management module.
When LDAP is configured and synchronization occurs, all LDAP users are imported into the system. However, by applying the Vunet-* filter to the group, only the groups with this prefix will be pulled. Additionally, in the user management module, all roles with the Vunet- prefix will be listed.
Signing in with LDAP Provider
Once successfully configured, logging in through the LDAP provider is as straightforward as a standard login, using default username/password forms for authentication.