diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-16 08:53:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:38 -0500 |
commit | b0a264f1ae1457910a66a118104d172d2e73637b (patch) | |
tree | 1aa51f42ca20d964826c0a3ef877654fe97ca63f | |
parent | 2f119fc7a84835287104b377babe7a0fc7ac8427 (diff) | |
download | samba-b0a264f1ae1457910a66a118104d172d2e73637b.tar.gz samba-b0a264f1ae1457910a66a118104d172d2e73637b.tar.bz2 samba-b0a264f1ae1457910a66a118104d172d2e73637b.zip |
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)
-rw-r--r-- | source4/libcli/util/doserr.c | 1 | ||||
-rw-r--r-- | source4/libcli/util/doserr.h | 3 |
2 files changed, 4 insertions, 0 deletions
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 */ |