The branch, v3-3-test has been updated
       via  fb838504e4626d2bbb37a48591e5965d76c44f72 (commit)
      from  f9ecc1971b78b7ffc2d5c1a47ff7265916003bfd (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit fb838504e4626d2bbb37a48591e5965d76c44f72
Author: Dina Fine <[EMAIL PROTECTED]>
Date:   Tue Nov 18 12:44:42 2008 -0800

    Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory 
fails"

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/notify.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 139dfe7..e79cf56 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -365,6 +365,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;


-- 
Samba Shared Repository

Reply via email to