mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 11:19:00 +00:00
nsupdate: fix GSS-TSIG support (#11712)
The fix for missing keyring initialization without TSIG auth in
PR #11461 put the initialization of "self.keyring" and "self.keyname"
in an else clause after checking if "key_name" is set.
The problem is that for "key_algorithm" == "gss-tsig":
a) "key_name" isn't set
b) self.keyring and self.keyname have already been initialized and
will be discarded
This means that gss-tsig support is broken. Fix it by moving the
initialization of "self.keyring" and "self.keyname" to the top.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 12.6.0.yml | ||
| 8852-snmp-facts-pysnmp7.yml | ||
| 10786-jira-cloud-search.yml | ||
| 11664-mssql-named-instance-port.yml | ||
| 11681-pacman-root-cachedir-config.yml | ||
| 11688-flatpak-fix-runtime-removal.yml | ||
| 11689-composer-create-project-idempotent.yml | ||
| 11698-ipa-failed-response.yml | ||
| 11717-fix-error-dnsttl.yml | ||
| 11721-xenserver-guest-codeqa.yml | ||
| 11728-opendj_backendprop-cmdrunner.yml | ||
| 11738-run-command-locale-group3-batch1.yml | ||
| 11740-run-command-locale-group3-batch2.yml | ||
| 11741-run-command-locale-group3-batch3.yml | ||
| 11742-run-command-locale-nmcli.yml | ||
| 11753-java-cert-proxy-auth.yml | ||
| 11754-mssql-script-params-substitution.yml | ||
| fix-nsupdate-gss-tsig.yml | ||