[BUG 5580] Allow access to DFS shares via libsmbclient
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Wed, 9 Jul 2008 00:44:39 +0000 (20:44 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Wed, 9 Jul 2008 00:44:39 +0000 (20:44 -0400)
commit31262a59bcf1cb04631c2efca169e417ef597bec
tree937c6d99f02f8b0287cca6b9eb8dd753d68fea1e
parent70d8e57c174d2dddf8d05ab81cf2edf31d10aebd
[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)
source3/include/libsmbclient.h
source3/include/proto.h
source3/lib/util.c
source3/libsmb/libsmb_context.c