summaryrefslogtreecommitdiff
path: root/libcli/util
AgeCommit message (Collapse)AuthorFilesLines
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
2008-11-10nterrors: add NT_STATUS_DS_BUSY.Günther Deschner1-0/+1
Guenther
2008-11-06doserr: add WERR_NO_TRUST_SAM_ACCOUNT.Günther Deschner2-0/+2
Guenther
2008-11-02Remove use of global_loadparm when comparing nt status error - useJelmer Vernooij1-0/+3
global variable instead.
2008-11-01Use shared doserr.c.Jelmer Vernooij2-0/+88
2008-10-23Fix "parameter has incomplete type" build warning.Tim Prouty1-7/+0
When libcli-util was moved to the top level (3be0f6ea56ed8e43cd287ed020e942efb675b87b) it introduced a build warning. Since ndr_map_error2ntstatus depends on the definition of enum ndr_err_code and libndr.h can't be easily included in error.h, I moved the definition of enum ndr_err_code to libndr.h. This also eliminates the need for the duplicate definition in proto.h
2008-10-23Use common error definitions.Jelmer Vernooij3-2300/+4
2008-10-23Import NTSTATUS defines from Samba 3.Jelmer Vernooij1-0/+682
2008-10-23Import WERROR defines from Samba 3.Jelmer Vernooij1-9/+57
2008-10-23Import new DOS error codes from Samba 3.Jelmer Vernooij1-0/+4
2008-10-23Move libcli-util error code to top-level.Jelmer Vernooij6-0/+2906