diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-07-03 13:09:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-28 15:47:37 +1000 |
commit | dc8d29cdae68e96a3e8a0d647ee952611e69b49e (patch) | |
tree | 6b2c86c099c4b7c61577a1e3b230d78ccaaa8f49 /source3 | |
parent | f2ccff7b06a2ad762103f98a736f37da94d7cfdd (diff) | |
download | samba-dc8d29cdae68e96a3e8a0d647ee952611e69b49e.tar.gz samba-dc8d29cdae68e96a3e8a0d647ee952611e69b49e.tar.bz2 samba-dc8d29cdae68e96a3e8a0d647ee952611e69b49e.zip |
s3-vfs: Indicate the symlink destination when failing check_reduced_name
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index d4412a92b6..0a259cc915 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1226,8 +1226,8 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname) p++; if (strcmp(fname, p)!=0) { DEBUG(2, ("check_reduced_name: Bad access " - "attempt: %s is a symlink\n", - fname)); + "attempt: %s is a symlink to %s\n", + fname, p)); SAFE_FREE(resolved_name); return NT_STATUS_ACCESS_DENIED; } |