summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 12:50:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:11 -0500
commitad5acba254ff7936cc959eaeaf88726095b3fe28 (patch)
treecffd55e8e84f4bbcdc7906aa78db783f0dccfa09 /source4/ntvfs/posix/vfs_posix.c
parent124e00068f2187e254f76cd82e913809870d799c (diff)
downloadsamba-ad5acba254ff7936cc959eaeaf88726095b3fe28.tar.gz
samba-ad5acba254ff7936cc959eaeaf88726095b3fe28.tar.bz2
samba-ad5acba254ff7936cc959eaeaf88726095b3fe28.zip
r1916: return a more clear error, we are miss configure in this case
metze (This used to be commit a908f831cb9dd265f9b183512053f9e608feec3d)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index cfbb892d9c..93cfbd74a9 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -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;
}
/*