mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:client: use cli_cm_force_encryption_creds in smbspool.c (in a #if 0 section)
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
0c52239868
commit
c19232b4bc
@ -474,11 +474,7 @@ smb_complete_connection(const char *myname,
|
||||
#if 0
|
||||
/* Need to work out how to specify this on the URL. */
|
||||
if (smb_encrypt) {
|
||||
if (!cli_cm_force_encryption(cli,
|
||||
username,
|
||||
password,
|
||||
workgroup,
|
||||
share)) {
|
||||
if (!cli_cm_force_encryption_creds(cli, creds, share)) {
|
||||
fprintf(stderr, "ERROR: encryption setup failed\n");
|
||||
cli_shutdown(cli);
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user