diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-09-17 04:53:02 +0300 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-17 07:18:31 +0200 |
commit | fc1ac736d6c7b1e647890255d4217609f45dcb77 (patch) | |
tree | 6844089237f0d0064040e83e111b133d3cf10f5e /libcli/util | |
parent | 1cfac63fa4335b45b9c722316a45b2b187de78a0 (diff) | |
download | samba-fc1ac736d6c7b1e647890255d4217609f45dcb77.tar.gz samba-fc1ac736d6c7b1e647890255d4217609f45dcb77.tar.bz2 samba-fc1ac736d6c7b1e647890255d4217609f45dcb77.zip |
w32err: NERR_ codes grouped together
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/util')
-rw-r--r-- | libcli/util/werror.h | 18 |
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) |