summaryrefslogtreecommitdiff
path: root/libcli/util
AgeCommit message (Collapse)AuthorFilesLines
2011-03-05Fix some nonempty blank linesVolker Lendecke1-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-30libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR defineStefan Metzmacher1-0/+1
metze
2011-01-26errormap: Add unix_to_werror() functionKai Blin1-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-17s4-doserr: telling our users to "see Windows help" doesn't seem rightAndrew Tridgell1-4/+4
2010-10-23s4 dns: Import DNS win32 error codes from MS-ERREFKai Blin2-0/+282
2010-10-18libcli/util: add pipe related NT_STATUS_RPC_* codesStefan Metzmacher1-0/+6
metze
2010-09-26libcli/util: let tstream_read_pdu_blob_* cope with variable length headersStefan Metzmacher1-5/+13
metze
2010-09-18werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macroKamen Mazdrashki1-0/+7
2010-09-10s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris ↵Matthias Dieter Wallnöfer1-2/+2
warnings
2010-08-14werror.h - fix order and duplicate DS error codesMatthias Dieter Wallnöfer2-62/+54
2010-03-19error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner1-1/+1
Metze, please check. Guenther
2010-03-18libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher1-4/+11
metze
2010-02-23tstream: Added a typedef for the function prototype.Andreas Schneider2-9/+19
2010-01-29s4:libcli/util/tstream.c - Need to include "system/network.h"Matthias Dieter Wallnöfer1-0/+1
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4.
2010-01-08libcli/util: add tstream_read_pdu_blob_send/recvStefan Metzmacher2-0/+246
This will take the some full_request callback function as the Samba4 packet code. metze
2009-11-25libcli: allow ntstatus.h to be used by openchangeAndrew Tridgell1-0/+8
apparently ntstatus.h is used by openchange, but they don't include replace.h. This makes that possible again.
2009-10-17added NT_STATUS_NOT_OK_RETURN_AND_FREE()Andrew Tridgell1-0/+7
Try to make it a bit easier to avoid leaks in common code
2009-09-30w32err: Importing auto-generated Win32 errors and descriptionsKamen Mazdrashki2-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-30w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki2-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-30w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS nameKamen Mazdrashki2-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-30w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki2-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-30w32err: FRS_ group of errors replaced with numeric valuesKamen Mazdrashki1-3/+3
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixedKamen Mazdrashki1-1/+1
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-17util: use likely/unlikely for NT_STATUS_* macrosAndrew Tridgell1-3/+3
2009-09-17w32err: Set hex format values for all errorsKamen Mazdrashki1-90/+90
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Re-define errors with numeric valuesKamen Mazdrashki1-46/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Sorting error codes in ascending orderKamen Mazdrashki1-10/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: NERR_ codes grouped togetherKamen Mazdrashki1-9/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: WERR_CLASS_NOT_REGISTERED updatedKamen Mazdrashki2-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-11s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner1-0/+1
Guenther
2009-09-08s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner1-0/+1
Guenther
2009-07-31Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer3-17/+82
LDAP server)
2009-07-02doserrors: print out some more werrors.Günther Deschner1-0/+5
Guenther
2009-06-12two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell1-1/+2
2009-06-04add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()Andrew Tridgell1-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-15errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij1-6/+0
This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
2009-05-12error-codes: add some more WERRORs to table.Günther Deschner1-0/+2
These tables really should be auto-generated at some point... Guenther
2009-05-05error-codes: add some more group specific windows error codes.Günther Deschner2-0/+6
Guenther
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin1-0/+6
2009-04-10error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner1-0/+1
Guenther
2009-04-08error-codes: add some service related error codes.Günther Deschner2-0/+6
Patch initially from: Danny Tylman <danny.tylman@insightix.com> Guenther
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman1-2/+2
2009-03-26error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2-0/+2
Guenther
2009-03-02error-codes: add WERR_DEVICE_NOT_CONNECTED.Günther Deschner2-0/+2
Guenther
2009-02-26libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)Michael Adam1-0/+6
a goto destination can be specified as a second parameter. Michael
2009-02-26s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam1-0/+6
Michael
2009-02-24error-codes: print out WERR_UNKNOWN_PRINT_MONITOR.Günther Deschner1-0/+1
Guenther
2009-02-24error-codes: add WERR_INVALID_USER_BUFFER.Günther Deschner2-0/+2
Guenther
2009-02-11s4 torture: Smbtorture additions for Windows BRLZack Kirsch1-0/+3
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
2008-11-12errors: add WERR_CM_BUFFER_SMALL.Günther Deschner1-0/+1
Guenther