diff options
| author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2022-08-17 17:58:50 +1200 |
|---|---|---|
| committer | Douglas Bagnall <dbagnall@samba.org> | 2022-09-06 21:12:36 +0000 |
| commit | 1ae4738a8ca0bdd22f1766bd39876456f7cba389 (patch) | |
| tree | 8489a6a5cd5bd5673b2a293e0e44283fc5a93834 /python | |
| parent | 47684f5739b253ea55b28bbfeb07c63dd62bd6f2 (diff) | |
| download | samba-1ae4738a8ca0bdd22f1766bd39876456f7cba389.tar.gz samba-1ae4738a8ca0bdd22f1766bd39876456f7cba389.tar.bz2 samba-1ae4738a8ca0bdd22f1766bd39876456f7cba389.zip | |
samba-tool dns: RECORD_DOES_NOT_EXIST errors as CommandErrors
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/netcmd/dns.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/netcmd/dns.py b/python/samba/netcmd/dns.py index 45d31c83f3d..137e52acfd5 100644 --- a/python/samba/netcmd/dns.py +++ b/python/samba/netcmd/dns.py @@ -64,6 +64,7 @@ class DnsConnWrapper: default_messages = { werror.WERR_DNS_ERROR_DS_UNAVAILABLE: "Could not contact RPC server", werror.WERR_DNS_ERROR_ZONE_ALREADY_EXISTS: 'Zone already exists', + werror.WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST: 'The record does not exist', } def __init__(self, server, lp, creds): |
