When a user is configured with one server and role mapping is based on user attribute, everything works fine; but if the Authentication is changed in the same realm, the user under that particular realm will not be able to login.
After removing and re-adding the user in the role mapping, the user will be able to login.
For example:
- The user is initially configured with Active Directory, which is selected via user realm > servers > Authentication; select Active Directory from the drop-down menu.
- Create a Rule in role mapping with the user attribute.
- Ask the user to login and it is successful.
- Now go to the same user realm and change the Authentication server from the drop-down menu; select Radius, AD, LDAP or System local.
- Click Save Changes and the following error message is generated:
The following role mapping may break if server is changed. confirm server change then save changes to accept this change
- The above error message occurs; even when the same servers, such as Radius - Radius, radius - AD, and so on are used.
- Users will not be able to login, unless the user is removed and re-added in role mapping for the particular realm.