summaryrefslogtreecommitdiffstats
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-09-20 19:00:21 +0000
committerJeremy Allison <jra@samba.org>2000-09-20 19:00:21 +0000
commit7a3795d5df8dc1b2e3d2afe2a9e12db34d80e305 (patch)
tree20e18e2536a3c0ba917921f06a458351b545c7ce /source3/smbd/nttrans.c
parent13904f585cbc4ccd5a366c288e6a32af44c30d27 (diff)
downloadsamba-7a3795d5df8dc1b2e3d2afe2a9e12db34d80e305.tar.gz
samba-7a3795d5df8dc1b2e3d2afe2a9e12db34d80e305.tar.xz
samba-7a3795d5df8dc1b2e3d2afe2a9e12db34d80e305.zip
Fix to allow a timestamp of zero to cause an instantaneous changenotify
scan - then call this from renames. This allows instantaneous update for W2k renames. Jeremy. (This used to be commit 07dffc4ee931cbc61197e2da277df9c404a77469)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 8147a3adacd..1599f01aa5b 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1473,11 +1473,18 @@ static int call_nt_transact_rename(connection_struct *conn,
fsp->fsp_name, new_name));
outsize = -1;
+
+ /*
+ * Win2k needs a changenotify request response before it will
+ * update after a rename..
+ */
+
+ process_pending_change_notify_queue((time_t)0);
}
return(outsize);
}
-
+
/****************************************************************************
Reply to query a security descriptor - currently this is not implemented (it