werror: Add WERR_DS_DRA_RECYCLED_TARGET
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 30 May 2017 03:08:44 +0000 (15:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 18 Aug 2017 04:07:11 +0000 (06:07 +0200)
When the DRS client encounters a linked attribute with an unknown target
object, it should return a RECYCLED_TARGET error, which should result in
the client resending the GETNCChanges request with the GET_TGT flag set.

This error code is currently documented by Microsoft under System Error
Codes (8200-8999). I contacted them and they will also add it to the
MS-ERREF doc in future.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12972

libcli/util/werror.h

index d3d3327aef92ec58136407282bb380742bb7a66b..0370a0618c15c009774359d91332deb9a0301648 100644 (file)
@@ -100,6 +100,7 @@ typedef uint32_t WERROR;
 #define WERR_INVALID_PRIMARY_GROUP      W_ERROR(0x0000051C)
 
 #define WERR_DS_DRA_SECRETS_DENIED                     W_ERROR(0x000021B6)
+#define WERR_DS_DRA_RECYCLED_TARGET                    W_ERROR(0x000021BF)
 
 #define WERR_DNS_ERROR_KEYMASTER_REQUIRED               W_ERROR(0x0000238D)
 #define WERR_DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE       W_ERROR(0x0000238E)