#8149 SIDs of AD domains do not display in ipa-client-samba installer
Closed: fixed by abbra. Opened by abbra.

Description of problem:

# ipa-client-samba 
Searching for IPA server...
IPA server: DNS discovery
Chosen IPA master: replica.ipa.test
SMB principal to be created: cifs/client.ipa.test@IPA.TEST
NetBIOS name to be used: CLIENT
Discovered domains to use:
 Domain name: ipa.test
NetBIOS name: IPA
         SID: S-1-5-21-1711027842-58264104-523626831
    ID range: 1423000000 - 1423199999
 Domain name: sub1.win2016.test
NetBIOS name: SUB1
         SID: None
    ID range: 308600000 - 308799999
 Domain name: win2016.test
NetBIOS name: WIN2016
         SID: None
    ID range: 1896800000 - 1896999999

The SID display as None.

I installed as admin and am able to see the trust:

# ipa trustdomain-find
Realm name: WIN2016.TEST
  Domain name: sub1.win2016.test
  Domain NetBIOS name: SUB1
  Domain Security Identifier: S-1-5-21-409653339-2266312569-870840429
  Domain enabled: True
  Domain name: win2016.test
  Domain NetBIOS name: WIN2016
  Domain Security Identifier: S-1-5-21-344158752-2665625808-1825572239
  Domain enabled: True
----------------------------
Number of entries returned 2
----------------------------

Version-Release number of selected component (if applicable):

ipa-client-samba-4.8.0-10.module+el8.1.0+4107+4a66eb87.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. Reproduced in IDMCI on client VM


Metadata Update from @abbra:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1783046

Metadata Update from @abbra:
- Issue assigned to abbra

Metadata Update from @abbra:
- Issue set to the milestone: FreeIPA 4.8.4

PR: https://github.com/freeipa/freeipa/pull/4028

master:

  • 3d402b69eb484a14944ccc23fcf945963977e348 ipa-client-samba: map domain sid of trust domain properly for display

ipa-4-8:

  • e1d11aa6b1b03b57adf8deba681aa0fa25861c5e ipa-client-samba: map domain sid of trust domain properly for display

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 15fd36612ea451cec2e1302a462fa440663fcc74 ipatests: add check for output contents of ipa-client-samba

Metadata Update from @frenaud:
- Custom field test_case adjusted to ipatests/test_integration/test_smb.py

ipa-4-8:

  • 577dd1e47a092cf7e4527707111d28297bb58f53 ipatests: add check for output contents of ipa-client-samba
Metadata