RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 906951 - Config option for POSIX schema
Summary: Config option for POSIX schema
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: realmd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Stef Walter
QA Contact: David Spurek
URL:
Whiteboard:
: 984201 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-02 00:30 UTC by Dmitri Pal
Modified: 2015-03-02 05:27 UTC (History)
4 users (show)

Fixed In Version: realmd-0.13.90-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:08:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 906951 0 None None None Never

Description Dmitri Pal 2013-02-02 00:30:56 UTC
SSSD can be configured in two different ways with AD:
a) using POSIX schema 
b) not using POSIX schema

Realmd should:
a) Detect that the posix schema is loaded and used (populated)
b) If it is used (populated) use LDAP+Kerberos SSSD configuration (as it is now)
c) If it is not defined/populated take advantage of the new AD back end that does SID -> uid/giu translation on the fly
d) There should be a way to force the use of the AD provider even if the POSIX schema is installed and populated (for example for the cases of migration from one solution to another)

Also see autconfig bug:
https://bugzilla.redhat.com/show_bug.cgi?id=906948

This functionality also needs to be exposed to the OpenLMI realmd provider.

Comment 2 Stef Walter 2013-02-06 11:01:59 UTC
I agree this is a good feature to have. For starters we can add a configuration option for this.

But I agree that would be nice to detect it. How can we detect whether the POSIX schema is populated and maintained? Do you know of a standard way?

Comment 3 Dmitri Pal 2013-02-08 23:25:20 UTC
It is hard. But I think you can search and see if there is at least an entry that has an uid attribute populated (I do not know the exact name of the attribute, you would need to look it up). If no entry has this attribute populated you can assume that it is not installed or not populated.
The gray area starts when you have some number of the populated entries.
I would count this as populated by default but allow to override it with the force option.

Comment 4 Stef Walter 2013-02-12 07:51:41 UTC
Adding a config option upstream. Would like to discuss this in Brno.

Comment 5 Stef Walter 2013-07-15 17:49:13 UTC
As discussed elsewhere, it is not possible to autodetect whether the POSIX schema is installed and (more importantly) configured per added user.

The config option is now part of realmd. This bug has been modified to track that.

Comment 6 Stef Walter 2013-07-25 11:41:37 UTC
*** Bug 984201 has been marked as a duplicate of this bug. ***

Comment 7 Patrik Kis 2013-07-25 12:46:01 UTC
Hi Stef,
can you please confirm that the config option in question is "automatic-id-mapping" or something else?

Comment 8 Stef Walter 2013-07-25 19:05:54 UTC
(In reply to Patrik Kis from comment #7)
> can you please confirm that the config option in question is
> "automatic-id-mapping" or something else?

Yes, that's the case.

Comment 10 Ludek Smid 2014-06-13 11:08:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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