From: Douglas Bagnall Date: Fri, 9 Aug 2024 22:37:24 +0000 (+1200) Subject: python:join: do not suppress unexpected DNS enum errors X-Git-Tag: tevent-0.17.0~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bc5f08a33b91077636e2f21977fbccbc31d5664;p=thirdparty%2Fsamba.git python:join: do not suppress unexpected DNS enum errors Signed-off-by: Douglas Bagnall Reviewed-by: Ralph Boehme --- diff --git a/python/samba/join.py b/python/samba/join.py index 7b09445a52a..3ea188682dc 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -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: