Günther Deschner
c388fc0435
werror: removed WERR_INVALID_SECURITY_DESCRIPTOR (unused, already known as WERR_INVALID_SECURITY_DESCR)
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:25 +02:00
Günther Deschner
00bf5323e0
werror: removed WERR_USER_NOT_IN_GROUP (unused, already known as WERR_MEMBER_NOT_IN_GROUP)
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:25 +02:00
Günther Deschner
cbc3adffe7
werror: removed WERR_USER_ALREADY_EXISTS (unused, already known as WERR_USER_EXISTS)
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:25 +02:00
Günther Deschner
5ffa3d862a
werror: removed WERR_NO_SUCH_SERVICE
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:24 +02:00
Günther Deschner
52c8e96201
werror: removed WERR_OBJECT_PATH_INVALID
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:24 +02:00
Günther Deschner
846db3aad0
werror: removed WERR_REG_FILE_INVALID
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:24 +02:00
Günther Deschner
d83233825c
werror: removed WERR_REG_IO_FAILURE
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:24 +02:00
Günther Deschner
c80ac76f81
werror: removed WERR_REG_CORRUPT
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:23 +02:00
Günther Deschner
643f905891
werror: removed WERR_INVALID_PARAM
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:23 +02:00
Günther Deschner
c9e42d7a06
werror: removed WERR_NO_SUCH_SHARE
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:22 +02:00
Günther Deschner
eb875ca9ee
werror: removed WERR_DEVICE_NOT_EXIST (unused, already known as WERR_DEV_NOT_EXIST 0x00000037)
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:21 +02:00
Günther Deschner
8c6d67c4e8
werror: removed WERR_GENERAL_FAILURE
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:21 +02:00
Günther Deschner
3e0b394536
werror: removed WERR_NOMEM
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:20 +02:00
Günther Deschner
4e9207c486
werror: removed WERR_BADFID
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
2016-09-28 00:04:18 +02:00
Günther Deschner
7f0ff3cfd0
werror: removed WERR_BADFILE
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:17 +02:00
Günther Deschner
2c5de98659
werror: removed WERR_BADFUNC
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:17 +02:00
Günther Deschner
b2ab826ccb
werror: use (generated) WERR_GEN_FAILURE as alias for WERR_FOOBAR
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:16 +02:00
Günther Deschner
91046e562d
werror: use WERR_NOT_ENOUGH_MEMORY in WERROR macros.
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:16 +02:00
Günther Deschner
217ae44f8a
werror: add new DS error codes.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:16 +02:00
Stefan Metzmacher
0dbf1d4c40
libcli/util: remove unused WERR_BAD_PASSWORD
...
The values are the same, but WERR_INVALID_PASSWORD matches the documentation.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-03-27 01:26:17 +01:00
Stefan Metzmacher
d620f462ff
libcli/util: let WERR_UNKNOWN_LEVEL be an alias to WERR_INVALID_LEVEL
...
WERR_INVALID_LEVEL is the documented name that should be printed
in logs.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-03-27 01:26:15 +01:00
David Disseldorp
af6bf7714d
lib: use differing NTSTATUS and WERROR struct members
...
This allows the compiler to catch uses of incorrectly typed arguments
for [NT_STATUS|W_ERROR]_IS_OK() and [NT_STATUS|W_ERROR]_EQUAL(). I.e.
WERROR werr;
werr = my_fn(); /* XXX returns WERROR type */
if (NT_STATUS_EQUAL(werr, NT_STATUS_OBJECT_NAME_COLLISION)) {
2012-01-23 12:18:20 -08:00
Amitay Isaacs
51855de633
werror: Added missing DNS error codes
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20 05:53:05 +02:00
Michael Adam
a3538b92d3
werror: remove duplicate definition of WERR_INVALID_OWNER
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104
2011-08-26 01:23:52 +02:00
Kai Blin
eeac222398
s4 dns: Import DNS win32 error codes from MS-ERREF
2010-10-23 10:17:05 +00:00
Kamen Mazdrashki
1fac1f0d28
werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macro
2010-09-18 15:09:46 +03:00
Matthias Dieter Wallnöfer
7ffae93762
werror.h - fix order and duplicate DS error codes
2010-08-14 19:41:46 +02:00
Kamen Mazdrashki
1f2490e7d8
w32err: Importing auto-generated Win32 errors and descriptions
...
Error codes and their descriptions are generated
using w32err_code.py script.
Error are downloaded from MS site:
http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:41 +03:00
Kamen Mazdrashki
0e1840b84a
w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUND
...
In Win 32 we have
NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently
and we have
ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:41 +03:00
Kamen Mazdrashki
948cd70bad
w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS name
...
In Win32 we have
NERR_UserExists which maps to WERR_USER_EXISTS currently
and there is
ERROR_USER_EXISTS which maps to WERR_USER_ALREADY_EXISTS
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:40 +03:00
Kamen Mazdrashki
d9994a604b
w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUND
...
It turns out in win32 ERROR_DC_NOT_FOUND exists and it is
an error for Device Context (DC), not Domain Controller
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:40 +03:00
Kamen Mazdrashki
0e64fcb18f
w32err: FRS_ group of errors replaced with numeric values
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:40 +03:00
Kamen Mazdrashki
e669113900
w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixed
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:40 +03:00
Kamen Mazdrashki
8bebce45d3
w32err: Set hex format values for all errors
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 07:18:46 +02:00
Kamen Mazdrashki
3f835eb947
w32err: Re-define errors with numeric values
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 07:18:41 +02:00
Kamen Mazdrashki
91d3d3c6a2
w32err: Sorting error codes in ascending order
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 07:18:36 +02:00
Kamen Mazdrashki
fc1ac736d6
w32err: NERR_ codes grouped together
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 07:18:31 +02:00
Kamen Mazdrashki
1cfac63fa4
w32err: WERR_CLASS_NOT_REGISTERED updated
...
Error code move to COM/OLE group.
Error value changed to as REGDB_E_CLASSNOTREG in Windows
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 07:18:29 +02:00
Matthias Dieter Wallnöfer
a08bffa358
Adds new error codes (needed for enhancing error messages for SAMBA 4 AD LDAP server)
2009-07-31 17:40:46 +02:00
Günther Deschner
e7a8577df1
error-codes: add some more group specific windows error codes.
...
Guenther
2009-05-05 21:10:02 +02:00
Günther Deschner
43eb50655e
error-codes: add WERR_CM_INVALID_POINTER.
...
Guenther
2009-04-10 01:06:55 +02:00
Günther Deschner
cc98d3ae9f
error-codes: add some service related error codes.
...
Patch initially from: Danny Tylman <danny.tylman@insightix.com>
Guenther
2009-04-08 21:54:28 +02:00
Günther Deschner
5603c0f2ba
error-codes: add WERR_DS_DRA_SOURCE_DISABLED.
...
Guenther
2009-03-26 14:52:22 +01:00
Günther Deschner
db728c1ade
error-codes: add WERR_DEVICE_NOT_CONNECTED.
...
Guenther
2009-03-02 14:24:57 +01:00
Michael Adam
51795b723e
libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)
...
a goto destination can be specified as a second parameter.
Michael
2009-02-26 13:22:54 +01:00
Michael Adam
6c197ffa30
s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.h
...
Michael
2009-02-26 13:22:54 +01:00
Günther Deschner
1a9bb33a7d
error-codes: add WERR_INVALID_USER_BUFFER.
...
Guenther
2009-02-24 01:01:57 +01:00
Günther Deschner
aa6af1fe26
errors: add WERR_CM_BUFFER_SMALL.
...
Guenther
2008-11-12 10:17:46 +01:00
Günther Deschner
0be668f147
doserr: add WERR_NO_TRUST_SAM_ACCOUNT.
...
Guenther
2008-11-06 13:40:47 +01:00
Jelmer Vernooij
7ec720af71
Use shared doserr.c.
2008-11-01 17:28:16 +01:00