diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-04-28 20:33:07 +1200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-06-14 07:21:29 +0000 |
commit | 2c9a4ef86e5fa68091fc392740e7b04af759b698 (patch) | |
tree | 45496b649c12fd156a379dafb24d2f61eb7724fd /python | |
parent | 89b7afa3bbc1c3435a749bfbea1a80be57b4afbf (diff) | |
download | samba-2c9a4ef86e5fa68091fc392740e7b04af759b698.tar.gz |
libcli:util: Update werror table
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/drs_utils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python/samba/drs_utils.py b/python/samba/drs_utils.py index feab89b0d8e..a71da6eedd3 100644 --- a/python/samba/drs_utils.py +++ b/python/samba/drs_utils.py @@ -200,10 +200,7 @@ class drs_Replicate(object): # (if we support it and haven't already tried that) supports_ext = self.supports_ext - # TODO fix up the below line when we next update werror_err_table.txt - # and pull in the new error-code - # return (error_code == werror.WERR_DS_DRA_RECYCLED_TARGET and - return (error_code == 0x21bf and + return (error_code == werror.WERR_DS_DRA_RECYCLED_TARGET and supports_ext & DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 and (req.more_flags & drsuapi.DRSUAPI_DRS_GET_TGT) == 0) |