summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-04-23 00:23:56 +0200
committerKai Blin <kai@samba.org>2009-04-23 00:23:56 +0200
commitc93e2d9d43ad9e16ccce2ca3e13a7d2000bd0f06 (patch)
treea8f42922d8380e637c8619126b3ae5e991150dfa /source4/libcli
parent79177c1d36e125b08aa4d6e0e42e9a97f625b3c8 (diff)
downloadsamba-c93e2d9d43ad9e16ccce2ca3e13a7d2000bd0f06.tar.gz
samba-c93e2d9d43ad9e16ccce2ca3e13a7d2000bd0f06.tar.bz2
samba-c93e2d9d43ad9e16ccce2ca3e13a7d2000bd0f06.zip
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index 3ffadce5c6..22bf6121c9 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -1414,7 +1414,7 @@ static const struct {
} wbcErr_ntstatus_map[] = {
{ WBC_ERR_SUCCESS, NT_STATUS_OK },
{ WBC_ERR_NOT_IMPLEMENTED, NT_STATUS_NOT_IMPLEMENTED },
- { WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_INTERNAL_ERROR },
+ { WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_UNSUCCESSFUL },
{ WBC_ERR_NO_MEMORY, NT_STATUS_NO_MEMORY },
{ WBC_ERR_INVALID_SID, NT_STATUS_INVALID_SID },
{ WBC_ERR_INVALID_PARAM, NT_STATUS_INVALID_PARAMETER },