Fix args to cli_force_encryption.
[kai/samba.git] / source3 / utils / net.c
index 59316091bad85e1093e1433853063d25613fe8a1..586ea2fdb6673220ae9091b5f43f1fa93727faf3 100644 (file)
@@ -202,8 +202,7 @@ NTSTATUS connect_to_service(struct cli_state **c,
                nt_status = cli_force_encryption(*c,
                                        opt_user_name,
                                        opt_password,
-                                       opt_workgroup,
-                                       service_name);
+                                       opt_workgroup);
 
                if (NT_STATUS_EQUAL(nt_status,NT_STATUS_NOT_SUPPORTED)) {
                        d_printf("Encryption required and "