Bug 2069174

Summary: ipaconfig does not support SID and netbios attributes.
Product: Red Hat Enterprise Linux 8 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: 8.7CC: mjurasek, mvarun, rjeffman
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-freeipa-1.8.4-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2069184 2132994 2132995 (view as bug list) Environment:
Last Closed: 2023-05-16 08:15:55 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:    
Bug Blocks: 2069184, 2132994, 2132995    

Description Thomas Woerner 2022-03-28 12:30:17 UTC
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 5 Rafael Jeffman 2022-09-05 20:33:25 UTC
Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/906

Comment 9 Varun Mylaraiah 2022-09-21 17:35:44 UTC
Verified

ansible-2.9.27-1.el8ae.noarch
ansible-freeipa-1.8.4-1.el8.noarch


2022-09-21T08:44:06+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_enable_sid PASSED [ 86%]
2022-09-21T08:44:18+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name PASSED [ 90%]
2022-09-21T08:44:22+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_leading_space PASSED [ 93%]
2022-09-21T08:44:24+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_empty_string PASSED [ 95%]
2022-09-21T08:44:28+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_smallcase PASSED [ 96%]
2022-09-21T08:44:31+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_update_netbios_name_with_more_than_15characters PASSED [ 98%]
2022-09-21T08:44:42+0000 ansible_freeipa_tests/config/test_config.py::TestConfigInvalid::test_add_sids PASSED [100%]


Based on the test results, marking the bug VERIFIED

Comment 14 errata-xmlrpc 2023-05-16 08:15:55 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:2752