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 1914824 - ipa-kdb: support subordinate/superior UPN suffixes [rhel-8.2.0.z]
Summary: ipa-kdb: support subordinate/superior UPN suffixes [rhel-8.2.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1891056
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-11 09:50 UTC by RHEL Program Management Team
Modified: 2021-01-26 11:13 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1891056
Environment:
Last Closed: 2021-01-26 11:13:32 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Comment 5 Mohammad Rizwan 2021-01-18 09:06:28 UTC
Manual verification as automation needs fix.


version:
[root@master ~]# rpm -q ipa-server samba
ipa-server-4.8.4-9.module+el8.2.0+9418+72acd81c.x86_64
samba-4.11.2-14.el8_2.x86_64


[root@master ~]# ssh -o StrictHostKeyChecking=no Administrator.xx.xx 'powershell -c Get-ADForest'
Warning: Permanently added 'xx.xx.xx.xx' (ECDSA) to the list of known hosts.
Administrator.xx.xx's password: 


ApplicationPartitions : {DC=DomainDnsZones,DC=child,DC=ad,DC=test, DC=ForestDnsZones,DC=ad,DC=test, 
                        DC=DomainDnsZones,DC=ad,DC=test}
CrossForestReferences : {}
DomainNamingMaster    : root-dc.ad.test
Domains               : {ad.test, adtree.test, child.ad.test}
ForestMode            : Windows2016Forest
GlobalCatalogs        : {root-dc.ad.test, child-dc.child.ad.test}
Name                  : ad.test
PartitionsContainer   : CN=Partitions,CN=Configuration,DC=ad,DC=test
RootDomain            : ad.test
SchemaMaster          : root-dc.ad.test
Sites                 : {Default-First-Site-Name}
SPNSuffixes           : {}
UPNSuffixes           : {UPNsuffix.com}

[root@master ~]# ssh -o StrictHostKeyChecking=no Administrator.xx.xx "powershell -c 'Get-ADForest | Set-ADForest -UPNSuffixes @{add=\"new.ad.test\", \"upn.dom\"}'"
Administrator.xx.xx's password:

[root@master ~]# ssh -o StrictHostKeyChecking=no Administrator.xx.xx 'powershell -c Get-ADForest'
Administrator.xx.xx's password: 


ApplicationPartitions : {DC=DomainDnsZones,DC=child,DC=ad,DC=test, DC=ForestDnsZones,DC=ad,DC=test, 
                        DC=DomainDnsZones,DC=ad,DC=test}
CrossForestReferences : {}
DomainNamingMaster    : root-dc.ad.test
Domains               : {ad.test, adtree.test, child.ad.test}
ForestMode            : Windows2016Forest
GlobalCatalogs        : {root-dc.ad.test, child-dc.child.ad.test}
Name                  : ad.test
PartitionsContainer   : CN=Partitions,CN=Configuration,DC=ad,DC=test
RootDomain            : ad.test
SchemaMaster          : root-dc.ad.test
Sites                 : {Default-First-Site-Name}
SPNSuffixes           : {}
UPNSuffixes           : {upn.dom, new.ad.test, UPNsuffix.com}

[root@master ~]# ipa trust-fetch-domains ad.test
----------------------------------------------------------------------------------------
List of trust domains successfully refreshed. Use trustdomain-find command to list them.
----------------------------------------------------------------------------------------
----------------------------
Number of entries returned 0
----------------------------
[root@master ~]# 
[root@master ~]# ipa trust-show ad.test
  Realm name: ad.test
  Domain NetBIOS name: AD
  Domain Security Identifier: S-1-5-21-2922702344-1207906027-3554549069
  Trust direction: Trusting forest
  Trust type: Active Directory domain
  UPN suffixes: UPNsuffix.com, upn.dom, adtree.test

[root@master ~]#  ssh -o StrictHostKeyChecking=no Administrator.xx.xx 'powershell -c set-aduser -UserPrincipalName Administrator.test -Identity Administrator'
Administrator.xx.xx's password: 
[root@master ~]# 
[root@master ~]# getent passwd Administrator.test
administrator:*:1780600500:1780600500:Administrator:/home/ad.test/administrator:
[root@master ~]# 
[root@master ~]# 
[root@master ~]#  kinit -E Administrator.test
Password for Administrator\@new.ad.test: 
[root@master ~]# 
[root@master ~]# klist
Ticket cache: KCM:0:74616
Default principal: Administrator

Valid starting       Expires              Service principal
01/18/2021 03:55:28  01/18/2021 13:55:28  krbtgt/AD.TEST
	renew until 01/19/2021 03:55:24

Based on above observations, marking the bug as verified.

Comment 9 errata-xmlrpc 2021-01-26 11:13:32 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 (idm:DL1 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:0268


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