diff options
author | Günther Deschner <gd@samba.org> | 2009-04-08 21:43:57 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-08 21:54:28 +0200 |
commit | cc98d3ae9f5c1aa29a6ccda2f88351431849e9fd (patch) | |
tree | d920cd32051bb0b7a758718faba5066a7325988a /libcli | |
parent | 0be30e8ced4fd9a3afb72ee211cdcd2a66709f13 (diff) | |
download | samba-cc98d3ae9f5c1aa29a6ccda2f88351431849e9fd.tar.gz samba-cc98d3ae9f5c1aa29a6ccda2f88351431849e9fd.tar.bz2 samba-cc98d3ae9f5c1aa29a6ccda2f88351431849e9fd.zip |
error-codes: add some service related error codes.
Patch initially from: Danny Tylman <danny.tylman@insightix.com>
Guenther
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/util/doserr.c | 3 | ||||
-rw-r--r-- | libcli/util/werror.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index 1a7422e3f6..1151d3236b 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -168,7 +168,10 @@ static const struct werror_code_struct dos_errs[] = { "WERR_REG_FILE_INVALID", WERR_REG_FILE_INVALID }, { "WERR_NO_SUCH_SERVICE", WERR_NO_SUCH_SERVICE }, { "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED }, + { "WERR_SERVICE_MARKED_FOR_DELETE", WERR_SERVICE_MARKED_FOR_DELETE }, + { "WERR_SERVICE_EXISTS", WERR_SERVICE_EXISTS }, { "WERR_SERVICE_NEVER_STARTED", WERR_SERVICE_NEVER_STARTED }, + { "WERR_DUPLICATE_SERVICE_NAME", WERR_DUPLICATE_SERVICE_NAME }, { "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE }, { "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT }, { "WERR_UNKNOWN_PRINT_MONITOR", WERR_UNKNOWN_PRINT_MONITOR }, diff --git a/libcli/util/werror.h b/libcli/util/werror.h index a69587f361..ede4996064 100644 --- a/libcli/util/werror.h +++ b/libcli/util/werror.h @@ -113,7 +113,10 @@ typedef uint32_t WERROR; #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) #define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056) #define WERR_SERVICE_DISABLED W_ERROR(1058) +#define WERR_SERVICE_MARKED_FOR_DELETE W_ERROR(1072) +#define WERR_SERVICE_EXISTS W_ERROR(1073) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) +#define WERR_DUPLICATE_SERVICE_NAME W_ERROR(1078) #define WERR_DEVICE_NOT_CONNECTED W_ERROR(1167) #define WERR_NOT_FOUND W_ERROR(1168) #define WERR_INVALID_COMPUTERNAME W_ERROR(1210) |