summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-16 08:58:00 +0000
committerJeremy Allison <jra@samba.org>1998-01-16 08:58:00 +0000
commit4f9674d1c85f2e7293874477ae0da15fee1538c7 (patch)
tree4ee7a945a115721bfc9ab9fe794d16585c5dd19a /source3/smbd/reply.c
parent4abd1416722e8c3080a42e0f24a7f450c3fb3a22 (diff)
downloadsamba-4f9674d1c85f2e7293874477ae0da15fee1538c7.tar.gz
samba-4f9674d1c85f2e7293874477ae0da15fee1538c7.tar.bz2
samba-4f9674d1c85f2e7293874477ae0da15fee1538c7.zip
reply.c:
server.c: Test fix for NT worstation SMBmv oplock bug. smbdes.c: Addition of 'forward' parameter in preparation of allowing password change. Jeremy. (This used to be commit 0b0b1fb122a52e67a8fdc77d013ad0b3bbb90d19)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index b1caee10a2..847f6e68f2 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1586,7 +1586,7 @@ static BOOL can_delete(char *fname,int cnum,int dirtype)
}
if ((fmode & ~dirtype) & (aHIDDEN | aSYSTEM))
return(False);
- if (!check_file_sharing(cnum,fname)) return(False);
+ if (!check_file_sharing(cnum,fname,False)) return(False);
return(True);
}
@@ -3039,7 +3039,7 @@ static BOOL can_rename(char *fname,int cnum)
if (!CAN_WRITE(cnum)) return(False);
if (sys_lstat(fname,&sbuf) != 0) return(False);
- if (!check_file_sharing(cnum,fname)) return(False);
+ if (!check_file_sharing(cnum,fname,True)) return(False);
return(True);
}