The Samba-Bugzilla – Attachment 13060 Details for
Bug 12687
vfs_expand_msdfs tries to open the remote address as a file path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.6 and 4.5
0001-s3-vfs_expand_msdfs-Do-not-open-the-remote-address-a.patch (text/plain), 1.08 KB, created by
Andreas Schneider
on 2017-03-15 07:22:49 UTC
(
hide
)
Description:
patch for 4.6 and 4.5
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2017-03-15 07:22:49 UTC
Size:
1.08 KB
patch
obsolete
>From be3f182c7bda75d531fa60c6d08a734f0098f2cc Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 14 Mar 2017 16:12:20 +0100 >Subject: [PATCH] s3:vfs_expand_msdfs: Do not open the remote address as a file > >The arguments get passed in the wrong order to read_target_host(). > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12687 > >Signed-off-by: Andreas Schneider <asn@samba.org> >(cherry picked from commit 1115f152de9ec25bc9e5e499874b4a7c92c888c0) >--- > source3/modules/vfs_expand_msdfs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c >index ffbfa333bad..e42d0098b32 100644 >--- a/source3/modules/vfs_expand_msdfs.c >+++ b/source3/modules/vfs_expand_msdfs.c >@@ -147,8 +147,7 @@ static char *expand_msdfs_target(TALLOC_CTX *ctx, > return NULL; > } > >- targethost = read_target_host( >- ctx, raddr, mapfilename); >+ targethost = read_target_host(ctx, mapfilename, raddr); > if (targethost == NULL) { > DEBUG(1, ("Could not expand target host from file %s\n", > mapfilename)); >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 12687
: 13060 |
13243