summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-07-08 20:44:39 -0400
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-07-08 20:44:39 -0400
commit31262a59bcf1cb04631c2efca169e417ef597bec (patch)
tree937c6d99f02f8b0287cca6b9eb8dd753d68fea1e /source3/lib
parent70d8e57c174d2dddf8d05ab81cf2edf31d10aebd (diff)
downloadsamba-31262a59bcf1cb04631c2efca169e417ef597bec.tar.gz
samba-31262a59bcf1cb04631c2efca169e417ef597bec.tar.bz2
samba-31262a59bcf1cb04631c2efca169e417ef597bec.zip
[BUG 5580] Allow access to DFS shares via libsmbclient
Brian Sheehan provided a nice patch intended for the 3.0 code base. This commit applies a similar patch for the 3.3 code base. It adds a new public function to libsmbclient -- smbc_set_credentials() -- that may be called from the authentication callback when DFS referrals are in use. Derrell (This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 68524a21ce..8d744a5ae3 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -353,6 +353,11 @@ int get_cmdline_auth_info_signing_state(void)
return cmdline_auth_info.signing_state;
}
+void set_cmdline_auth_info_use_kerberos(bool b)
+{
+ cmdline_auth_info.use_kerberos = b;
+}
+
bool get_cmdline_auth_info_use_kerberos(void)
{
return cmdline_auth_info.use_kerberos;