Bug 1280254 - The first time a user login will always fail when try to login through Active Directory User even that user group is mapped.
Summary: The first time a user login will always fail when try to login through Active...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: LDAP
Version: 6.1.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Daniel Lobato Garcia
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 10:47 UTC by DipenDevra
Modified: 2020-08-13 08:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-10 18:31:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7369 0 None None None 2017-04-12 08:55:56 UTC

Description DipenDevra 2015-11-11 10:47:51 UTC
Description of problem:-

The first time a user login will always fail when try to login through Active Directory User even that user group is mapped.

Version-Release number of selected component (if applicable):


How reproducible: Always for first time after configuring User group for Active directory authentication in satellite


Steps to Reproduce:
1). Configure Active directory User group successfully.

2). Now try to login to Satellite through Active directory user.

3). It will fail for first time, however after sometime, it will login without any issues.

4). Following command is required to run after configuring any new AD user for successful login:-

---
foreman-rake ldap:refresh_usergroups
---

It is not practical in a production environment. Alternatively, user can wait for up to 30 minutes for the cron job kicking in, which is both inconvenient and confusing.


Actual results:- Fails when try to login for first time.


Expected results: Should Login immediately after configuring new user/group.


Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:22:30 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 6 Marek Hulan 2017-04-12 08:55:56 UTC
I believe this has been fixed in Satellite 6.2, external user groups are refreshed on login.

Comment 8 Bryan Kearney 2017-07-10 18:31:10 UTC
This was delivered in 6.2. Closing this out as Current Release.


Note You need to log in before you can comment on or make changes to this bug.