summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorDina Fine <dina@exanet.com>2008-11-18 12:45:42 -0800
committerJeremy Allison <jra@samba.org>2008-11-18 12:45:42 -0800
commit0e62bb39de93433dfeb7f822ec1026da7ed643f4 (patch)
tree5c8707dfebf7b9cc091bae616fbabfa2a2a6369d /source3/smbd
parent69debd45e56428aceaac607994e61ecd66a73daa (diff)
downloadsamba-0e62bb39de93433dfeb7f822ec1026da7ed643f4.tar.gz
samba-0e62bb39de93433dfeb7f822ec1026da7ed643f4.tar.bz2
samba-0e62bb39de93433dfeb7f822ec1026da7ed643f4.zip
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c3
1 files changed, 3 insertions, 0 deletions
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;