Michael Adam
d3ed269074
libcli: add new NTSTATUS codes from SMB 3.1
...
NT_STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP
NT_STATUS_SMB_BAD_CLUSTER_DIALECT
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2015-05-08 13:00:27 +02:00
Richard Sharpe
e4c27cb4bb
Add a status code for VHD support gleaned from some Win8.1 stuff.
...
Signed-off-by: Richard Sharpe (rsharpe@samba.org )
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-10-06 19:18:05 +02:00
Volker Lendecke
6ce6262014
lib: Make nt_err_code_struct private
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 17 02:56:54 CEST 2014 on sn-devel-104
2014-09-17 02:56:54 +02:00
Noel Power
e9522b5ee3
Add error codes and message descriptions for NTSTATUS
...
Error codes and descriptions were autogenerated from [MS-ERREF]
see http://msdn.microsoft.com/en-us/library/cc704588.aspx
Additionally some missing error descriptions for existing errors were
identified and generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-04-02 20:25:07 +02:00
Noel Power
983fc4e4a4
Use correct error code value for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE
...
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-04-02 20:25:07 +02:00
Andrew Bartlett
f580a7c4ff
libcli: Add warning about flow control changing macros in ntstatus.h
...
Change-Id: I49fec82e55b6bc59d5c0f157df90005f7d891c66
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-03-05 16:33:22 +01:00
Björn Jacke
db075b0202
libcli: fix value of NT_STATUS_FILE_NOT_AVAILABLE
...
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Wed Aug 22 01:30:06 CEST 2012 on sn-devel-104
2012-08-22 01:30:06 +02:00
Stefan Metzmacher
83a746d7f5
libcli/util: add NT_STATUS_FILE_NOT_AVAILABLE
...
metze
2012-08-07 11:16:36 +02:00
Volker Lendecke
d4e834ec6c
lib: Fix NT_STATUS_ALL_SIDS_FILTERED definition
...
This seems to be more in line with all the other NT_STATUS definitions.
Metze, please check.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 23 23:19:17 CET 2011 on sn-devel-104
2011-12-23 23:19:17 +01:00
Stefan Metzmacher
23a034335c
libcli/util: add NT_STATUS_NETWORK_SESSION_EXPIRED and NT_STATUS_ALL_SIDS_FILTERED
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 17 14:24:40 CET 2011 on sn-devel-104
2011-12-17 14:24:40 +01:00
Björn Baumbach
6db705d6fc
libcli: remove duplicate of #define NT_STATUS_NO_SUCH_JOB
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jul 7 20:29:13 CEST 2011 on sn-devel-104
2011-07-07 20:29:13 +02:00
Volker Lendecke
61d0afeab3
s3: Add STATUS_STOPPED_ON_SYMLINK error code
2011-07-03 11:31:28 +02:00
Volker Lendecke
21b30d52f5
Add NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 24 22:36:50 CEST 2011 on sn-devel-104
2011-06-24 22:36:50 +02:00
Volker Lendecke
61ad606016
Add NT_STATUS_IO_REPARSE_DATA_INVALID
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 24 17:58:00 CEST 2011 on sn-devel-104
2011-06-24 17:58:00 +02:00
Andrew Bartlett
1233ba7bf3
libclu/util: Move get_friendly_nt_error_msg() in common.
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-17 17:08:59 +10:00
Andrew Bartlett
c004a932c4
libcli/util Remove ntstatus_check_dos_mapping
...
This has been set to true since the global loadparm was removed in
2008, and removes an #ifdef SAMBA_BUILD == 4
Andrew Bartlett
2011-05-31 15:10:20 +10:00
Andrew Bartlett
db74cad1c6
libcli/util Move NTSTATUS table to the top level
2011-05-06 07:51:24 +02:00
Andrew Bartlett
344eb08ee4
nterr: Add mem_ctx for return string from get_nt_error_c_code()
...
It is clearer to avoid the implicit return on talloc_tos()
Andrew Bartlett
2011-05-06 07:51:24 +02:00
Stefan Metzmacher
aae1f86952
libcli/util/ntstatus: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE
...
metze
2011-05-02 13:58:22 +02:00
Volker Lendecke
be3e851fea
Fix some nonempty blank lines
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 5 15:16:02 CET 2011 on sn-devel-104
2011-03-05 15:16:02 +01:00
Stefan Metzmacher
24acddf806
libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR define
...
metze
2011-01-30 17:36:20 +01:00
Stefan Metzmacher
72a8966499
libcli/util: add pipe related NT_STATUS_RPC_* codes
...
metze
2010-10-18 14:50:21 +02:00
Günther Deschner
e7cc45cb14
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
...
Metze, please check.
Guenther
2010-03-19 09:30:36 +01:00
Stefan Metzmacher
6a1f8e67eb
libcli/util: add more NT_STATUS_RPC_* defines
...
metze
2010-03-18 14:25:57 +01:00
Andrew Tridgell
6eb262f0e8
libcli: allow ntstatus.h to be used by openchange
...
apparently ntstatus.h is used by openchange, but they don't include
replace.h. This makes that possible again.
2009-11-25 15:30:20 +11:00
Andrew Tridgell
b6a1beb131
added NT_STATUS_NOT_OK_RETURN_AND_FREE()
...
Try to make it a bit easier to avoid leaks in common code
2009-10-17 13:01:02 +11:00
Andrew Tridgell
7326b8f63e
util: use likely/unlikely for NT_STATUS_* macros
2009-09-17 15:19:26 -07:00
Günther Deschner
cac5e64c00
s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.
...
Guenther
2009-09-11 02:58:34 +02:00
Günther Deschner
5f2ec4b202
s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.
...
Guenther
2009-09-08 23:21:14 +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
Andrew Tridgell
ddce3b5ac8
two more NT status codes that we get on DRS with w2k8-R2
2009-06-12 12:23:46 +10:00
Andrew Tridgell
da3ee27900
add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()
...
In many places we use NT_STATUS_HAVE_NO_MEMORY() to auto-return when a
memory allocation fails. In quite a few places where we use this, we
end up leaving a tmp_ctx behind, which creates a memory leak.
This macro takes a memory context to free when returning the error
2009-06-04 14:10:10 +10:00
Zach Loafman
9d95f8704d
s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/g
2009-04-01 20:59:52 -07:00
Zack Kirsch
4e1a4cbe1f
s4 torture: Smbtorture additions for Windows BRL
...
- Adds a few new BRL tests to RAW-LOCK
- Adds a "win7" target to allow torture to handle protocol changes in
windows 7
2009-02-11 12:23:52 -08:00
Günther Deschner
0474c8665d
nterrors: add NT_STATUS_DS_BUSY.
...
Guenther
2008-11-10 21:46:24 +01:00
Jelmer Vernooij
62c57cb400
Remove use of global_loadparm when comparing nt status error - use
...
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
44b728958a
Use common error definitions.
2008-10-23 15:35:21 +02:00
Jelmer Vernooij
94c522b1ab
Import NTSTATUS defines from Samba 3.
2008-10-23 03:29:20 +02:00