Creating LDAP group mapping
You can map LDAP groups to the groups in BMC Release Process Management. The advantage of LDAP group mapping is that, after the first login, LDAP users are automatically added to the mapped groups, and the corresponding group roles and permissions are assigned to them. Therefore, you do not have to add users to groups manually, however, the option to add users manually is still available. If there is no LDAP mapping set up, a user is automatically assigned to the default group after the first login.
In versions earlier than 5.0.03.003, LDAP group mapping is updated after the first login through the GUI. Starting from version 5.0.03.003, you can update the mapping by executing a rake task without logging through the GUI. For more information, see To update LDAP group mappings using a rake task.
Manual group assignments have higher priority than the LDAP group mapping. If you assign a user to a group manually, the assignment is not cleared. Consider the following:
To create an LDAP group mapping
- Make sure LDAP authentication is enabled.
- Navigate to System > Groups.
- Do one of the following:
- To map an LDAP group to an existing group, from the Actions column, click Edit.
- To map an LDAP group to a new group, create a group.
In Search base:
If the field is empty, enter the path to the LDAP group base.
Example: OU=SomeOrganizationUnit11, OU=SomeOrganizationUnit1, DC=example, DC=com.
- If the field is already populated, go to the next step.
In Search name, enter the name of the group, and then click Add.
Example: CN=GroupCommonName111.
The group appears in the LDAP Groups list.
Repeat this step for all LDAP groups that you want to map.- To remove a group from the LDAP Groups list, select the group, and then click Remove.
- Save your changes.
To update LDAP group mappings using a rake task
Go to RLMHome/releases/yourCurrentVersion/RPM/portal.war/WEB-INF and set the environment variable by running the following command.
./RLMHome/bin/setenv.shRun the following rake task.
jruby -S rake user:update_ldap_assigned_groups RAILS_ENV=productionPress Enter.
After the rake task is executed successfully, the following sample message is displayed.Rake started...
Following users are processed:
1) admin
3) rpmadmin
elapsed_time: 0.22 mm.ss
Detailed log is located at: C:/Program Files/BMC Software/RLM/releases/
5.0.03.003/RPM/log/update_ldap_assigned_groups.log
Related topics