r1916: return a more clear error, we are miss configure in this case
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Aug 2004 12:50:41 +0000 (12:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:11 +0000 (12:58 -0500)
metze
(This used to be commit a908f831cb9dd265f9b183512053f9e608feec3d)

source4/ntvfs/posix/vfs_posix.c

index cfbb892d9c625c6d0fe9f46f263c8d694669cef8..93cfbd74a917dcf964d9dc0b939497c476b51ed0 100644 (file)
@@ -42,7 +42,7 @@ static NTSTATUS pvfs_connect(struct smbsrv_request *req, const char *sharename)
        DEBUGADD(0,("         all file acess is done as user 'root'\n"));
        DEBUGADD(0,("         Please don't use this a sensitive data!!!\n"));
 
-       return NT_STATUS_ACCESS_DENIED;
+       return NT_STATUS_DEVICE_CONFIGURATION_ERROR;
 }
 
 /*