summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-12 00:05:02 +0000
committerJeremy Allison <jra@samba.org>2000-12-12 00:05:02 +0000
commit71acf4cd1f80b1c8cb78aa0f36cc23d185c7fac3 (patch)
tree4199d506a57260439d16bd2835c8caffda17f0b7
parent93e98d02818e079c9d714e3b5a7894238ead312a (diff)
downloadsamba-71acf4cd1f80b1c8cb78aa0f36cc23d185c7fac3.tar.gz
samba-71acf4cd1f80b1c8cb78aa0f36cc23d185c7fac3.tar.bz2
samba-71acf4cd1f80b1c8cb78aa0f36cc23d185c7fac3.zip
Extra part of fix that Gerald missed (sorry).
Jeremy. (This used to be commit ebf754400f443452948020d68e29f597f1b2d60c)
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 5942d63206..59a94964fb 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1049,7 +1049,7 @@ int reply_chkpth(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
mode = SVAL(inbuf,smb_vwv0);
if (check_name(name,conn)) {
- if(VALID_STAT(sbuf))
+ if (VALID_STAT(sbuf) || vfs_stat(conn,name,&sbuf) == 0)
ok = S_ISDIR(sbuf.st_mode);
}