From 0e62bb39de93433dfeb7f822ec1026da7ed643f4 Mon Sep 17 00:00:00 2001 From: Dina Fine Date: Tue, 18 Nov 2008 12:45:42 -0800 Subject: Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails" --- source3/smbd/notify.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 5a517654bf..2d0811bc1c 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -339,6 +339,9 @@ void notify_fname(connection_struct *conn, uint32 action, uint32 filter, { char *fullpath; + if (path[0] == '.' && path[1] == '/') { + path += 2; + } if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) { DEBUG(0, ("asprintf failed\n")); return; -- cgit