[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)
commit888f922bd0d1c84a687d404e95ae314a9dd0aee1
tree615ab34a029196305c0c6a12c576031acd085b89
parentf329aaf0452cc9bbad9fb6f67dac00bf8d1ef128
[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
source/include/libsmbclient.h
source/include/proto.h
source/lib/util.c
source/libsmb/libsmb_context.c