diff options
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index a71ce5c6ef5..157ec862ad9 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -1045,7 +1045,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); } |