mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Extra part of fix that Gerald missed (sorry).
Jeremy.
This commit is contained in:
parent
8938dc1831
commit
ebf754400f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user