From 940192ddcc9d23e3bec806b4419d5845eeac0fd0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 17 Jan 2007 16:23:45 +0000 Subject: r20854: Ok, now I think we're at a point where looking at notify starts to make sense again :-) Volker (This used to be commit 5533cdeec1b0cdee39b1d89e2320587dc9281ee6) --- source3/smbd/open.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 49dfad3bc0..4249c6e85b 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -309,6 +309,8 @@ static NTSTATUS open_file(files_struct *fsp, fsp); } + notify_action(conn, parent_dir, name, -1, + NOTIFY_ACTION_ADDED); } } else { @@ -1945,6 +1947,9 @@ static NTSTATUS mkdir_internal(connection_struct *conn, const char *name, change_dir_owner_to_parent(conn, parent_dir, name, psbuf); } + notify_action(conn, parent_dir, dirname, FILE_NOTIFY_CHANGE_DIR_NAME, + NOTIFY_ACTION_ADDED); + return NT_STATUS_OK; } -- cgit