summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 59316091ba..586ea2fdb6 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -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 "