s3:libsmb: add cli_tree_connect_creds()
authorStefan Metzmacher <metze@samba.org>
Wed, 7 Dec 2016 16:32:58 +0000 (17:32 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 9 Dec 2016 08:24:27 +0000 (09:24 +0100)
commitbae607af36786acac4454b49fc0d36ad92e4c715
tree7e574b3839f2a6ebcea81a6f9f71de1b49716c21
parentd0d17cdb777df668ca57344907a58fbfe295b511
s3:libsmb: add cli_tree_connect_creds()

This can be used with a valid creds structure in order
to do a share level authentication or with NULL in the cases
we assume a modern server already.

Later we can change the ordering and implement
cli_tree_connect() on top of cli_tree_connect_creds().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/cliconnect.c
source3/libsmb/proto.h