Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1104822 - Users authenticated via external ldap contain no default context/location
Users authenticated via external ldap contain no default context/location
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Organizations and Locations (Show other bugs)
6.0.3
x86_64 Linux
high Severity medium (vote)
: 6.2.5
: Unused
Assigned To: Daniel Lobato Garcia
Kedar Bidarkar
http://projects.theforeman.org/issues...
: PrioBumpPM, Triaged
: 1246670 1280303 1337861 1397185 (view as bug list)
Depends On:
Blocks: GSS_Sat6Beta_Tracker/GSS_Sat6_Tracker 1122832 1287901 1353215 1394352 1456661
  Show dependency treegraph
 
Reported: 2014-06-04 14:29 EDT by Matthew Davis
Modified: 2018-07-19 09:16 EDT (History)
23 users (show)

See Also:
Fixed In Version: foreman-1.11.0.58-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1394352 (view as bug list)
Environment:
Last Closed: 2016-12-12 12:09:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1460183 None None None 2016-08-10 07:20 EDT
Red Hat Knowledge Base (Solution) 2332551 None None None 2018-02-08 05:23 EST
Red Hat Knowledge Base (Solution) 2775651 None None None 2017-07-17 19:03 EDT
Foreman Issue Tracker 16624 None None None 2016-11-23 10:29 EST
Foreman Issue Tracker 16633 None None None 2016-11-25 23:05 EST
Foreman Issue Tracker 6372 None None None 2016-04-26 13:11 EDT
Red Hat Product Errata RHBA-2016:2940 normal SHIPPED_LIVE Satellite 6.2.5 Async Bug Release 2016-12-12 17:08:21 EST

  None (edit)
Description Matthew Davis 2014-06-04 14:29:22 EDT
Upon login using an 'external' user. The user cannot do anything. I've even attempted to specify an external group, but there is no context/location settings in the external group settings.
Comment 1 RHEL Product and Program Management 2014-06-04 14:54:16 EDT
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 3 Dominic Cleal 2014-06-25 03:44:21 EDT
Created redmine issue http://projects.theforeman.org/issues/6372 from this bug
Comment 13 Bryan Kearney 2015-02-18 18:02:53 EST
Upstream bug assigned to tcaspy@redhat.com
Comment 14 Bryan Kearney 2015-08-25 13:23:57 EDT
Upstream bug component is Multi Org
Comment 15 Ohad Levy 2016-02-22 06:05:11 EST
*** Bug 1246670 has been marked as a duplicate of this bug. ***
Comment 20 Daniel Lobato Garcia 2016-08-10 06:51:54 EDT
*** Bug 1280303 has been marked as a duplicate of this bug. ***
Comment 23 Bryan Kearney 2016-09-21 04:01:38 EDT
Upstream bug assigned to dlobatog@redhat.com
Comment 24 Bryan Kearney 2016-09-21 04:01:47 EDT
Upstream bug assigned to dlobatog@redhat.com
Comment 25 Bryan Kearney 2016-09-27 06:01:42 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/6372 has been resolved.
Comment 26 Rob Marti 2016-10-12 22:53:56 EDT
Do we have any ETA for when this will land in Satellite?
Comment 27 Kedar Bidarkar 2016-12-08 14:53:58 EST
This bug is verified with Sat6.2.5 satellite-6.2.5-1.0.el7sat.noarch

Now upon trying to create a LDAP auth source, for the ldap auth source we need to specify the taxonomies ( i.e, ORG and LOC ).

After, configuring external user-groups and upon the user trying to login to sat6, the user was able to inherit the ORG and LOC from the set values of LDAP auth source.

----

Some detailed explanation from the commit which fixes this issue,

In an installation that uses taxonomies, when an user logs in for
the first time and gets its account created via LDAP, it has no
taxonomies.

This is a problem, as even if the user has all the roles it needs from
external user groups, an admin needs to manually set the taxonomies for
every new user.

This commit fixes that by assigning the taxonomies from the LDAP auth
source to the user when it logs in for the first time. It does not
update them on every login, as after the user has logged in, user
taxonomies are left to the Foreman administrator to manage.

----
Comment 29 errata-xmlrpc 2016-12-12 12:09:11 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:2940
Comment 30 Marek Hulan 2017-05-09 02:58:13 EDT
*** Bug 1397185 has been marked as a duplicate of this bug. ***
Comment 31 Tomer Brisker 2018-02-08 05:23:56 EST
*** Bug 1337861 has been marked as a duplicate of this bug. ***

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