s3: re-add some debugs to check_reduced_name
authorVolker Lendecke <vl@samba.org>
Tue, 30 Nov 2010 17:21:46 +0000 (18:21 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 19 Dec 2010 22:25:06 +0000 (23:25 +0100)
source3/smbd/vfs.c

index c636cbcb5e3d0b368063e9a147274df503f45f98..2ebe2a10623c43f4291ff47374e75d8043d7afd5 100644 (file)
@@ -986,6 +986,8 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname)
                            DEBUG(2, ("check_reduced_name: Bad access "
                                      "attempt: %s is a symlink outside the "
                                      "share path\n", fname));
+                           DEBUGADD(2, ("conn_rootdir =%s\n", conn_rootdir));
+                           DEBUGADD(2, ("resolved_name=%s\n", resolved_name));
                            SAFE_FREE(resolved_name);
                            return NT_STATUS_ACCESS_DENIED;
                    }