From 902b1d9a19ca8bbc32c3cf1f67efd9cf6627d711 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 May 2011 12:51:58 +0200 Subject: [PATCH] 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 Autobuild-Date: Wed May 18 08:49:00 CEST 2011 on sn-devel-104 --- source4/ntvfs/cifs/vfs_cifs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c index 27bf1ead241..24dee76e46a 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 */ -- 2.11.4.GIT