summaryrefslogtreecommitdiff
path: root/libcli/util
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/util')
-rw-r--r--libcli/util/werror.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index f559c673ab..feda7fb489 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -160,13 +160,8 @@ typedef uint32_t WERROR;
#define WERR_INVALID_FORM_SIZE W_ERROR(1903)
#define WERR_PASSWORD_MUST_CHANGE W_ERROR(1907)
#define WERR_ACCOUNT_LOCKED_OUT W_ERROR(1909)
-#define WERR_ALREADY_SHARED W_ERROR(2118)
-#define WERR_NOT_CONNECTED W_ERROR(2250)
-#define WERR_NAME_NOT_FOUND W_ERROR(2273)
-#define WERR_SESSION_NOT_FOUND W_ERROR(2312)
-#define WERR_FID_NOT_FOUND W_ERROR(2314)
-#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453)
-#define WERR_TIME_DIFF_AT_DC W_ERROR(2457)
+
+#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) /* Error code is wrong, should be 0x00000774 (1908)*/
#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319)
#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105)
@@ -204,8 +199,6 @@ typedef uint32_t WERROR;
#define WERR_CM_NO_MORE_HW_PROFILES W_ERROR(35)
#define WERR_CM_NO_SUCH_VALUE W_ERROR(37)
-#define WERR_DEVICE_NOT_SHARED W_ERROR(NERR_BASE+211)
-
/* DFS errors */
#ifndef NERR_BASE
@@ -217,14 +210,21 @@ typedef uint32_t WERROR;
#endif
#define WERR_BUF_TOO_SMALL W_ERROR(NERR_BASE+23)
+#define WERR_ALREADY_SHARED W_ERROR(2118)
#define WERR_JOB_NOT_FOUND W_ERROR(NERR_BASE+51)
#define WERR_DEST_NOT_FOUND W_ERROR(NERR_BASE+52)
#define WERR_GROUP_NOT_FOUND W_ERROR(NERR_BASE+120)
#define WERR_USER_NOT_FOUND W_ERROR(NERR_BASE+121)
#define WERR_USER_EXISTS W_ERROR(NERR_BASE+124)
+#define WERR_NOT_CONNECTED W_ERROR(2250)
+#define WERR_NAME_NOT_FOUND W_ERROR(2273)
#define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210)
+#define WERR_SESSION_NOT_FOUND W_ERROR(2312)
+#define WERR_DEVICE_NOT_SHARED W_ERROR(NERR_BASE+211)
+#define WERR_FID_NOT_FOUND W_ERROR(2314)
#define WERR_NOT_LOCAL_DOMAIN W_ERROR(NERR_BASE+220)
#define WERR_DC_NOT_FOUND W_ERROR(NERR_BASE+353)
+#define WERR_TIME_DIFF_AT_DC W_ERROR(2457)
#define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562)
#define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565)
#define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573)