Bug 1254184
Summary: | sss_override does not work correctly when 'use_fully_qualified_names = True' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dan Lavu <dlavu> |
Component: | sssd | Assignee: | Pavel Březina <pbrezina> |
Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | grajaiya, jgalipea, jhrozek, lslebodn, mkosek, mzidek, nsoman, pbrezina, preichl |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | sssd-1.13.0-24.el7 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Domain has use_fully_qualified_names set to true and then sss_override tool is unable to find user or group.
Consequence: Local overrides can not be created.
Fix: sss_override correctly finds user and groups even when fully qualified name is required.
Result: Local overrides can be created.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 11:39:53 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
Dan Lavu
2015-08-17 11:45:01 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/2757 Patch acked upstream, acking for RHEL * master: 7eba58cfcf78e61af1c4ff98619aa97223eb7a5b This is working in sssd-client-1.13.0-24.el7.x86_64 , however the override id doesn't return using getent. [root@rhel72 ~]# sss_override user-add dlavu -n dlavu1 SSSD needs to be restarted for the changes to take effect. [root@rhel72 ~]# service sssd restart Redirecting to /bin/systemctl restart sssd.service [root@rhel72 ~]# getent passwd dlavu1 [root@rhel72 ~]# getent passwd dlavu1 [root@rhel72 ~]# getent passwd dlavu dlavu1@sssd2012.com:*:349001105:349000513:Dan Lavu:/home/dlavu1:/bin/bash I would suggest to try looking at the logs if dlavu1 was maybe already negatively cached from previous test runs. If not, then please file a new bug. Thank you very much for testing! Verified, testing against sssd-1.13.0-26.el7.x86_64. #################################### [root@test ~]# sss_override user-add -n dlavu1 dlavu SSSD needs to be restarted for the changes to take effect. [root@test ~]# service sssd restart #################################### [sssd] domains = sssd2012.com config_file_version = 2 services = nss, pam [domain/sssd2012.com] ad_domain = sssd2012.com krb5_realm = SSSD2012.COM realmd_tags = manages-system joined-with-adcli cache_credentials = True id_provider = ad krb5_store_password_if_offline = True default_shell = /bin/bash ldap_id_mapping = True use_fully_qualified_names = True fallback_homedir = /home/%u@%d access_provider = ad #################################### 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://rhn.redhat.com/errata/RHSA-2015-2355.html |