git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ccff7
)
s3-vfs: Indicate the symlink destination when failing check_reduced_name
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 3 Jul 2012 03:09:33 +0000
(13:09 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 28 Aug 2012 05:47:37 +0000
(15:47 +1000)
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index d4412a92b652249c76b5976279dab5a22da6d1f3..0a259cc9155ac960429e1002382f80f21ecce4b0 100644
(file)
--- 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;
}