The Samba-Bugzilla – Attachment 5910 Details for
Bug 7627
smbclient ignores "-I" when used with "-L", fails name resolution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git am fix for 3.5.x.
0001-Fix-bug-7627-smbclient-ignores-I-when-used-with-L-fa.patch (text/plain), 1.19 KB, created by
Jeremy Allison
on 2010-08-18 18:45:34 UTC
(
hide
)
Description:
git am fix for 3.5.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-08-18 18:45:34 UTC
Size:
1.19 KB
patch
obsolete
>From 4cb40637a447ffd9934e7a076b9128c66fc0e143 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 18 Aug 2010 16:42:44 -0700 >Subject: [PATCH] Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name resolution. > >If we have dest_ss_str, always use it. > >Jeremy. >--- > source3/client/client.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/source3/client/client.c b/source3/client/client.c >index dcc380e..0f1ff39 100644 >--- a/source3/client/client.c >+++ b/source3/client/client.c >@@ -4584,7 +4584,7 @@ static int process(const char *base_directory) > static int do_host_query(const char *query_host) > { > cli = cli_cm_open(talloc_tos(), NULL, >- query_host, "IPC$", auth_info, true, smb_encrypt, >+ have_ip ? dest_ss_str : query_host, "IPC$", auth_info, true, smb_encrypt, > max_protocol, port, name_type); > if (!cli) > return 1; >@@ -4610,7 +4610,8 @@ static int do_host_query(const char *query_host) > > cli_shutdown(cli); > cli = cli_cm_open(talloc_tos(), NULL, >- query_host, "IPC$", auth_info, true, smb_encrypt, >+ have_ip ? dest_ss_str : query_host, "IPC$", >+ auth_info, true, smb_encrypt, > max_protocol, 139, name_type); > } > >-- >1.7.1 >
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
Actions:
View
Attachments on
bug 7627
: 5910