summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-05-02 12:51:58 +0200
committerStefan Metzmacher <metze@samba.org>2011-05-18 08:49:00 +0200
commit902b1d9a19ca8bbc32c3cf1f67efd9cf6627d711 (patch)
treeb5c2e19698377acbd39168adae37bf09aae0a8e3 /source4
parenta7b8593f9c8f43f7861d2a0bc0e249f17d8ce7f5 (diff)
downloadsamba-902b1d9a19ca8bbc32c3cf1f67efd9cf6627d711.tar.gz
samba-902b1d9a19ca8bbc32c3cf1f67efd9cf6627d711.tar.bz2
samba-902b1d9a19ca8bbc32c3cf1f67efd9cf6627d711.zip
s4:ntvfs/cifs: return NT_STATUS_INTERNAL_ERROR if no credentials are available
This is a configuration problem on the server, no invalid parameter from the client. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 08:49:00 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index 27bf1ead24..24dee76e46 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -228,7 +228,7 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
credentials = req->session_info->credentials;
} else {
DEBUG(1,("CIFS backend: NO delegated credentials found: You must supply server, user and password or the client must supply delegated credentials\n"));
- return NT_STATUS_INVALID_PARAMETER;
+ return NT_STATUS_INTERNAL_ERROR;
}
/* connect to the server, using the smbd event context */