diff options
author | Kai Blin <kai@samba.org> | 2009-04-16 11:49:25 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2009-04-22 00:14:45 +0200 |
commit | 7a9be21916589f2c2956e8b264648b66d074bfcb (patch) | |
tree | 44c4b4a5df10b375ffdb485d55a035a97008f8b9 /libcli | |
parent | 57267a300f35e8555ece9015c46353aa73e8eb2e (diff) | |
download | samba-7a9be21916589f2c2956e8b264648b66d074bfcb.tar.gz |
errormap: Add wbcErr to NTSTATUS mappings
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/util/error.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h index 5a7cc1b0b99..03e76a2a39d 100644 --- a/libcli/util/error.h +++ b/libcli/util/error.h @@ -22,6 +22,7 @@ #include "libcli/util/werror.h" #include "libcli/util/doserr.h" #include "libcli/util/ntstatus.h" +#include "nsswitch/libwbclient/wbclient.h" /** NT error on DOS connection! (NT_STATUS_OK) */ bool ntstatus_dos_equal(NTSTATUS status1, NTSTATUS status2); @@ -46,4 +47,9 @@ WERROR ntstatus_to_werror(NTSTATUS error); *********************************************************************/ NTSTATUS map_nt_error_from_unix(int unix_error); +/******************************************************************************* + Map between wbcErr and NT status. +*******************************************************************************/ +NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err); + #endif /* _SAMBA_ERROR_H */ |