diff options
author | Bo Yang <boyang@novell.com> | 2009-02-20 12:00:46 +0800 |
---|---|---|
committer | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2009-02-20 09:46:46 -0500 |
commit | e256d72f0cd66c374f14a122623668de888aa5e7 (patch) | |
tree | ac0dfb0c38db1d9bb0ae353ef4013b5fd11f36ce /source3/include | |
parent | 27307be0f726c899c0e8a0edfdf200650037bb61 (diff) | |
download | samba-e256d72f0cd66c374f14a122623668de888aa5e7.tar.gz samba-e256d72f0cd66c374f14a122623668de888aa5e7.tar.bz2 samba-e256d72f0cd66c374f14a122623668de888aa5e7.zip |
Make libsmbclient work with DFS
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmbclient.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index f8a6c8a235..efc471c85b 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 |