The Samba-Bugzilla – Attachment 4520 Details for
Bug 6615
Unable to access DFS share when using kerberos in smbclient
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.3
libsmbclient-dfs-kerberos-v3-3-test-mbox.diff (text/plain), 1.11 KB, created by
boyang
on 2009-08-06 10:14:24 UTC
(
hide
)
Description:
patch for 3.3
Filename:
MIME Type:
Creator:
boyang
Created:
2009-08-06 10:14:24 UTC
Size:
1.11 KB
patch
obsolete
>From 9cd2ba2cb10c2b08e5e7ee0a836f7fd37395f7f3 Mon Sep 17 00:00:00 2001 >From: Bo Yang <boyang@samba.org> >Date: Fri, 7 Aug 2009 14:58:36 +0800 >Subject: [PATCH] s3: Unable to browse DFS when using kerberos in libsmbclient > >Signed-off-by: Bo Yang <boyang@samba.org> >--- > source/libsmb/libsmb_context.c | 17 +++++++++++++---- > 1 files changed, 13 insertions(+), 4 deletions(-) > >diff --git a/source/libsmb/libsmb_context.c b/source/libsmb/libsmb_context.c >index ec16311..8e0aa1e 100644 >--- a/source/libsmb/libsmb_context.c >+++ b/source/libsmb/libsmb_context.c >@@ -655,14 +655,23 @@ void smbc_set_credentials_with_fallback(SMBCCTX *context, > smbc_bool use_kerberos = false; > const char *signing_state = "off"; > >- if (!context || >- ! workgroup || ! *workgroup || >- ! user || ! *user || >- ! password || ! *password) { >+ if (! context) { > > return; > } > >+ if (! workgroup || ! *workgroup) { >+ workgroup = smbc_getWorkgroup(context); >+ } >+ >+ if (! user) { >+ user = smbc_getUser(context); >+ } >+ >+ if (! password) { >+ password = ""; >+ } >+ > if (smbc_getOptionUseKerberos(context)) { > use_kerberos = True; > } >-- >1.5.3 >
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:
derrell.lipman
:
review+
Actions:
View
Attachments on
bug 6615
: 4520 |
4521