summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 38023abec2..481fca8f84 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1799,18 +1799,19 @@ static int cmd_posix_encrypt(void)
d_printf("posix_encrypt domain user password\n");
return 1;
}
- fstrcat(domain,buf);
+ fstrcpy(domain,buf);
+
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("posix_encrypt domain user password\n");
return 1;
}
- fstrcat(user,buf);
+ fstrcpy(user,buf);
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("posix_encrypt domain user password\n");
return 1;
}
- fstrcat(password,buf);
+ fstrcpy(password,buf);
status = cli_raw_ntlm_smb_encryption_start(cli,
user,