summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-24 05:36:40 +0000
committerTim Potter <tpot@samba.org>2002-04-24 05:36:40 +0000
commitf2843dec43a4f239a01e167dc322e9808c6e4163 (patch)
tree13e7cbb6a9577524fea7468b8b6469623976b01f
parenta67b5ac62fcd3e8bcef668a29094635a548e5744 (diff)
downloadsamba-f2843dec43a4f239a01e167dc322e9808c6e4163.tar.gz
samba-f2843dec43a4f239a01e167dc322e9808c6e4163.tar.bz2
samba-f2843dec43a4f239a01e167dc322e9808c6e4163.zip
Added constant and message for invalid security descriptor dos error.
(This used to be commit 0827bd4184256a87d6cf6c58bc314309503da7be)
-rw-r--r--source3/include/doserr.h1
-rw-r--r--source3/libsmb/doserr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 4945bc69d7..9750dd7489 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -164,6 +164,7 @@
#define WERR_OBJECT_PATH_INVALID W_ERROR(161)
#define WERR_NO_MORE_ITEMS W_ERROR(259)
#define WERR_MORE_DATA W_ERROR(234)
+#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797)
#define WERR_INVALID_PRINTER_NAME W_ERROR(1801)
#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index adc001bf29..116a54e76f 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -65,6 +65,7 @@ werror_code_struct dos_errs[] =
{ "WERR_DFS_NO_SUCH_SERVER", WERR_DFS_NO_SUCH_SERVER },
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
+ { "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
{ NULL, W_ERROR(0) }
};