Andrew Bartlett
865a937671
errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.
...
They are now identical
Andrew Bartlett
2011-05-06 07:51:24 +02:00
Andrew Bartlett
fa289e8982
s3-lib Remove unused dos error codes from errmap_unix
...
This also makes unix_nt_errmap private to errmap_unix.c and errormap.c
so the tables themselves cannot be duplicate symbols until merged.
Andrew Bartlett
2011-05-06 07:51:24 +02:00
Stefan Metzmacher
6dd97ac093
s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
2011-05-02 15:02:56 +02:00
Günther Deschner
dc35442fb1
s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.c
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
9f4b3b103f
s4-nterr: some minor cosmetic edits to further match s3 nterr.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
199809b3cc
nterr: make sure both nt_err_desc structs are the same.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
45710a05c5
nterr: make sure both nt_errs structs are the same.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
648a9fbc03
s4-nterr: add _N macro handling as in s3-nterr.
...
Guenther
2011-03-04 01:18:42 +01:00
Günther Deschner
cb8c0e1776
nterr: remove space indents (use tabs instead), following coding standards.
...
Guenther
2011-03-04 01:18:41 +01:00
Günther Deschner
2f46942e08
nterr: remove trailing whitespace.
...
Guenther
2011-03-04 01:18:41 +01:00
Günther Deschner
724c982131
ndr: merge duplicate ndr_map_error2ntstatus() functions.
...
Guenther
2011-02-08 08:58:11 +01:00
Stefan Metzmacher
f284acf9e1
s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
...
metze
2011-01-30 17:36:23 +01:00
Kai Blin
278c6f8fc5
errormap: Add unix_to_werror() function
...
While this function technically is closest to the
map_nt_status_from_unix() function, I think it is better to keep the new
function in line with our usual fooerror_to_barerror() naming scheme.
Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
2011-01-26 23:07:24 +01:00
Stefan Metzmacher
20c7e2b3a3
s4:libcli/util: add pipe related NT_STATUS_RPC_* codes
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 18 13:50:55 UTC 2010 on sn-devel-104
2010-10-18 13:50:55 +00:00
Stefan Metzmacher
88f96578cd
s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
...
metze
2010-09-10 17:21:31 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Jelmer Vernooij
aed295b97e
s4-python: Remove convenience macro PyErr_SetStringError.
...
This macro assumed that all errors were runtime errors.
2010-04-04 00:22:29 +02:00
Günther Deschner
12ee027106
s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:51 +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
Stefan Metzmacher
7807de5693
s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:50 +01:00
Björn Jacke
61bf804e8f
ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
2010-03-10 21:00:47 +01:00
Volker Lendecke
8fd43f44ef
s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)
2010-03-09 15:37:39 +01:00
Andrew Tridgell
781ad038c9
s4-krb5: propogate errors from a lot more kerberos functions
...
We need to be able to give sensible error messages when a kerberos
calls fails. This propogates the kerberos error up the stack to the
caller.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-26 13:59:16 +11: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
Jelmer Vernooij
88876ac571
errormap: Remove wbc -> NTSTATUS error map for now. It is not used.
...
This was breaking the Samba 4 installation since it added dependencies
on header files we weren't installing.
Confirmed with Kai.
2009-05-15 16:05:37 +02:00
Kai Blin
c93e2d9d43
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
...
This allows us to distinguish on NTSTATUS level if we got a
WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-23 00:23:56 +02:00
Kai Blin
7a9be21916
errormap: Add wbcErr to NTSTATUS mappings
2009-04-22 00:14:45 +02:00
Zach Loafman
9d95f8704d
s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/g
2009-04-01 20:59:52 -07:00
Zach Loafman
7bf2a213cd
s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGE
...
Also submitted a request to cifs-protocol for a real name for this
thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes
against Win7.
2009-03-17 13:43:27 -07:00
Stefan Metzmacher
df145c3382
s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
...
metze
2009-03-06 07:31:33 +01:00
Stefan Metzmacher
ef0fa403f1
libcli/ldap: move ldap_errors.h to the toplevel and install it
...
metze
2009-02-24 17:55:39 +01:00
Simo Sorce
380874ef86
Fix the mess with ldb includes.
...
Separate again the public from the private headers.
Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Jelmer Vernooij
f36ff0bac2
Include errors.i verbatim in security.i, as it's the only file still using it.
2008-12-21 05:35:39 +01:00
Jelmer Vernooij
49d522fe38
Add convenience macro for raising exceptions for NTSTATUS / WERROR.
2008-12-18 15:32:58 +00:00
Günther Deschner
0474c8665d
nterrors: add NT_STATUS_DS_BUSY.
...
Guenther
2008-11-10 21:46:24 +01:00
Jelmer Vernooij
15c0aad880
Remove unused include of param/param.h.
2008-11-02 18:13:19 +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
a1cc278142
Remove use of global_loadparm during initialization of gensec.
2008-11-02 17:04:22 +01:00
Günther Deschner
92f1c0d156
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
284f523ec7
Remove a few more usages of global_loadparm.
2008-10-24 13:22:12 +02: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
Jelmer Vernooij
3be0f6ea56
Move libcli-util error code to top-level.
2008-10-23 03:11:19 +02:00
Günther Deschner
a1b7b6d5b4
idl: more lsa.idl merges.
...
Guenther
2008-10-15 20:46:35 +02:00
Jelmer Vernooij
db872cfe37
Remove more hand-written marshallers.
2008-09-16 05:48:29 +02:00
Andrew Bartlett
b7326979e9
Add a new error code
...
(This used to be commit b52fba5b2c
)
2008-09-05 16:46:12 +10:00