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:
parent
5fd8db91ef
commit
b4340ea774
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user