[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Tue Feb 14 12:40:02 UTC 2017


The branch, master has been updated
       via  03c4cf5 tests/ndrdump: Add a test for --hex-input
       via  4940661 ndrdump: Add the option --hex-input for hexdump parsing
       via  efef15a join.py: Correctly print an error in DsAddEntry when .info is None
       via  2a5d9e6 python: Use generated WERROR definitions
       via  c6dcac9 errors: add WERROR generation to build system
       via  ea49c56 errors: add table to generate WERRORs from
       via  625dbd2 errors: generate error codes for WERROR
       via  aad57f9 errors: pull out code into common file
       via  113548d samba-tool/domain: catch NTSTATUSError rather than RuntimeError
       via  ea3c3f1 samba-tool/domain: use generated ntstatus rather than from local file
       via  5356fa0 samba-tool/domain: change incorrect NT_STATUS to WERR
       via  3ba2556 python: Add python module with NTSTATUS constants
       via  b7b289f errors: add gen_ntstatus.py to build system
       via  c465f5f errors/gen_ntstatus: add error table for generation script
       via  a3d1af7 errors/gen_ntstatus: generate error codes in specified files
       via  28d911a gen_ntstatus.py: Add prototype to generated py_ntstatus.c
       via  99e41a3 errors: fix "generate python error codes for NTSTATUS"
       via  b806b69 errors: generate python error codes for NTSTATUS
      from  4f558c9 repl_meta_data: Remove the correct forward link for dn+binary attributes

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 03c4cf5b10dcd054f8500c5e8be0b5c9e5a09dee
Author: Garming Sam <garming at catalyst.net.nz>
Date:   Fri Dec 9 10:50:38 2016 +1300

    tests/ndrdump: Add a test for --hex-input
    
    Signed-off-by: Garming Sam <garming at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Tue Feb 14 13:39:01 CET 2017 on sn-devel-144

commit 4940661658c604464609b0e9cf4bf353a265c2db
Author: Cody Harrington <cody at harringtonca.com>
Date:   Sun Aug 28 03:01:18 2016 +1200

    ndrdump: Add the option --hex-input for hexdump parsing
    
    This allows the user to input a hexdump that has been generated by the dump option.
    
    Signed-off-by: Cody Harrington <cody at harringtonca.com>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>

commit efef15a521a2f9fd2db27f2c8fbc7e110aef2796
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Feb 11 19:34:09 2017 +1300

    join.py: Correctly print an error in DsAddEntry when .info is None
    
    Signed-off-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 2a5d9e61db6605ef5f55a9a1d972a2a078d5c899
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Mon Feb 13 11:12:54 2017 +1300

    python: Use generated WERROR definitions
    
    Previously we either defined WERRORs locally or compared them against
    strings where we needed to use them.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit c6dcac954e783bb3f55a2d16eca2f43da42e1210
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 20 12:24:53 2017 +1300

    errors: add WERROR generation to build system
    
    Parts of doserr.c and werror.h are now generated into werror_gen.c and
    werror_gen.h, respectively. Also, py_werror.c is now generated.
    
    Some errors were not included in the list which we now generate WERRORs
    from. These errors have been manually included.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit ea49c56f4670e9bb3ceab3c2aba302236886161b
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 13 10:58:09 2017 +1300

    errors: add table to generate WERRORs from
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 625dbd208d329ae86c22b0526ecd8a83ac4d8c3a
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 13 10:22:16 2017 +1300

    errors: generate error codes for WERROR
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit aad57f9f1f476608b86931f865a5874e69f61a0e
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 20 12:11:30 2017 +1300

    errors: pull out code into common file
    
    This is a precursor to generating other types of errors.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 113548daf5065d3a19dcb8d4fabf480ac7badedd
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 13 12:10:15 2017 +1300

    samba-tool/domain: catch NTSTATUSError rather than RuntimeError
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit ea3c3f10edac2b6e7e1900b4e75f4be4d70d369a
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 13 12:20:30 2017 +1300

    samba-tool/domain: use generated ntstatus rather than from local file
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 5356fa0a5ac11525603d33a20f9eb63634f65f0b
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Fri Jan 13 12:21:42 2017 +1300

    samba-tool/domain: change incorrect NT_STATUS to WERR
    
    Since the called functions here return a WERR rather than an NTSTATUS,
    the checked for errors were incorrect.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 3ba25569b162d0a114a1d91fa22ad61727b41b2c
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Thu Jan 12 15:33:45 2017 +1300

    python: Add python module with NTSTATUS constants
    
    This has been generated by gen_ntstatus.py
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit b7b289f372535dc479a9c9b7ea80da4711edf4f8
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Thu Jan 12 15:33:45 2017 +1300

    errors: add gen_ntstatus.py to build system
    
    nterr_gen.c, ntstatus_gen.h and py_ntstatus.c are now generated files.
    Errors which are now generated have been removed from nterr.c and
    ntstatus.h. Errors which existed previously but are not in the table we
    generated from have been manually added.
    
    Some errors are incorrectly named; e.g. STATUS_MORE_ENTRIES should be
    NT_STATUS_MORE_ENTRIES. These are simply remapped to the correct names.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit c465f5f3a157cc88290659947068c31b6c9e5557
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Thu Jan 12 14:58:28 2017 +1300

    errors/gen_ntstatus: add error table for generation script
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit a3d1af729b0c30c9793ef6dde81fce0f7457c288
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Thu Jan 12 13:20:37 2017 +1300

    errors/gen_ntstatus: generate error codes in specified files
    
    Previously, we would append new errors on to the existing ntstatus.h and
    nterr.c. We can now specify which files to write to, and it will write
    all errors to those files.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 28d911aa32f9f885232fced962f63caf23e7f097
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Feb 1 11:55:39 2017 +1300

    gen_ntstatus.py: Add prototype to generated py_ntstatus.c
    
    Signed-off-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit 99e41a377e7b4c64a0a10c680c2a39237daa08dd
Author: Bob Campbell <bobcampbell at catalyst.net.nz>
Date:   Thu Jan 12 14:39:52 2017 +1300

    errors: fix "generate python error codes for NTSTATUS"
    
    Fixups according to feedback on the list.
    
    Signed-off-by: Bob Campbell <bobcampbell at catalyst.net.nz>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

commit b806b69d198c0a95386695d2cc902f7a5005bd72
Author: G√ľnther Deschner <gd at samba.org>
Date:   Tue Sep 27 20:31:58 2016 +0200

    errors: generate python error codes for NTSTATUS
    
    Guenther
    
    Signed-off-by: Guenther Deschner <gd at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Garming Sam <garming at catalyst.net.nz>

-----------------------------------------------------------------------

Summary of changes:
 lib/util/samba_util.h                              |    13 +-
 lib/util/util.c                                    |    44 +-
 libcli/util/doserr.c                               |  5287 +-----
 libcli/util/nterr.c                                |  3675 +---
 libcli/util/ntstatus.h                             |  1873 +-
 libcli/util/ntstatus_err_table.txt                 | 12629 +++++++++++++
 libcli/util/werror.h                               |  2691 +--
 libcli/util/werror_err_table.txt                   | 18929 +++++++++++++++++++
 libcli/util/wscript_build                          |    28 +-
 librpc/tools/ndrdump.c                             |    22 +-
 python/samba/join.py                               |    12 +-
 python/samba/netcmd/dns.py                         |    15 +-
 python/samba/netcmd/domain.py                      |    81 +-
 python/samba/remove_dc.py                          |     5 +-
 python/samba/tests/blackbox/ndrdump.py             |     4 +
 python/samba/tests/dns.py                          |     3 +-
 .../tests/dns-decode_dns_name_packet-hex.dat       |     7 +
 source4/scripting/bin/gen_error_common.py          |    82 +
 source4/scripting/bin/gen_ntstatus.py              |   295 +-
 source4/scripting/bin/gen_werror.py                |   149 +
 20 files changed, 32271 insertions(+), 13573 deletions(-)
 create mode 100644 libcli/util/ntstatus_err_table.txt
 create mode 100644 libcli/util/werror_err_table.txt
 create mode 100644 source4/librpc/tests/dns-decode_dns_name_packet-hex.dat
 create mode 100644 source4/scripting/bin/gen_error_common.py
 create mode 100644 source4/scripting/bin/gen_werror.py


Changeset truncated at 500 lines:

diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index 3f66369..8aa8eba 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -122,7 +122,7 @@ _PUBLIC_ char *generate_random_str(TALLOC_CTX *mem_ctx, size_t len);
  * Characters used are: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,
  */
 _PUBLIC_ char** generate_unique_strs(TALLOC_CTX *mem_ctx, size_t len,
-                                         uint32_t num);
+					 uint32_t num);
 
 /* The following definitions come from lib/util/dprintf.c  */
 
@@ -176,6 +176,11 @@ _PUBLIC_ size_t strhex_to_str(char *p, size_t p_len, const char *strhex, size_t
 _PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex) ;
 
 /**
+ * Parse a hex dump and return a data blob
+ */
+_PUBLIC_ _PURE_ DATA_BLOB hexdump_to_data_blob(TALLOC_CTX *mem_ctx, const char *hexdump, size_t len);
+
+/**
  * Print a buf in hex. Assumes dst is at least (srclen*2)+1 large.
  */
 _PUBLIC_ void hex_encode_buf(char *dst, const uint8_t *src, size_t srclen);
@@ -587,7 +592,7 @@ _PUBLIC_ void daemon_status(const char *name, const char *msg);
  * @param[in]  prompt   The prompt to show to ask for the password.
  *
  * @param[out] buf    The buffer the password should be stored. It NEEDS to be
- *                      empty or filled out.
+ *		      empty or filled out.
  *
  * @param[in]  len      The length of the buffer.
  *
@@ -604,8 +609,8 @@ _PUBLIC_ int samba_getpass(const char *prompt, char *buf, size_t len,
  * Load a ini-style file.
  */
 bool pm_process( const char *fileName,
-                 bool (*sfunc)(const char *, void *),
-                 bool (*pfunc)(const char *, const char *, void *),
+		 bool (*sfunc)(const char *, void *),
+		 bool (*pfunc)(const char *, const char *, void *),
 				 void *userdata);
 bool pm_process_with_flags(const char *filename,
 			   bool allow_empty_values,
diff --git a/lib/util/util.c b/lib/util/util.c
index 56056a3..a8f2e00 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -903,8 +903,8 @@ _PUBLIC_ size_t strhex_to_str(char *p, size_t p_len, const char *strhex, size_t
 	return num_chars;
 }
 
-/** 
- * Parse a hex string and return a data blob. 
+/**
+ * Parse a hex string and return a data blob.
  */
 _PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex) 
 {
@@ -918,6 +918,46 @@ _PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *s
 }
 
 /**
+ * Parse a hex dump and return a data blob. Hex dump is structured as 
+ * is generated from dump_data_cb() elsewhere in this file
+ * 
+ */
+_PUBLIC_ _PURE_ DATA_BLOB hexdump_to_data_blob(TALLOC_CTX *mem_ctx, const char *hexdump, size_t hexdump_len)
+{
+	DATA_BLOB ret_blob = {'\0'};
+	size_t i = 0;
+	size_t char_count = 0;
+	/* hexdump line length is 77 chars long. We then use the ASCII representation of the bytes
+	 * at the end of the final line to calculate how many are in that line, minus the extra space
+	 * and newline. */
+	size_t hexdump_byte_count = (16 * (hexdump_len / 77));
+	if (hexdump_len % 77) {
+		hexdump_byte_count += ((hexdump_len % 77) - 59 - 2);
+	}
+	
+	ret_blob = data_blob_talloc(mem_ctx, NULL, hexdump_byte_count+1);
+	for (; i+1 < hexdump_len && hexdump[i] != 0 && hexdump[i+1] != 0; i++) {
+		if ((i%77) == 0) 
+			i += 7; /* Skip the offset at the start of the line */
+		if ((i%77) < 56) { /* position 56 is after both hex chunks */
+			if (hexdump[i] != ' ') {
+				char_count += strhex_to_str((char *)&ret_blob.data[char_count],
+							    hexdump_byte_count - char_count,
+							    &hexdump[i], 2);
+				i += 2;
+			} else {
+				i++;
+			}
+		} else {
+			i++;
+		}
+	}
+	ret_blob.length = char_count;
+	
+	return ret_blob;
+}
+
+/**
  * Print a buf in hex. Assumes dst is at least (srclen*2)+1 large.
  */
 _PUBLIC_ void hex_encode_buf(char *dst, const uint8_t *src, size_t srclen)
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index e2f3b40..237854c 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -22,2618 +22,73 @@
 #include "includes.h"
 
 struct werror_code_struct {
-	const char *dos_errstr;
-	WERROR werror;
+        const char *dos_errstr;
+        WERROR werror;
 };
 
-static const struct werror_code_struct dos_errs[] =
-{
-	{ "WERR_OK", WERR_OK },
-	{ "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES },
-	{ "WERR_DS_INVALID_ATTRIBUTE_SYNTAX", WERR_DS_INVALID_ATTRIBUTE_SYNTAX },
-	{ "WERR_DNS_ERROR_RCODE_FORMAT_ERROR", WERR_DNS_ERROR_RCODE_FORMAT_ERROR },
-	{ "WERR_DNS_ERROR_RCODE_SERVER_FAILURE", WERR_DNS_ERROR_RCODE_SERVER_FAILURE },
-	{ "WERR_DNS_ERROR_RCODE_NAME_ERROR", WERR_DNS_ERROR_RCODE_NAME_ERROR },
-	{ "WERR_DNS_ERROR_RCODE_NOT_IMPLEMENTED", WERR_DNS_ERROR_RCODE_NOT_IMPLEMENTED },
-	{ "WERR_DNS_ERROR_RCODE_REFUSED", WERR_DNS_ERROR_RCODE_REFUSED },
-	{ "WERR_DNS_ERROR_RCODE_YXDOMAIN", WERR_DNS_ERROR_RCODE_YXDOMAIN },
-	{ "WERR_DNS_ERROR_RCODE_YXRRSET", WERR_DNS_ERROR_RCODE_YXRRSET },
-	{ "WERR_DNS_ERROR_RCODE_NXRRSET", WERR_DNS_ERROR_RCODE_NXRRSET },
-	{ "WERR_DNS_ERROR_RCODE_NOTAUTH", WERR_DNS_ERROR_RCODE_NOTAUTH },
-	{ "WERR_DNS_ERROR_RCODE_NOTZONE", WERR_DNS_ERROR_RCODE_NOTZONE },
-	{ "WERR_DNS_ERROR_RCODE_BADSIG", WERR_DNS_ERROR_RCODE_BADSIG },
-	{ "WERR_DNS_ERROR_RCODE_BADKEY", WERR_DNS_ERROR_RCODE_BADKEY },
-	{ "WERR_DNS_ERROR_RCODE_BADTIME", WERR_DNS_ERROR_RCODE_BADTIME },
-	{ "WERR_DNS_INFO_NO_RECORDS", WERR_DNS_INFO_NO_RECORDS },
-	{ "WERR_DNS_ERROR_BAD_PACKET", WERR_DNS_ERROR_BAD_PACKET },
-	{ "WERR_DNS_ERROR_NO_PACKET", WERR_DNS_ERROR_NO_PACKET },
-	{ "WERR_DNS_ERROR_RCODE", WERR_DNS_ERROR_RCODE },
-	{ "WERR_DNS_ERROR_UNSECURE_PACKET", WERR_DNS_ERROR_UNSECURE_PACKET },
-	{ "WERR_DNS_ERROR_INVALID_TYPE", WERR_DNS_ERROR_INVALID_TYPE },
-	{ "WERR_DNS_ERROR_INVALID_IP_ADDRESS", WERR_DNS_ERROR_INVALID_IP_ADDRESS },
-	{ "WERR_DNS_ERROR_INVALID_PROPERTY", WERR_DNS_ERROR_INVALID_PROPERTY },
-	{ "WERR_DNS_ERROR_TRY_AGAIN_LATER", WERR_DNS_ERROR_TRY_AGAIN_LATER },
-	{ "WERR_DNS_ERROR_NOT_UNIQUE", WERR_DNS_ERROR_NOT_UNIQUE },
-	{ "WERR_DNS_ERROR_NON_RFC_NAME", WERR_DNS_ERROR_NON_RFC_NAME },
-	{ "WERR_DNS_STATUS_FQDN", WERR_DNS_STATUS_FQDN },
-	{ "WERR_DNS_STATUS_DOTTED_NAME", WERR_DNS_STATUS_DOTTED_NAME },
-	{ "WERR_DNS_STATUS_SINGLE_PART_NAME", WERR_DNS_STATUS_SINGLE_PART_NAME },
-	{ "WERR_DNS_ERROR_INVALID_NAME_CHAR", WERR_DNS_ERROR_INVALID_NAME_CHAR },
-	{ "WERR_DNS_ERROR_NUMERIC_NAME", WERR_DNS_ERROR_NUMERIC_NAME },
-	{ "WERR_DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER", WERR_DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER },
-	{ "WERR_DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION", WERR_DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION },
-	{ "WERR_DNS_ERROR_CANNOT_FIND_ROOT_HINTS", WERR_DNS_ERROR_CANNOT_FIND_ROOT_HINTS },
-	{ "WERR_DNS_ERROR_INCONSISTENT_ROOT_HINTS", WERR_DNS_ERROR_INCONSISTENT_ROOT_HINTS },
-	{ "WERR_DNS_ERROR_DWORD_VALUE_TOO_SMALL", WERR_DNS_ERROR_DWORD_VALUE_TOO_SMALL },
-	{ "WERR_DNS_ERROR_DWORD_VALUE_TOO_LARGE", WERR_DNS_ERROR_DWORD_VALUE_TOO_LARGE },
-	{ "WERR_DNS_ERROR_BACKGROUND_LOADING", WERR_DNS_ERROR_BACKGROUND_LOADING },
-	{ "WERR_DNS_ERROR_NOT_ALLOWED_ON_RODC", WERR_DNS_ERROR_NOT_ALLOWED_ON_RODC },
-	{ "WERR_DNS_ERROR_ZONE_DOES_NOT_EXIST", WERR_DNS_ERROR_ZONE_DOES_NOT_EXIST },
-	{ "WERR_DNS_ERROR_NO_ZONE_INFO", WERR_DNS_ERROR_NO_ZONE_INFO },
-	{ "WERR_DNS_ERROR_INVALID_ZONE_OPERATION", WERR_DNS_ERROR_INVALID_ZONE_OPERATION },
-	{ "WERR_DNS_ERROR_ZONE_CONFIGURATION_ERROR", WERR_DNS_ERROR_ZONE_CONFIGURATION_ERROR },
-	{ "WERR_DNS_ERROR_ZONE_HAS_NO_SOA_RECORD", WERR_DNS_ERROR_ZONE_HAS_NO_SOA_RECORD },
-	{ "WERR_DNS_ERROR_ZONE_HAS_NO_NS_RECORDS", WERR_DNS_ERROR_ZONE_HAS_NO_NS_RECORDS },
-	{ "WERR_DNS_ERROR_ZONE_LOCKED", WERR_DNS_ERROR_ZONE_LOCKED },
-	{ "WERR_DNS_ERROR_ZONE_CREATION_FAILED", WERR_DNS_ERROR_ZONE_CREATION_FAILED },
-	{ "WERR_DNS_ERROR_ZONE_ALREADY_EXISTS", WERR_DNS_ERROR_ZONE_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_AUTOZONE_ALREADY_EXISTS", WERR_DNS_ERROR_AUTOZONE_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_INVALID_ZONE_TYPE", WERR_DNS_ERROR_INVALID_ZONE_TYPE },
-	{ "WERR_DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP", WERR_DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP },
-	{ "WERR_DNS_ERROR_ZONE_NOT_SECONDARY", WERR_DNS_ERROR_ZONE_NOT_SECONDARY },
-	{ "WERR_DNS_ERROR_NEED_SECONDARY_ADDRESSES", WERR_DNS_ERROR_NEED_SECONDARY_ADDRESSES },
-	{ "WERR_DNS_ERROR_WINS_INIT_FAILED", WERR_DNS_ERROR_WINS_INIT_FAILED },
-	{ "WERR_DNS_ERROR_NEED_WINS_SERVERS", WERR_DNS_ERROR_NEED_WINS_SERVERS },
-	{ "WERR_DNS_ERROR_NBSTAT_INIT_FAILED", WERR_DNS_ERROR_NBSTAT_INIT_FAILED },
-	{ "WERR_DNS_ERROR_SOA_DELETE_INVALID", WERR_DNS_ERROR_SOA_DELETE_INVALID },
-	{ "WERR_DNS_ERROR_FORWARDER_ALREADY_EXISTS", WERR_DNS_ERROR_FORWARDER_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_ZONE_REQUIRES_MASTER_IP", WERR_DNS_ERROR_ZONE_REQUIRES_MASTER_IP },
-	{ "WERR_DNS_ERROR_ZONE_IS_SHUTDOWN", WERR_DNS_ERROR_ZONE_IS_SHUTDOWN },
-	{ "WERR_DNS_ERROR_PRIMARY_REQUIRES_DATAFILE", WERR_DNS_ERROR_PRIMARY_REQUIRES_DATAFILE },
-	{ "WERR_DNS_ERROR_INVALID_DATAFILE_NAME", WERR_DNS_ERROR_INVALID_DATAFILE_NAME },
-	{ "WERR_DNS_ERROR_DATAFILE_OPEN_FAILURE", WERR_DNS_ERROR_DATAFILE_OPEN_FAILURE },
-	{ "WERR_DNS_ERROR_FILE_WRITEBACK_FAILED", WERR_DNS_ERROR_FILE_WRITEBACK_FAILED },
-	{ "WERR_DNS_ERROR_DATAFILE_PARSING", WERR_DNS_ERROR_DATAFILE_PARSING },
-	{ "WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST", WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST },
-	{ "WERR_DNS_ERROR_RECORD_FORMAT", WERR_DNS_ERROR_RECORD_FORMAT },
-	{ "WERR_DNS_ERROR_NODE_CREATION_FAILED", WERR_DNS_ERROR_NODE_CREATION_FAILED },
-	{ "WERR_DNS_ERROR_UNKNOWN_RECORD_TYPE", WERR_DNS_ERROR_UNKNOWN_RECORD_TYPE },
-	{ "WERR_DNS_ERROR_RECORD_TIMED_OUT", WERR_DNS_ERROR_RECORD_TIMED_OUT },
-	{ "WERR_DNS_ERROR_NAME_NOT_IN_ZONE", WERR_DNS_ERROR_NAME_NOT_IN_ZONE },
-	{ "WERR_DNS_ERROR_CNAME_LOOP", WERR_DNS_ERROR_CNAME_LOOP },
-	{ "WERR_DNS_ERROR_NODE_IS_CNAME", WERR_DNS_ERROR_NODE_IS_CNAME },
-	{ "WERR_DNS_ERROR_CNAME_COLLISION", WERR_DNS_ERROR_CNAME_COLLISION },
-	{ "WERR_DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT", WERR_DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT },
-	{ "WERR_DNS_ERROR_RECORD_ALREADY_EXISTS", WERR_DNS_ERROR_RECORD_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_SECONDARY_DATA", WERR_DNS_ERROR_SECONDARY_DATA },
-	{ "WERR_DNS_ERROR_NO_CREATE_CACHE_DATA", WERR_DNS_ERROR_NO_CREATE_CACHE_DATA },
-	{ "WERR_DNS_ERROR_NAME_DOES_NOT_EXIST", WERR_DNS_ERROR_NAME_DOES_NOT_EXIST },
-	{ "WERR_DNS_WARNING_PTR_CREATE_FAILED", WERR_DNS_WARNING_PTR_CREATE_FAILED },
-	{ "WERR_DNS_WARNING_DOMAIN_UNDELETED", WERR_DNS_WARNING_DOMAIN_UNDELETED },
-	{ "WERR_DNS_ERROR_DS_UNAVAILABLE", WERR_DNS_ERROR_DS_UNAVAILABLE },
-	{ "WERR_DNS_ERROR_DS_ZONE_ALREADY_EXISTS", WERR_DNS_ERROR_DS_ZONE_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE", WERR_DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE },
-	{ "WERR_DNS_INFO_AXFR_COMPLETE", WERR_DNS_INFO_AXFR_COMPLETE },
-	{ "WERR_DNS_ERROR_AXFR", WERR_DNS_ERROR_AXFR },
-	{ "WERR_DNS_INFO_ADDED_LOCAL_WINS", WERR_DNS_INFO_ADDED_LOCAL_WINS },
-	{ "WERR_DNS_STATUS_CONTINUE_NEEDED", WERR_DNS_STATUS_CONTINUE_NEEDED },
-	{ "WERR_DNS_ERROR_NO_TCPIP", WERR_DNS_ERROR_NO_TCPIP },
-	{ "WERR_DNS_ERROR_NO_DNS_SERVERS", WERR_DNS_ERROR_NO_DNS_SERVERS },
-	{ "WERR_DNS_ERROR_DP_DOES_NOT_EXIST", WERR_DNS_ERROR_DP_DOES_NOT_EXIST },
-	{ "WERR_DNS_ERROR_DP_ALREADY_EXISTS", WERR_DNS_ERROR_DP_ALREADY_EXISTS },
-	{ "WERR_DNS_ERROR_DP_NOT_ENLISTED", WERR_DNS_ERROR_DP_NOT_ENLISTED },
-	{ "WERR_DNS_ERROR_DP_ALREADY_ENLISTED", WERR_DNS_ERROR_DP_ALREADY_ENLISTED },
-	{ "WERR_DNS_ERROR_DP_NOT_AVAILABLE", WERR_DNS_ERROR_DP_NOT_AVAILABLE },
-	{ "WERR_DNS_ERROR_DP_FSMO_ERROR", WERR_DNS_ERROR_DP_FSMO_ERROR },
-	/*****************************************************************************
-	 Auto-generated Win32 error from:
-	 http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx
-	 *****************************************************************************/
-	/* BEGIN GENERATED-WIN32-ERROR-CODES */
-	{ "WERR_NERR_SUCCESS", WERR_NERR_SUCCESS },
-	{ "WERR_INVALID_FUNCTION", WERR_INVALID_FUNCTION },
-	{ "WERR_FILE_NOT_FOUND", WERR_FILE_NOT_FOUND },
-	{ "WERR_PATH_NOT_FOUND", WERR_PATH_NOT_FOUND },
-	{ "WERR_TOO_MANY_OPEN_FILES", WERR_TOO_MANY_OPEN_FILES },
-	{ "WERR_ACCESS_DENIED", WERR_ACCESS_DENIED },
-	{ "WERR_INVALID_HANDLE", WERR_INVALID_HANDLE },
-	{ "WERR_ARENA_TRASHED", WERR_ARENA_TRASHED },
-	{ "WERR_NOT_ENOUGH_MEMORY", WERR_NOT_ENOUGH_MEMORY },
-	{ "WERR_INVALID_BLOCK", WERR_INVALID_BLOCK },
-	{ "WERR_BAD_ENVIRONMENT", WERR_BAD_ENVIRONMENT },
-	{ "WERR_BAD_FORMAT", WERR_BAD_FORMAT },
-	{ "WERR_INVALID_ACCESS", WERR_INVALID_ACCESS },
-	{ "WERR_INVALID_DATA", WERR_INVALID_DATA },
-	{ "WERR_OUTOFMEMORY", WERR_OUTOFMEMORY },
-	{ "WERR_INVALID_DRIVE", WERR_INVALID_DRIVE },
-	{ "WERR_CURRENT_DIRECTORY", WERR_CURRENT_DIRECTORY },
-	{ "WERR_NOT_SAME_DEVICE", WERR_NOT_SAME_DEVICE },
-	{ "WERR_NO_MORE_FILES", WERR_NO_MORE_FILES },
-	{ "WERR_WRITE_PROTECT", WERR_WRITE_PROTECT },
-	{ "WERR_BAD_UNIT", WERR_BAD_UNIT },
-	{ "WERR_NOT_READY", WERR_NOT_READY },
-	{ "WERR_BAD_COMMAND", WERR_BAD_COMMAND },
-	{ "WERR_CRC", WERR_CRC },
-	{ "WERR_BAD_LENGTH", WERR_BAD_LENGTH },
-	{ "WERR_SEEK", WERR_SEEK },
-	{ "WERR_NOT_DOS_DISK", WERR_NOT_DOS_DISK },
-	{ "WERR_SECTOR_NOT_FOUND", WERR_SECTOR_NOT_FOUND },
-	{ "WERR_OUT_OF_PAPER", WERR_OUT_OF_PAPER },
-	{ "WERR_WRITE_FAULT", WERR_WRITE_FAULT },
-	{ "WERR_READ_FAULT", WERR_READ_FAULT },
-	{ "WERR_GEN_FAILURE", WERR_GEN_FAILURE },
-	{ "WERR_SHARING_VIOLATION", WERR_SHARING_VIOLATION },
-	{ "WERR_LOCK_VIOLATION", WERR_LOCK_VIOLATION },
-	{ "WERR_WRONG_DISK", WERR_WRONG_DISK },
-	{ "WERR_SHARING_BUFFER_EXCEEDED", WERR_SHARING_BUFFER_EXCEEDED },
-	{ "WERR_HANDLE_EOF", WERR_HANDLE_EOF },
-	{ "WERR_HANDLE_DISK_FULL", WERR_HANDLE_DISK_FULL },
-	{ "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED },
-	{ "WERR_REM_NOT_LIST", WERR_REM_NOT_LIST },
-	{ "WERR_DUP_NAME", WERR_DUP_NAME },
-	{ "WERR_BAD_NETPATH", WERR_BAD_NETPATH },
-	{ "WERR_NETWORK_BUSY", WERR_NETWORK_BUSY },
-	{ "WERR_DEV_NOT_EXIST", WERR_DEV_NOT_EXIST },
-	{ "WERR_TOO_MANY_CMDS", WERR_TOO_MANY_CMDS },
-	{ "WERR_ADAP_HDW_ERR", WERR_ADAP_HDW_ERR },
-	{ "WERR_BAD_NET_RESP", WERR_BAD_NET_RESP },
-	{ "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR },
-	{ "WERR_BAD_REM_ADAP", WERR_BAD_REM_ADAP },
-	{ "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL },
-	{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
-	{ "WERR_PRINT_CANCELLED", WERR_PRINT_CANCELLED },
-	{ "WERR_NETNAME_DELETED", WERR_NETNAME_DELETED },
-	{ "WERR_NETWORK_ACCESS_DENIED", WERR_NETWORK_ACCESS_DENIED },
-	{ "WERR_BAD_DEV_TYPE", WERR_BAD_DEV_TYPE },
-	{ "WERR_BAD_NET_NAME", WERR_BAD_NET_NAME },
-	{ "WERR_TOO_MANY_NAMES", WERR_TOO_MANY_NAMES },
-	{ "WERR_TOO_MANY_SESS", WERR_TOO_MANY_SESS },
-	{ "WERR_SHARING_PAUSED", WERR_SHARING_PAUSED },
-	{ "WERR_REQ_NOT_ACCEP", WERR_REQ_NOT_ACCEP },
-	{ "WERR_REDIR_PAUSED", WERR_REDIR_PAUSED },
-	{ "WERR_FILE_EXISTS", WERR_FILE_EXISTS },
-	{ "WERR_CANNOT_MAKE", WERR_CANNOT_MAKE },
-	{ "WERR_FAIL_I24", WERR_FAIL_I24 },
-	{ "WERR_OUT_OF_STRUCTURES", WERR_OUT_OF_STRUCTURES },
-	{ "WERR_ALREADY_ASSIGNED", WERR_ALREADY_ASSIGNED },
-	{ "WERR_INVALID_PASSWORD", WERR_INVALID_PASSWORD },
-	{ "WERR_INVALID_PARAMETER", WERR_INVALID_PARAMETER },
-	{ "WERR_NET_WRITE_FAULT", WERR_NET_WRITE_FAULT },
-	{ "WERR_NO_PROC_SLOTS", WERR_NO_PROC_SLOTS },
-	{ "WERR_TOO_MANY_SEMAPHORES", WERR_TOO_MANY_SEMAPHORES },
-	{ "WERR_EXCL_SEM_ALREADY_OWNED", WERR_EXCL_SEM_ALREADY_OWNED },
-	{ "WERR_SEM_IS_SET", WERR_SEM_IS_SET },
-	{ "WERR_TOO_MANY_SEM_REQUESTS", WERR_TOO_MANY_SEM_REQUESTS },
-	{ "WERR_INVALID_AT_INTERRUPT_TIME", WERR_INVALID_AT_INTERRUPT_TIME },
-	{ "WERR_SEM_OWNER_DIED", WERR_SEM_OWNER_DIED },
-	{ "WERR_SEM_USER_LIMIT", WERR_SEM_USER_LIMIT },
-	{ "WERR_DISK_CHANGE", WERR_DISK_CHANGE },
-	{ "WERR_DRIVE_LOCKED", WERR_DRIVE_LOCKED },
-	{ "WERR_BROKEN_PIPE", WERR_BROKEN_PIPE },
-	{ "WERR_OPEN_FAILED", WERR_OPEN_FAILED },
-	{ "WERR_BUFFER_OVERFLOW", WERR_BUFFER_OVERFLOW },
-	{ "WERR_DISK_FULL", WERR_DISK_FULL },
-	{ "WERR_NO_MORE_SEARCH_HANDLES", WERR_NO_MORE_SEARCH_HANDLES },
-	{ "WERR_INVALID_TARGET_HANDLE", WERR_INVALID_TARGET_HANDLE },
-	{ "WERR_INVALID_CATEGORY", WERR_INVALID_CATEGORY },
-	{ "WERR_INVALID_VERIFY_SWITCH", WERR_INVALID_VERIFY_SWITCH },
-	{ "WERR_BAD_DRIVER_LEVEL", WERR_BAD_DRIVER_LEVEL },
-	{ "WERR_CALL_NOT_IMPLEMENTED", WERR_CALL_NOT_IMPLEMENTED },
-	{ "WERR_SEM_TIMEOUT", WERR_SEM_TIMEOUT },
-	{ "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER },
-	{ "WERR_INVALID_NAME", WERR_INVALID_NAME },
-	{ "WERR_INVALID_LEVEL", WERR_INVALID_LEVEL },
-	{ "WERR_NO_VOLUME_LABEL", WERR_NO_VOLUME_LABEL },
-	{ "WERR_MOD_NOT_FOUND", WERR_MOD_NOT_FOUND },
-	{ "WERR_PROC_NOT_FOUND", WERR_PROC_NOT_FOUND },
-	{ "WERR_WAIT_NO_CHILDREN", WERR_WAIT_NO_CHILDREN },
-	{ "WERR_CHILD_NOT_COMPLETE", WERR_CHILD_NOT_COMPLETE },
-	{ "WERR_DIRECT_ACCESS_HANDLE", WERR_DIRECT_ACCESS_HANDLE },
-	{ "WERR_NEGATIVE_SEEK", WERR_NEGATIVE_SEEK },
-	{ "WERR_SEEK_ON_DEVICE", WERR_SEEK_ON_DEVICE },
-	{ "WERR_NOT_SUBSTED", WERR_NOT_SUBSTED },
-	{ "WERR_JOIN_TO_JOIN", WERR_JOIN_TO_JOIN },
-	{ "WERR_SUBST_TO_SUBST", WERR_SUBST_TO_SUBST },
-	{ "WERR_JOIN_TO_SUBST", WERR_JOIN_TO_SUBST },
-	{ "WERR_SAME_DRIVE", WERR_SAME_DRIVE },
-	{ "WERR_DIR_NOT_ROOT", WERR_DIR_NOT_ROOT },
-	{ "WERR_DIR_NOT_EMPTY", WERR_DIR_NOT_EMPTY },
-	{ "WERR_IS_SUBST_PATH", WERR_IS_SUBST_PATH },
-	{ "WERR_IS_JOIN_PATH", WERR_IS_JOIN_PATH },
-	{ "WERR_PATH_BUSY", WERR_PATH_BUSY },
-	{ "WERR_IS_SUBST_TARGET", WERR_IS_SUBST_TARGET },
-	{ "WERR_SYSTEM_TRACE", WERR_SYSTEM_TRACE },
-	{ "WERR_INVALID_EVENT_COUNT", WERR_INVALID_EVENT_COUNT },
-	{ "WERR_TOO_MANY_MUXWAITERS", WERR_TOO_MANY_MUXWAITERS },
-	{ "WERR_INVALID_LIST_FORMAT", WERR_INVALID_LIST_FORMAT },
-	{ "WERR_LABEL_TOO_LONG", WERR_LABEL_TOO_LONG },
-	{ "WERR_TOO_MANY_TCBS", WERR_TOO_MANY_TCBS },
-	{ "WERR_SIGNAL_REFUSED", WERR_SIGNAL_REFUSED },
-	{ "WERR_DISCARDED", WERR_DISCARDED },
-	{ "WERR_NOT_LOCKED", WERR_NOT_LOCKED },
-	{ "WERR_BAD_THREADID_ADDR", WERR_BAD_THREADID_ADDR },
-	{ "WERR_BAD_ARGUMENTS", WERR_BAD_ARGUMENTS },
-	{ "WERR_BAD_PATHNAME", WERR_BAD_PATHNAME },
-	{ "WERR_SIGNAL_PENDING", WERR_SIGNAL_PENDING },
-	{ "WERR_MAX_THRDS_REACHED", WERR_MAX_THRDS_REACHED },
-	{ "WERR_LOCK_FAILED", WERR_LOCK_FAILED },
-	{ "WERR_BUSY", WERR_BUSY },
-	{ "WERR_CANCEL_VIOLATION", WERR_CANCEL_VIOLATION },
-	{ "WERR_ATOMIC_LOCKS_NOT_SUPPORTED", WERR_ATOMIC_LOCKS_NOT_SUPPORTED },
-	{ "WERR_INVALID_SEGMENT_NUMBER", WERR_INVALID_SEGMENT_NUMBER },
-	{ "WERR_INVALID_ORDINAL", WERR_INVALID_ORDINAL },
-	{ "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS },
-	{ "WERR_INVALID_FLAG_NUMBER", WERR_INVALID_FLAG_NUMBER },
-	{ "WERR_SEM_NOT_FOUND", WERR_SEM_NOT_FOUND },
-	{ "WERR_INVALID_STARTING_CODESEG", WERR_INVALID_STARTING_CODESEG },
-	{ "WERR_INVALID_STACKSEG", WERR_INVALID_STACKSEG },
-	{ "WERR_INVALID_MODULETYPE", WERR_INVALID_MODULETYPE },
-	{ "WERR_INVALID_EXE_SIGNATURE", WERR_INVALID_EXE_SIGNATURE },
-	{ "WERR_EXE_MARKED_INVALID", WERR_EXE_MARKED_INVALID },
-	{ "WERR_BAD_EXE_FORMAT", WERR_BAD_EXE_FORMAT },
-	{ "WERR_ITERATED_DATA_EXCEEDS_64K", WERR_ITERATED_DATA_EXCEEDS_64K },
-	{ "WERR_INVALID_MINALLOCSIZE", WERR_INVALID_MINALLOCSIZE },
-	{ "WERR_DYNLINK_FROM_INVALID_RING", WERR_DYNLINK_FROM_INVALID_RING },
-	{ "WERR_IOPL_NOT_ENABLED", WERR_IOPL_NOT_ENABLED },
-	{ "WERR_INVALID_SEGDPL", WERR_INVALID_SEGDPL },
-	{ "WERR_AUTODATASEG_EXCEEDS_64K", WERR_AUTODATASEG_EXCEEDS_64K },
-	{ "WERR_RING2SEG_MUST_BE_MOVABLE", WERR_RING2SEG_MUST_BE_MOVABLE },
-	{ "WERR_RELOC_CHAIN_XEEDS_SEGLIM", WERR_RELOC_CHAIN_XEEDS_SEGLIM },
-	{ "WERR_INFLOOP_IN_RELOC_CHAIN", WERR_INFLOOP_IN_RELOC_CHAIN },
-	{ "WERR_ENVVAR_NOT_FOUND", WERR_ENVVAR_NOT_FOUND },
-	{ "WERR_NO_SIGNAL_SENT", WERR_NO_SIGNAL_SENT },
-	{ "WERR_FILENAME_EXCED_RANGE", WERR_FILENAME_EXCED_RANGE },
-	{ "WERR_RING2_STACK_IN_USE", WERR_RING2_STACK_IN_USE },
-	{ "WERR_META_EXPANSION_TOO_LONG", WERR_META_EXPANSION_TOO_LONG },
-	{ "WERR_INVALID_SIGNAL_NUMBER", WERR_INVALID_SIGNAL_NUMBER },
-	{ "WERR_THREAD_1_INACTIVE", WERR_THREAD_1_INACTIVE },
-	{ "WERR_LOCKED", WERR_LOCKED },
-	{ "WERR_TOO_MANY_MODULES", WERR_TOO_MANY_MODULES },
-	{ "WERR_NESTING_NOT_ALLOWED", WERR_NESTING_NOT_ALLOWED },
-	{ "WERR_EXE_MACHINE_TYPE_MISMATCH", WERR_EXE_MACHINE_TYPE_MISMATCH },
-	{ "WERR_EXE_CANNOT_MODIFY_SIGNED_BINARY", WERR_EXE_CANNOT_MODIFY_SIGNED_BINARY },
-	{ "WERR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY", WERR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY },
-	{ "WERR_FILE_CHECKED_OUT", WERR_FILE_CHECKED_OUT },
-	{ "WERR_CHECKOUT_REQUIRED", WERR_CHECKOUT_REQUIRED },
-	{ "WERR_BAD_FILE_TYPE", WERR_BAD_FILE_TYPE },
-	{ "WERR_FILE_TOO_LARGE", WERR_FILE_TOO_LARGE },
-	{ "WERR_FORMS_AUTH_REQUIRED", WERR_FORMS_AUTH_REQUIRED },
-	{ "WERR_VIRUS_INFECTED", WERR_VIRUS_INFECTED },
-	{ "WERR_VIRUS_DELETED", WERR_VIRUS_DELETED },
-	{ "WERR_PIPE_LOCAL", WERR_PIPE_LOCAL },
-	{ "WERR_BAD_PIPE", WERR_BAD_PIPE },
-	{ "WERR_PIPE_BUSY", WERR_PIPE_BUSY },
-	{ "WERR_NO_DATA", WERR_NO_DATA },
-	{ "WERR_PIPE_NOT_CONNECTED", WERR_PIPE_NOT_CONNECTED },
-	{ "WERR_MORE_DATA", WERR_MORE_DATA },
-	{ "WERR_VC_DISCONNECTED", WERR_VC_DISCONNECTED },
-	{ "WERR_INVALID_EA_NAME", WERR_INVALID_EA_NAME },
-	{ "WERR_EA_LIST_INCONSISTENT", WERR_EA_LIST_INCONSISTENT },
-	{ "WERR_WAIT_TIMEOUT", WERR_WAIT_TIMEOUT },
-	{ "WERR_NO_MORE_ITEMS", WERR_NO_MORE_ITEMS },
-	{ "WERR_CANNOT_COPY", WERR_CANNOT_COPY },
-	{ "WERR_DIRECTORY", WERR_DIRECTORY },
-	{ "WERR_EAS_DIDNT_FIT", WERR_EAS_DIDNT_FIT },
-	{ "WERR_EA_FILE_CORRUPT", WERR_EA_FILE_CORRUPT },
-	{ "WERR_EA_TABLE_FULL", WERR_EA_TABLE_FULL },
-	{ "WERR_INVALID_EA_HANDLE", WERR_INVALID_EA_HANDLE },
-	{ "WERR_EAS_NOT_SUPPORTED", WERR_EAS_NOT_SUPPORTED },
-	{ "WERR_NOT_OWNER", WERR_NOT_OWNER },
-	{ "WERR_TOO_MANY_POSTS", WERR_TOO_MANY_POSTS },
-	{ "WERR_PARTIAL_COPY", WERR_PARTIAL_COPY },
-	{ "WERR_OPLOCK_NOT_GRANTED", WERR_OPLOCK_NOT_GRANTED },
-	{ "WERR_INVALID_OPLOCK_PROTOCOL", WERR_INVALID_OPLOCK_PROTOCOL },
-	{ "WERR_DISK_TOO_FRAGMENTED", WERR_DISK_TOO_FRAGMENTED },
-	{ "WERR_DELETE_PENDING", WERR_DELETE_PENDING },
-	{ "WERR_MR_MID_NOT_FOUND", WERR_MR_MID_NOT_FOUND },
-	{ "WERR_SCOPE_NOT_FOUND", WERR_SCOPE_NOT_FOUND },
-	{ "WERR_FAIL_NOACTION_REBOOT", WERR_FAIL_NOACTION_REBOOT },
-	{ "WERR_FAIL_SHUTDOWN", WERR_FAIL_SHUTDOWN },
-	{ "WERR_FAIL_RESTART", WERR_FAIL_RESTART },
-	{ "WERR_MAX_SESSIONS_REACHED", WERR_MAX_SESSIONS_REACHED },
-	{ "WERR_THREAD_MODE_ALREADY_BACKGROUND", WERR_THREAD_MODE_ALREADY_BACKGROUND },
-	{ "WERR_THREAD_MODE_NOT_BACKGROUND", WERR_THREAD_MODE_NOT_BACKGROUND },
-	{ "WERR_PROCESS_MODE_ALREADY_BACKGROUND", WERR_PROCESS_MODE_ALREADY_BACKGROUND },
-	{ "WERR_PROCESS_MODE_NOT_BACKGROUND", WERR_PROCESS_MODE_NOT_BACKGROUND },
-	{ "WERR_INVALID_ADDRESS", WERR_INVALID_ADDRESS },
-	{ "WERR_USER_PROFILE_LOAD", WERR_USER_PROFILE_LOAD },
-	{ "WERR_ARITHMETIC_OVERFLOW", WERR_ARITHMETIC_OVERFLOW },
-	{ "WERR_PIPE_CONNECTED", WERR_PIPE_CONNECTED },
-	{ "WERR_PIPE_LISTENING", WERR_PIPE_LISTENING },
-	{ "WERR_VERIFIER_STOP", WERR_VERIFIER_STOP },
-	{ "WERR_ABIOS_ERROR", WERR_ABIOS_ERROR },
-	{ "WERR_WX86_WARNING", WERR_WX86_WARNING },
-	{ "WERR_WX86_ERROR", WERR_WX86_ERROR },
-	{ "WERR_TIMER_NOT_CANCELED", WERR_TIMER_NOT_CANCELED },
-	{ "WERR_UNWIND", WERR_UNWIND },
-	{ "WERR_BAD_STACK", WERR_BAD_STACK },
-	{ "WERR_INVALID_UNWIND_TARGET", WERR_INVALID_UNWIND_TARGET },
-	{ "WERR_INVALID_PORT_ATTRIBUTES", WERR_INVALID_PORT_ATTRIBUTES },
-	{ "WERR_PORT_MESSAGE_TOO_LONG", WERR_PORT_MESSAGE_TOO_LONG },
-	{ "WERR_INVALID_QUOTA_LOWER", WERR_INVALID_QUOTA_LOWER },
-	{ "WERR_DEVICE_ALREADY_ATTACHED", WERR_DEVICE_ALREADY_ATTACHED },
-	{ "WERR_INSTRUCTION_MISALIGNMENT", WERR_INSTRUCTION_MISALIGNMENT },
-	{ "WERR_PROFILING_NOT_STARTED", WERR_PROFILING_NOT_STARTED },
-	{ "WERR_PROFILING_NOT_STOPPED", WERR_PROFILING_NOT_STOPPED },
-	{ "WERR_COULD_NOT_INTERPRET", WERR_COULD_NOT_INTERPRET },
-	{ "WERR_PROFILING_AT_LIMIT", WERR_PROFILING_AT_LIMIT },
-	{ "WERR_CANT_WAIT", WERR_CANT_WAIT },
-	{ "WERR_CANT_TERMINATE_SELF", WERR_CANT_TERMINATE_SELF },
-	{ "WERR_UNEXPECTED_MM_CREATE_ERR", WERR_UNEXPECTED_MM_CREATE_ERR },
-	{ "WERR_UNEXPECTED_MM_MAP_ERROR", WERR_UNEXPECTED_MM_MAP_ERROR },
-	{ "WERR_UNEXPECTED_MM_EXTEND_ERR", WERR_UNEXPECTED_MM_EXTEND_ERR },
-	{ "WERR_BAD_FUNCTION_TABLE", WERR_BAD_FUNCTION_TABLE },
-	{ "WERR_NO_GUID_TRANSLATION", WERR_NO_GUID_TRANSLATION },
-	{ "WERR_INVALID_LDT_SIZE", WERR_INVALID_LDT_SIZE },
-	{ "WERR_INVALID_LDT_OFFSET", WERR_INVALID_LDT_OFFSET },
-	{ "WERR_INVALID_LDT_DESCRIPTOR", WERR_INVALID_LDT_DESCRIPTOR },
-	{ "WERR_TOO_MANY_THREADS", WERR_TOO_MANY_THREADS },
-	{ "WERR_THREAD_NOT_IN_PROCESS", WERR_THREAD_NOT_IN_PROCESS },
-	{ "WERR_PAGEFILE_QUOTA_EXCEEDED", WERR_PAGEFILE_QUOTA_EXCEEDED },
-	{ "WERR_LOGON_SERVER_CONFLICT", WERR_LOGON_SERVER_CONFLICT },
-	{ "WERR_SYNCHRONIZATION_REQUIRED", WERR_SYNCHRONIZATION_REQUIRED },
-	{ "WERR_NET_OPEN_FAILED", WERR_NET_OPEN_FAILED },
-	{ "WERR_IO_PRIVILEGE_FAILED", WERR_IO_PRIVILEGE_FAILED },
-	{ "WERR_CONTROL_C_EXIT", WERR_CONTROL_C_EXIT },
-	{ "WERR_MISSING_SYSTEMFILE", WERR_MISSING_SYSTEMFILE },
-	{ "WERR_UNHANDLED_EXCEPTION", WERR_UNHANDLED_EXCEPTION },
-	{ "WERR_APP_INIT_FAILURE", WERR_APP_INIT_FAILURE },
-	{ "WERR_PAGEFILE_CREATE_FAILED", WERR_PAGEFILE_CREATE_FAILED },
-	{ "WERR_INVALID_IMAGE_HASH", WERR_INVALID_IMAGE_HASH },
-	{ "WERR_NO_PAGEFILE", WERR_NO_PAGEFILE },
-	{ "WERR_ILLEGAL_FLOAT_CONTEXT", WERR_ILLEGAL_FLOAT_CONTEXT },
-	{ "WERR_NO_EVENT_PAIR", WERR_NO_EVENT_PAIR },
-	{ "WERR_DOMAIN_CTRLR_CONFIG_ERROR", WERR_DOMAIN_CTRLR_CONFIG_ERROR },
-	{ "WERR_ILLEGAL_CHARACTER", WERR_ILLEGAL_CHARACTER },
-	{ "WERR_UNDEFINED_CHARACTER", WERR_UNDEFINED_CHARACTER },
-	{ "WERR_FLOPPY_VOLUME", WERR_FLOPPY_VOLUME },
-	{ "WERR_BIOS_FAILED_TO_CONNECT_INTERRUPT", WERR_BIOS_FAILED_TO_CONNECT_INTERRUPT },
-	{ "WERR_BACKUP_CONTROLLER", WERR_BACKUP_CONTROLLER },
-	{ "WERR_MUTANT_LIMIT_EXCEEDED", WERR_MUTANT_LIMIT_EXCEEDED },
-	{ "WERR_FS_DRIVER_REQUIRED", WERR_FS_DRIVER_REQUIRED },
-	{ "WERR_CANNOT_LOAD_REGISTRY_FILE", WERR_CANNOT_LOAD_REGISTRY_FILE },
-	{ "WERR_DEBUG_ATTACH_FAILED", WERR_DEBUG_ATTACH_FAILED },
-	{ "WERR_SYSTEM_PROCESS_TERMINATED", WERR_SYSTEM_PROCESS_TERMINATED },
-	{ "WERR_DATA_NOT_ACCEPTED", WERR_DATA_NOT_ACCEPTED },
-	{ "WERR_VDM_HARD_ERROR", WERR_VDM_HARD_ERROR },
-	{ "WERR_DRIVER_CANCEL_TIMEOUT", WERR_DRIVER_CANCEL_TIMEOUT },
-	{ "WERR_REPLY_MESSAGE_MISMATCH", WERR_REPLY_MESSAGE_MISMATCH },
-	{ "WERR_LOST_WRITEBEHIND_DATA", WERR_LOST_WRITEBEHIND_DATA },
-	{ "WERR_CLIENT_SERVER_PARAMETERS_INVALID", WERR_CLIENT_SERVER_PARAMETERS_INVALID },
-	{ "WERR_NOT_TINY_STREAM", WERR_NOT_TINY_STREAM },
-	{ "WERR_STACK_OVERFLOW_READ", WERR_STACK_OVERFLOW_READ },
-	{ "WERR_CONVERT_TO_LARGE", WERR_CONVERT_TO_LARGE },
-	{ "WERR_FOUND_OUT_OF_SCOPE", WERR_FOUND_OUT_OF_SCOPE },
-	{ "WERR_ALLOCATE_BUCKET", WERR_ALLOCATE_BUCKET },


-- 
Samba Shared Repository



More information about the samba-cvs mailing list