s3:client: use cli_cm_force_encryption_creds in smbspool.c (in a #if 0 section)
authorStefan Metzmacher <metze@samba.org>
Fri, 4 Nov 2016 11:37:08 +0000 (12:37 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 21 Dec 2016 17:35:13 +0000 (18:35 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/smbspool.c

index a4478364aa963cadfa19ce77e67ec98ed58c4bda..10e89c7bf219b6a167755b095146ea022d8e22fa 100644 (file)
@@ -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;