Bug #25795

Updated by Ondřej Ezr over 5 years ago

Description of problem: 
 Currently, there is a feature called User Group sync, so when enabled, Foreman Satellite will bind the external Auth Source and will try to match the user on User Group already defined on the Sat side. If match, the system will assign automatically the role related and on the fly / first login, the login page will be according to the roles. 

 This feature works fine when the account is member of few groups, but when we are talking about a huge number of groups *this happens all the time* the login process can spend a long time to conclude. 

 Version-Release number of selected component (if applicable): 
 1.20.x 6.3.x 

 How reproducible: 

 Steps to Reproduce: 
 1. Configure the LDAP Auth 
 2. Create the user on AD 
 3. Create a bunch of groups on AD *like 100* 
 4. Add the user on all groups 
 5. Login on the Foreman via webUI with the User Group Sync enabled 

 Actual results: 
 Spend a long time to conclude the process/check and login. 

 Expected results: 
 Be faster then today. 

 Additional info: