diff options
author | Volker Lendecke <vlendec@samba.org> | 2002-09-28 12:14:17 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2002-09-28 12:14:17 +0000 |
commit | 9e0bd9be01a6337d75d54382b56dfe6a88bda47b (patch) | |
tree | e425272d1fa01a42d38b29244ee156a1db6cde0e /source3/libsmb/cliconnect.c | |
parent | 0a23b0b4d5bd77d6f83797b309e06ac4d1a892db (diff) | |
download | samba-9e0bd9be01a6337d75d54382b56dfe6a88bda47b.tar.gz samba-9e0bd9be01a6337d75d54382b56dfe6a88bda47b.tar.bz2 samba-9e0bd9be01a6337d75d54382b56dfe6a88bda47b.zip |
Thanks to abartlet I looked at that function a bit closer. What did
the first cli_push_string do? I suspect that it's a leftover from times
when the password length was needed at some point.
Volker
(This used to be commit df906c156aea46524dedc28ee54f4e87711c7160)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index ebadafd5f0..695c6506b5 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -184,10 +184,7 @@ static BOOL cli_session_setup_plaintext(struct cli_state *cli, char *user, char *pass, char *workgroup) { uint32 capabilities = cli_session_setup_capabilities(cli); - fstring pword; - int passlen; char *p; - int push_flags = STR_TERMINATE; if (capabilities & CAP_UNICODE) @@ -195,8 +192,6 @@ static BOOL cli_session_setup_plaintext(struct cli_state *cli, char *user, else push_flags |= STR_ASCII; - passlen = clistr_push(cli, pword, pass, sizeof(pword), push_flags); - set_message(cli->outbuf,13,0,True); SCVAL(cli->outbuf,smb_com,SMBsesssetupX); cli_setup_packet(cli); |