summaryrefslogtreecommitdiffstats
path: root/source3/include/libsmbclient.h
diff options
context:
space:
mode:
authorBo Yang <boyang@novell.com>2009-02-20 12:00:46 +0800
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-20 09:46:46 -0500
commite256d72f0cd66c374f14a122623668de888aa5e7 (patch)
treeac0dfb0c38db1d9bb0ae353ef4013b5fd11f36ce /source3/include/libsmbclient.h
parent27307be0f726c899c0e8a0edfdf200650037bb61 (diff)
downloadsamba-e256d72f0cd66c374f14a122623668de888aa5e7.tar.gz
samba-e256d72f0cd66c374f14a122623668de888aa5e7.tar.xz
samba-e256d72f0cd66c374f14a122623668de888aa5e7.zip
Make libsmbclient work with DFS
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
Diffstat (limited to 'source3/include/libsmbclient.h')
-rw-r--r--source3/include/libsmbclient.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index f8a6c8a235e..efc471c85b4 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -2683,6 +2683,18 @@ smbc_set_credentials(char *workgroup,
smbc_bool use_kerberos,
char *signing_state);
+/*
+ * Wrapper around smbc_set_credentials.
+ * Used to set correct credentials that will
+ * be used to connect to DFS target share
+ * in libsmbclient
+ */
+
+void
+smbc_set_credentials_with_fallback(SMBCCTX *ctx,
+ char *workgroup,
+ char *user,
+ char *password);
/**
* @ingroup structure