Bug 2069184

Summary: ipaconfig does not support SID and netbios attributes.
Product: Red Hat Enterprise Linux 9 Reporter: Thomas Woerner <twoerner>
Component: ansible-freeipaAssignee: Rafael Jeffman <rjeffman>
Status: CLOSED ERRATA QA Contact: Varun Mylaraiah <mvarun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: ipa-qe, mjurasek, mvarun, rjeffman
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-freeipa-1.8.4-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2069174
: 2132996 2132997 (view as bug list) Environment:
Last Closed: 2023-05-09 07:25:35 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: 2069174    
Bug Blocks: 2132996, 2132997    

Description Thomas Woerner 2022-03-28 12:37:05 UTC
+++ This bug was initially created as a clone of Bug #2069174 +++

Description of problem:

Recent IPA versions allow the setting of SID and a
netbios-name in the CLI config command:

--enable-sid          New users and groups automatically get a SID assigned
--add-sids            Add SIDs for existing users and groups
--netbios-name=STR    NetBIOS name of the IPA domain

These parameters should be supported in ansible-freeipa.

Comment 7 Rafael Jeffman 2022-09-05 20:33:48 UTC
Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/906

Comment 11 Varun Mylaraiah 2022-09-22 14:30:06 UTC
Verified

ansible-core-2.13.3-1.el9.x86_64
ansible-freeipa-1.8.4-1.el9.noarch


2022-09-22T11:31:23+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_enable_sid PASSED [ 86%]
2022-09-22T11:31:33+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name PASSED [ 90%]
2022-09-22T11:31:37+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_without_enable_sid PASSED [ 91%]
2022-09-22T11:31:41+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_leading_space PASSED [ 93%]
2022-09-22T11:31:44+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_empty_string PASSED [ 95%]
2022-09-22T11:31:48+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_smallcase PASSED [ 96%]
2022-09-22T11:31:52+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_more_than_15characters PASSED [ 98%]
2022-09-22T11:32:05+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_add_sids PASSED [100%]

Based on the test result, marking the bug VERIFIED.

Comment 16 errata-xmlrpc 2023-05-09 07:25:35 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 (ansible-freeipa 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/RHEA-2023:2168