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

Summary: autofs provider fails when default_domain_suffix and use_fully_qualified_names set
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Hrozek <jhrozek>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Kaushik Banerjee <kbanerje>
Severity: high Docs Contact:
Priority: medium    
Version: 6.7CC: grajaiya, jgalipea, jhrozek, kbanerje, lslebodn, mkosek, mzidek, nsoman, parsonsa, pbrezina, preichl, sssd-maint, xdong
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sssd-1.12.4-38.el6 Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of: 1216285 Environment:
Last Closed: 2015-07-22 06:44:25 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:
Bug Depends On: 1216285    
Bug Blocks:    

Comment 3 Jakub Hrozek 2015-04-30 15:55:29 UTC
Fixed upstream:
    sssd-1-12: 8f57c6765b10de36582ef1dbee32d75452451a94
    master: 4df706219e64527209f12ad0c7814ee1be979c07

Comment 5 Xiyang Dong 2015-06-12 13:16:58 UTC
Verified on sssd-1.12.4-45.el6:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-client-automount-bugzilla-002: bz1217328   autofs provider fails when default_domain_suffix and use_fully_qualified_names set
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

clean up ipa-client-automount success
:: [  BEGIN   ] :: Setting default_domain_suffix :: actually running 'sed -i  '/\[sssd\]/a\default_domain_suffix = testrelm.test' /etc/sssd/sssd.conf'
:: [   PASS   ] :: Setting default_domain_suffix (Expected 0, got 0)
:: [  BEGIN   ] :: Setting use_fully_qualified_names :: actually running 'sed -i  '/default_domain_suffix = testrelm.test/a\use_fully_qualified_names = true' /etc/sssd/sssd.conf'
:: [   PASS   ] :: Setting use_fully_qualified_names (Expected 0, got 0)
:: [  BEGIN   ] :: Checking sssd.conf is configured as expected :: actually running 'grep -e fully -e default /etc/sssd/sssd.conf'
default_domain_suffix = testrelm.test
use_fully_qualified_names = true
:: [   PASS   ] :: Checking sssd.conf is configured as expected (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'service sssd restart; sss_cache -E; service autofs restart'
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]
Stopping automount: [  OK  ]
Starting automount: [  OK  ]
:: [   PASS   ] :: Command 'service sssd restart; sss_cache -E; service autofs restart' (Expected 0, got 0)
:: [  BEGIN   ] :: Client automount should success :: actually running 'ipa-client-automount --server=cloud-qe-2.testrelm.test --location=Location__A -U'
IPA server: cloud-qe-2.testrelm.test
Location: Location__A
Configured /etc/nsswitch.conf
Configured /etc/sysconfig/nfs
Configured /etc/idmapd.conf
Started rpcidmapd
Started rpcgssd
Restarting sssd, waiting for it to become available.
Unable to find 'admin' user with 'getent passwd admin'!
This may mean that sssd didn't re-start properly after the configuration changes.
Started autofs
:: [   PASS   ] :: Client automount should success (Expected 0, got 0)
:: [  BEGIN   ] :: Accessing map :: actually running 'automount -m > /tmp/bz1217328.txt 2>&1'
:: [   PASS   ] :: Accessing map (Expected 0, got 0)
:: [   PASS   ] :: File '/tmp/bz1217328.txt' should contain '/ipashare/public' 
:: [   PASS   ] :: File '/tmp/bz1217328.txt' should not contain 'setautomntent: Cannot allocate memory' 
:: [   PASS   ] :: File '/tmp/bz1217328.txt' should not contain 'no master map entries found' 

MARK-LWD-LOOP -- 2015-06-11 17:05:38 --
clean up ipa-client-automount success
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]
'a9116d78-6cd4-4903-bccf-633642696730'
ipa-client-automount-bugzilla-002-bz1217328-autofs-provider-fails-when-default-domain-suffix-and-use-fully-qualified-names-set result: PASS
   metric: 0
   Log: /var/tmp/beakerlib-31297136/journal.txt
   DMesg: /mnt/testarea/dmesg.log
    Info: Searching AVC errors produced since 1434056697.92 (Thu Jun 11 17:04:57 2015)
     Searching logs...
     Info: No AVC messages found.

Comment 7 errata-xmlrpc 2015-07-22 06:44:25 UTC
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/RHBA-2015-1448.html