1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It

might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
This commit is contained in:
Volker Lendecke 2007-05-15 08:01:30 +00:00 committed by Gerald (Jerry) Carter
parent 600d39e0ba
commit 0c7a518b2d

View File

@ -137,6 +137,7 @@ static BOOL test_notify_dir(struct smbcli_state *cli, struct smbcli_state *cli2,
smbcli_rmdir(cli2->tree, BASEDIR "\\subdir-name");
smbcli_mkdir(cli2->tree, BASEDIR "\\subdir-name");
smbcli_rmdir(cli2->tree, BASEDIR "\\subdir-name");
msleep(200);
req = smb_raw_changenotify_send(cli->tree, &notify);
status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
CHECK_STATUS(status, NT_STATUS_OK);