Project

General

Custom queries

Profile

Actions

Bug #31165

closed

LDAP usergroup sync makes logins very slow

Added by Adam Winberg over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Checking the LDAP auth source configuration option "Usergroup Sync" ('External user groups will be synced on login, else relies on periodic cronjob to check group membership') makes logins in my environment take ~30s, compared with ~3s without the option.

The option is very useful especially when new users login, without it they won't have any expected permissions until the cron job for syncing usergroups runs. Is there any way to speed up this process? Or maybe configure it so it only runs when a new user is created?


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #25795: LDAP - When User Group sync is enabled, user wait long time to authenticate / loginClosedOndřej EzrActions
#1

Updated by Lukas Zapletal over 4 years ago

  • Status changed from New to Need more information
#6

Updated by Lukas Zapletal over 4 years ago

  • Related to Bug #25795: LDAP - When User Group sync is enabled, user wait long time to authenticate / login added
#7

Updated by The Foreman Bot over 4 years ago

  • Status changed from Need more information to Ready For Testing
  • Assignee set to Ondřej Ezr
  • Pull request https://github.com/theforeman/foreman/pull/8204 added
#8

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.4.0 added
#9

Updated by Ondřej Ezr over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF