summaryrefslogtreecommitdiff
path: root/source3/libsmb
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 /source3/libsmb
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 'source3/libsmb')
-rw-r--r--source3/libsmb/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index aea5718c5a..0285f22be4 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -1514,7 +1514,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 },