Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-21 | lib/util Remove samba-util-common! | Andrew Bartlett | 1 | -1/+1 | |
All of this code is now in common, so we don't need the second '-common' library any more! Andrew Bartlett | |||||
2011-06-20 | libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol | Andrew Bartlett | 3 | -3/+3 | |
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104 | |||||
2011-06-20 | libcli/util Bring samba4 unix -> nt_status code in common. | Andrew Bartlett | 2 | -4/+164 | |
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett | |||||
2011-06-17 | util: moved nt_errstr() into common code | Andrew Tridgell | 2 | -8/+23 | |
this brings nt_errstr() into common code, using the new talloc_stackframe_exists() to ensure that we only allocate an error string using talloc_tos() if a talloc stackframe does currently exists. This makes it safe to use in external libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-17 | libclu/util: Move get_friendly_nt_error_msg() in common. | Andrew Bartlett | 2 | -0/+52 | |
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-06 | libcli/util Remove prototype for ntstatus_dos_equal() | Andrew Bartlett | 1 | -3/+0 | |
This was removed recently. | |||||
2011-05-31 | libcli/util Remove ntstatus_check_dos_mapping | Andrew Bartlett | 1 | -9/+0 | |
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-06 | errors: Remove unused unix_to_werror() | Andrew Bartlett | 1 | -5/+0 | |
2011-05-06 | libcli/util Move NTSTATUS table to the top level | Andrew Bartlett | 3 | -1/+915 | |
2011-05-06 | nterr: Add mem_ctx for return string from get_nt_error_c_code() | Andrew Bartlett | 1 | -1/+1 | |
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett | |||||
2011-05-06 | libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top level | Andrew Bartlett | 2 | -1/+1241 | |
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett | |||||
2011-05-02 | libcli/util/ntstatus: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-04-29 | build: put doserr.c into it's own subsystem, so it's no longer a duplicate | Andrew Bartlett | 1 | -0/+8 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104 | |||||
2011-03-19 | libcli/: Fix prototypes for all functions. | Jelmer Vernooij | 1 | -0/+2 | |
2011-03-05 | Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 15:16:02 CET 2011 on sn-devel-104 | |||||
2011-01-30 | libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR define | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-01-26 | errormap: Add unix_to_werror() function | Kai Blin | 1 | -0/+5 | |
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 | |||||
2010-11-17 | s4-doserr: telling our users to "see Windows help" doesn't seem right | Andrew Tridgell | 1 | -4/+4 | |
2010-10-23 | s4 dns: Import DNS win32 error codes from MS-ERREF | Kai Blin | 2 | -0/+282 | |
2010-10-18 | libcli/util: add pipe related NT_STATUS_RPC_* codes | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2010-09-26 | libcli/util: let tstream_read_pdu_blob_* cope with variable length headers | Stefan Metzmacher | 1 | -5/+13 | |
metze | |||||
2010-09-18 | werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macro | Kamen Mazdrashki | 1 | -0/+7 | |
2010-09-10 | s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
warnings | |||||
2010-08-14 | werror.h - fix order and duplicate DS error codes | Matthias Dieter Wallnöfer | 2 | -62/+54 | |
2010-03-19 | error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo. | Günther Deschner | 1 | -1/+1 | |
Metze, please check. Guenther | |||||
2010-03-18 | libcli/util: add more NT_STATUS_RPC_* defines | Stefan Metzmacher | 1 | -4/+11 | |
metze | |||||
2010-02-23 | tstream: Added a typedef for the function prototype. | Andreas Schneider | 2 | -9/+19 | |
2010-01-29 | s4:libcli/util/tstream.c - Need to include "system/network.h" | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4. | |||||
2010-01-08 | libcli/util: add tstream_read_pdu_blob_send/recv | Stefan Metzmacher | 2 | -0/+246 | |
This will take the some full_request callback function as the Samba4 packet code. metze | |||||
2009-11-25 | libcli: allow ntstatus.h to be used by openchange | Andrew Tridgell | 1 | -0/+8 | |
apparently ntstatus.h is used by openchange, but they don't include replace.h. This makes that possible again. | |||||
2009-10-17 | added NT_STATUS_NOT_OK_RETURN_AND_FREE() | Andrew Tridgell | 1 | -0/+7 | |
Try to make it a bit easier to avoid leaks in common code | |||||
2009-09-30 | w32err: Importing auto-generated Win32 errors and descriptions | Kamen Mazdrashki | 2 | -1/+7222 | |
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 | w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUND | Kamen Mazdrashki | 2 | -2/+2 | |
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 | w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS name | Kamen Mazdrashki | 2 | -3/+3 | |
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 | w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUND | Kamen Mazdrashki | 2 | -3/+3 | |
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 | w32err: FRS_ group of errors replaced with numeric values | Kamen Mazdrashki | 1 | -3/+3 | |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-09-30 | w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixed | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-09-17 | util: use likely/unlikely for NT_STATUS_* macros | Andrew Tridgell | 1 | -3/+3 | |
2009-09-17 | w32err: Set hex format values for all errors | Kamen Mazdrashki | 1 | -90/+90 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-09-17 | w32err: Re-define errors with numeric values | Kamen Mazdrashki | 1 | -46/+46 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-09-17 | w32err: Sorting error codes in ascending order | Kamen Mazdrashki | 1 | -10/+8 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-09-17 | w32err: NERR_ codes grouped together | Kamen Mazdrashki | 1 | -9/+9 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-09-17 | w32err: WERR_CLASS_NOT_REGISTERED updated | Kamen Mazdrashki | 2 | -2/+7 | |
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-11 | s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-09-08 | s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-07-31 | Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵ | Matthias Dieter Wallnöfer | 3 | -17/+82 | |
LDAP server) | |||||
2009-07-02 | doserrors: print out some more werrors. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2009-06-12 | two more NT status codes that we get on DRS with w2k8-R2 | Andrew Tridgell | 1 | -1/+2 | |
2009-06-04 | add NT_STATUS_HAVE_NO_MEMORY_AND_FREE() | Andrew Tridgell | 1 | -0/+9 | |
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-05-15 | errormap: Remove wbc -> NTSTATUS error map for now. It is not used. | Jelmer Vernooij | 1 | -6/+0 | |
This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai. |