r1916: return a more clear error, we are miss configure in this case
[samba.git] / source / 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;
 }
 
 /*