1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

s3:libsmb: make use of cli_tree_connect_creds() in SMBC_server_internal()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-12-12 06:00:32 +01:00 committed by Andreas Schneider
parent 5fd8db91ef
commit b4340ea774

View File

@ -562,7 +562,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
/* must be a normal share */
status = cli_tree_connect(c, share, "?????", *pp_password);
status = cli_tree_connect_creds(c, share, "?????", creds);
if (!NT_STATUS_IS_OK(status)) {
errno = map_errno_from_nt_status(status);
cli_shutdown(c);