git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6bd7c05
)
r21901: Don't use fstrcat when you mean fstrcpy. Doh !
author
Jeremy Allison
<jra@samba.org>
Wed, 21 Mar 2007 01:21:16 +0000
(
01:21
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:47 +0000
(12:18 -0500)
Jeremy.
source/client/client.c
patch
|
blob
|
history
diff --git
a/source/client/client.c
b/source/client/client.c
index 38023abec296201219858a821c2e4bb06b9bdc07..481fca8f84d442a9261c5a48d2e00344e84f694f 100644
(file)
--- a/
source/client/client.c
+++ b/
source/client/client.c
@@
-1799,18
+1799,19
@@
static int cmd_posix_encrypt(void)
d_printf("posix_encrypt domain user password\n");
return 1;
}
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;
}
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("posix_encrypt domain user password\n");
return 1;
}
- fstrc
at
(user,buf);
+ fstrc
py
(user,buf);
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("posix_encrypt domain user password\n");
return 1;
}
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("posix_encrypt domain user password\n");
return 1;
}
- fstrc
at
(password,buf);
+ fstrc
py
(password,buf);
status = cli_raw_ntlm_smb_encryption_start(cli,
user,
status = cli_raw_ntlm_smb_encryption_start(cli,
user,