Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1456661 - [RFE] [6.3] Describe how to set the initial location or organization for LDAP users
Summary: [RFE] [6.3] Describe how to set the initial location or organization for LDAP...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Server Administration Guide
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Michaela Slaninkova
QA Contact: Russell Dickenson
URL:
Whiteboard:
: 1348677 (view as bug list)
Depends On: 1104822
Blocks: 1486095
TreeView+ depends on / blocked
 
Reported: 2017-05-30 06:11 UTC by Andrew Dahms
Modified: 2020-09-10 10:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-30 12:56:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Dahms 2017-05-30 06:11:38 UTC
Red Hat Satellite 6.3 adds the ability to assign a location or organization to LDAP users so that this assignment is available on initial login. The Server Administration Guide must be updated to include the relevant steps.

Comment 1 Andrew Dahms 2017-07-13 05:47:57 UTC
From the release notes for Foreman 1.14 -

Organization/location assignment for LDAP users

Users created from an LDAP authentication source can now be assigned organizations and locations on their first login. First assign the organizations/locations to the LDAP authentication source via Administer > LDAP authentication and then on their subsequent first login, the user will be created and assigned the same orgs/locations. This ensures they have access to resources by default.

Comment 2 Andrew Dahms 2017-07-13 05:49:51 UTC
Upstream tracker -

http://projects.theforeman.org/issues/6372

Comment 3 Andrew Dahms 2017-07-13 05:52:37 UTC
Assigning to Misha for review.

Comment 4 Daniel Lobato Garcia 2017-07-14 12:03:56 UTC
https://github.com/theforeman/theforeman.org/commit/4d7cc29c00b90c9ed8ce3cf9cf4389bd19a5554a contains the changes to the manual upstream

In the UI, this is noticeable as creating a new Auth Source LDAP (under Administer > Auth Source LDAP), will show two tabs "Locations" and "organizations". 

These tabs contain the locations/organizations to be applied to newly created users that login using that LDAP connection. 

It primarily fixes the problem that in 6.2, people could login and have an account automatically created by LDAP, the account would have the proper roles, but an administrator had to add this new user to organizations/locations manually. Now it's automatic

Comment 10 Daniel Lobato Garcia 2017-08-29 10:12:52 UTC
Michaela,

Yes, this feature was cherry-picked to 6.2.

Comment 13 Andrew Dahms 2017-12-11 01:51:40 UTC
Updating the target milestone to reflect the time frame in which this work was completed.

Comment 14 Daniel Lobato Garcia 2017-12-20 16:19:49 UTC
*** Bug 1348677 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.