From 71acf4cd1f80b1c8cb78aa0f36cc23d185c7fac3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 12 Dec 2000 00:05:02 +0000 Subject: Extra part of fix that Gerald missed (sorry). Jeremy. (This used to be commit ebf754400f443452948020d68e29f597f1b2d60c) --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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); } -- cgit