[PATCH] Update werror error table

Andreas Schneider asn at samba.org
Tue Jun 6 14:32:10 UTC 2017


On Tuesday, 6 June 2017 16:10:44 CEST Andreas Schneider via samba-technical 
wrote:
> Hi,
> 
> the attached patch updates the werror table to the latest version so we have
> ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED.

I forgot to add a hunk. Updated patch attached!

> 
> Review and push appreciated.
> 
> 
> Thanks,
> 
> 
> 	Andreas


-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
>From 7f90eb939195767b2b7049f32f54977a9cb49a57 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn at samba.org>
Date: Tue, 6 Jun 2017 16:07:10 +0200
Subject: [PATCH] libcli:util: Update werror table

This adds ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED for MS-PAR.

Signed-off-by: Andreas Schneider <asn at samba.org>
---
 libcli/util/werror.h             | 3 ---
 libcli/util/werror_err_table.txt | 8 +++++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index c25a4ab4138..d3d3327aef9 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -140,9 +140,6 @@ typedef uint32_t WERROR;
 #define WERR_DNS_ERROR_DNAME_COLLISION  W_ERROR(0x000025F9)
 #define WERR_DNS_ERROR_ALIAS_LOOP       W_ERROR(0x000025FA)
 
-/* Typo in the windows error table.. */
-#define WERR_DS_INVALID_ATTRIBUTE_SYNTAX        WERR_DS_INVALID_ATTRIBUTE_YNTAX
-
 /* Configuration Manager Errors */
 /* Basically Win32 errors meanings are specific to the \ntsvcs pipe */
 #define WERR_CM_INVALID_POINTER W_ERROR(3)
diff --git a/libcli/util/werror_err_table.txt b/libcli/util/werror_err_table.txt
index 8adb55a7d67..5a110ff4a3e 100644
--- a/libcli/util/werror_err_table.txt
+++ b/libcli/util/werror_err_table.txt
@@ -9919,6 +9919,12 @@ ERROR_FAIL_REBOOT_INITIATED
 
 The requested operation failed. A system reboot has been initiated to roll back changes made.
 
+0x00000BCB
+ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED
+	
+
+The specified printer driver was not found on the system and needs to be downloaded.
+
 0x00000F6E
 
 ERROR_IO_REISSUE_AS_CACHED
@@ -12924,7 +12930,7 @@ The specified directory service attribute or value does not exist.
 
 0x0000200B
 
-ERROR_DS_INVALID_ATTRIBUTE_YNTAX
+ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
 	
 
 The attribute syntax specified to the directory service is invalid.
-- 
2.13.0



More information about the samba-technical mailing list