mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +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:
committed by
Ralph Boehme
parent
e06b36fbdf
commit
2bc5f08a33
@@ -1210,6 +1210,9 @@ class DCJoinContext(object):
|
|||||||
except WERRORError as e:
|
except WERRORError as e:
|
||||||
if e.args[0] == werror.WERR_DNS_ERROR_NAME_DOES_NOT_EXIST:
|
if e.args[0] == werror.WERR_DNS_ERROR_NAME_DOES_NOT_EXIST:
|
||||||
name_found = False
|
name_found = False
|
||||||
|
else:
|
||||||
|
print(e)
|
||||||
|
raise
|
||||||
|
|
||||||
if name_found:
|
if name_found:
|
||||||
for rec in res.rec:
|
for rec in res.rec:
|
||||||
|
|||||||
Reference in New Issue
Block a user