mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
82af034023
Fix Coverity finding CID 323644: logically dead code path The code to determine whether NetBIOS name was already set or need to be set after deriving it from a domain or asking a user for an interactive input, was refactored at some point to avoid retrieving the whole LDAP entry. Instead, it was provided with the actual NetBIOS name retrieved. As result, a part of the code got neglected and was never executed. Fix this code and provide a test that tries to test predefined, interactively provided and automatically derived NetBIOS name depending on how the installer is being run. We mock up the actual execution so that no access to LDAP or Samba is needed. Fixes: https://pagure.io/freeipa/issue/7753 Reviewed-By: Christian Heimes <cheimes@redhat.com> |
||
---|---|---|
.. | ||
data | ||
test_install | ||
__init__.py | ||
httptest.py | ||
test_adtrust_mockup.py | ||
test_changepw.py | ||
test_dnssec.py | ||
test_i18n_messages.py | ||
test_ipap11helper.py | ||
test_kadmin.py | ||
test_ldap.py | ||
test_migratepw.py | ||
test_otptoken_import.py | ||
test_rpcserver.py | ||
test_secrets.py | ||
test_serverroles.py | ||
test_topology_plugin.py | ||
test_version_comparison.py |