Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1246670

Summary: Users added automatically by Foreman do not show in Administer->Users.
Product: Red Hat Satellite Reporter: Rob Marti <rmarti>
Component: ProvisioningAssignee: Ohad Levy <ohadlevy>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, bkearney, jan.gerrit, lthomas, nshaik, ohadlevy, rmarti
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13831
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-22 11:05:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Marti 2015-07-24 20:45:57 UTC
Description of problem:
Users added by Foreman when "Automatically create accounts in Foreman" is checked (in the LDAP Authentication/Accounts area) do not show in Administer->Users.

When you run hammer user list the users that are auto-created shown.

Version-Release number of selected component (if applicable):
Satellite 6.1b (will update with Foreman version ASAP)

How reproducible:
always


Steps to Reproduce:
1. Add an external LDAP Auth source
2. Check the "Automatically create accounts in Foreman" box
3. Attempt to log in with an LDAP account
4. Note that after the attempt, looking at Administer->Users in the WebUI doesn't show the user that was created, but "hammer user list" on the CLI does.

Actual results:
Only the admin user is shown in the WebUI

Expected results:
All users are shown in the WebUI.

Additional info:

Comment 1 Ohad Levy 2015-07-26 14:17:58 UTC
This is most likely not a bug, rather then a user is currently in an Org / Location scope.

please change the context switcher (top left) to any context and assign your users to the relevant Org / Location.

Comment 2 Rob Marti 2015-07-27 14:16:48 UTC
We didn't set up any orgs/locations other than the default ones.

Is there a screenshot I can get to show that we're on the default org/location and the users aren't there?  Or some other information I can get?  I have a foreman-debug, but don't want to upload unnecessary files to the case.

Comment 3 Ohad Levy 2015-07-27 14:31:52 UTC
please try changing to any context and ensure you still can't see the users.

Comment 8 Ohad Levy 2016-02-22 10:39:52 UTC
Created redmine issue http://projects.theforeman.org/issues/13831 from this bug

Comment 9 Ohad Levy 2016-02-22 11:05:11 UTC

*** This bug has been marked as a duplicate of bug 1104822 ***

Comment 10 Bryan Kearney 2016-02-22 11:05:15 UTC
Upstream bug component is Provisioning