1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00

python:join: do not suppress unexpected DNS enum errors

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Douglas Bagnall
2024-08-10 10:37:24 +12:00
committed by Ralph Boehme
parent e06b36fbdf
commit 2bc5f08a33

View File

@@ -1210,6 +1210,9 @@ class DCJoinContext(object):
except WERRORError as e:
if e.args[0] == werror.WERR_DNS_ERROR_NAME_DOES_NOT_EXIST:
name_found = False
else:
print(e)
raise
if name_found:
for rec in res.rec: