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.
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/1931
Ticket was cloned from Red Hat Bugzilla (product ''Fedora''): [https://bugzilla.redhat.com/show_bug.cgi?id=963818Bug 963818]
{{{
Description of problem:
When 2 domains are configured in sssd only login as remote user works only for
the 2nd one.
This is doe to krb5_use_enterprise_principal, because when it is set to False
the login starts to work.
Version-Release number of selected component (if applicable):
sssd-1.10.0-5.fc19.beta1
How reproducible:
always
Steps to Reproduce:
# cat /etc/sssd/sssd.conf
[sssd]
domains = ad.baseos.qe, security.baseos.qe
config_file_version = 2
services = nss, pam
[nss]
default_shell = /bin/bash
[domain/ad.baseos.qe]
ad_domain = ad.baseos.qe
krb5_realm = AD.BASEOS.QE
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%d/%u
access_provider = ad
[domain/security.baseos.qe]
ad_domain = security.baseos.qe
krb5_realm = SECURITY.BASEOS.QE
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%d/%u
access_provider = ad
# getent passwd Bender.qe
bender.qe:*:1197601112:1197600513:Bender:/home/ad.baseos.qe/bender:/b
in/bash
# getent passwd Bender.qe
bender.qe:*:89801133:89800513:Bender:/home/security.baseos.qe/b
ender:/bin/bash
$ ssh Bender.qe.100.19
Bender.qe.100.19's password:
Last login: Thu May 16 17:23:59 2013 from 192.168.100.1
[bender.qe@pkis ~]$ exit
logout
Connection to 192.168.100.19 closed.
$
$ ssh Bender.qe.100.19
Bender.qe.100.19's password:
Permission denied, please try again.
^C
Setting krb5_use_enterprise_principal=False for booth domain in sssd.conf
solves the problem.
}}}
Tested and verified manually, working on automated test plan
1. Created a user in the following 2 domains in trusted forest
sssdad.com
sssdad_tree.com
2. joined to sssdad.com domain and configured second sssdad_tree.com domain block in sssd.conf
3. Successfully logged in with user from each domain with krb5_use_enterprise_principal defaulting to true.
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.