summaryrefslogtreecommitdiffstats
path: root/source4/libcli/util
Commit message (Collapse)AuthorAgeFilesLines
* CVE-2013-4408:s3:Ensure LookupNames replies arrays are range checked.Jeremy Allison2013-12-091-1/+5
| | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=10185 Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org>
* CVE-2013-4408:s3:Ensure LookupSids replies arrays are range checked.Jeremy Allison2013-12-091-1/+15
| | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=10185 Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()Stefan Metzmacher2012-08-061-0/+6
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 6 18:06:50 CEST 2012 on sn-devel-104
* s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/Stefan Metzmacher2012-08-061-1/+1
| | | | metze
* s4:libcli: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher2012-08-041-0/+6
| | | | metze
* s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher2012-08-021-1/+1
| | | | metze
* s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher2011-11-291-1/+1
| | | | | | | We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
* libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett2011-06-201-157/+0
| | | | | | | | 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
* s3-libcli Remove unused error mapping tablesAndrew Bartlett2011-06-201-549/+0
| | | | | | The functions which uesed these tables have since moved in common. Andrew Bartlett
* s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett2011-06-171-0/+11
| | | | | | | | | | | We need to syncronise these mappings, as the duplication of this symobol in the build means that either may be called based only on library link orders. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 17 10:22:07 CEST 2011 on sn-devel-104
* errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett2011-06-171-3/+3
|
* s4-util: removed the s4 nterr.cAndrew Tridgell2011-06-171-54/+0
| | | | | | this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett2011-06-171-20/+0
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-311-35/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett2011-05-311-26/+28
| | | | | | This makes it easier to see what the actual differences here are. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-061-5/+0
|
* libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2011-05-061-889/+2
|
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-061-6/+7
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2011-05-061-668/+0
| | | | | | | This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
* errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett2011-05-061-6/+16
|
* errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett2011-05-061-7/+11
| | | | | | They are now identical Andrew Bartlett
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-5/+3
| | | | | | | 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
* s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher2011-05-021-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
* s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.cGünther Deschner2011-03-041-0/+27
| | | | Guenther
* s4-nterr: some minor cosmetic edits to further match s3 nterr.Günther Deschner2011-03-041-3/+10
| | | | Guenther
* nterr: make sure both nt_err_desc structs are the same.Günther Deschner2011-03-041-0/+3
| | | | Guenther
* nterr: make sure both nt_errs structs are the same.Günther Deschner2011-03-041-0/+1
| | | | Guenther
* s4-nterr: add _N macro handling as in s3-nterr.Günther Deschner2011-03-041-91/+95
| | | | Guenther
* nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner2011-03-041-15/+15
| | | | Guenther
* nterr: remove trailing whitespace.Günther Deschner2011-03-041-9/+9
| | | | Guenther
* ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner2011-02-081-26/+0
| | | | Guenther
* s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher2011-01-301-0/+1
| | | | metze
* errormap: Add unix_to_werror() functionKai Blin2011-01-261-0/+6
| | | | | | | | | | | 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
* s4:libcli/util: add pipe related NT_STATUS_RPC_* codesStefan Metzmacher2010-10-181-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 18 13:50:55 UTC 2010 on sn-devel-104
* s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+1
| | | | metze
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-2/+1
|
* s4-python: Remove convenience macro PyErr_SetStringError.Jelmer Vernooij2010-04-041-3/+0
| | | | This macro assumed that all errors were runtime errors.
* s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.resultGünther Deschner2010-03-291-3/+31
| | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner2010-03-191-1/+1
| | | | | | Metze, please check. Guenther
* libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher2010-03-181-0/+8
| | | | metze
* s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-6/+6
| | | | metze
* ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke2010-03-101-1/+1
|
* s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke2010-03-091-1/+1
|
* s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell2010-02-261-0/+5
| | | | | | | | 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>
* Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer2009-07-311-1/+1
| | | | LDAP server)
* two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell2009-06-121-0/+2
|
* errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij2009-05-151-37/+0
| | | | | | | This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
* errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin2009-04-231-1/+1
| | | | | This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
* errormap: Add wbcErr to NTSTATUS mappingsKai Blin2009-04-221-0/+37
|
* s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2009-04-011-1/+1
|