From b0a264f1ae1457910a66a118104d172d2e73637b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 Aug 2006 08:53:25 +0000 Subject: r17567: add error code I got from DsGetNCChanges when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION flag on DsBind metze (This used to be commit 8458ee72c5c1005ab80b9f7ea6efe617e5c76106) --- source4/libcli/util/doserr.c | 1 + source4/libcli/util/doserr.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'source4/libcli') diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index 91a47bfbb5..c7d7053165 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -101,6 +101,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED }, { "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS }, { "WERR_SHUTDOWN_ALREADY_IN_PROGRESS", WERR_SHUTDOWN_ALREADY_IN_PROGRESS }, + { "WERR_SEC_E_ALGORITHM_MISMATCH", WERR_SEC_E_ALGORITHM_MISMATCH }, { NULL, W_ERROR(0) } }; diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h index 386735617a..32807da47c 100644 --- a/source4/libcli/util/doserr.h +++ b/source4/libcli/util/doserr.h @@ -265,6 +265,9 @@ #define WERR_DS_DNS_LOOKUP_FAILURE W_ERROR(0x0000214c) #define WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX W_ERROR(0x00002150) +/* SEC errors */ +#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331) + #define WERR_FOOBAR WERR_GENERAL_FAILURE #endif /* _DOSERR_H */ -- cgit