diff options
author | Matthew Chapman <matty@samba.org> | 1999-02-01 05:25:54 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-02-01 05:25:54 +0000 |
commit | 1cf9521b2de9a6053c658329d54fe178be94de19 (patch) | |
tree | 0e1dc496568b57d8dafb1184420149c8dc11d72f /source3/libsmb | |
parent | c80c2e0d9efaf823448d214da448b27ea1cbb863 (diff) | |
download | samba-1cf9521b2de9a6053c658329d54fe178be94de19.tar.gz samba-1cf9521b2de9a6053c658329d54fe178be94de19.tar.bz2 samba-1cf9521b2de9a6053c658329d54fe178be94de19.zip |
Must set password length to 24 after we encrypt a password.
(This used to be commit af83778abc5fae0df53ed1874181e33bc8de8d94)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index a43731ffcc..d40c95b9c1 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -746,6 +746,8 @@ BOOL cli_session_setup(struct cli_state *cli, uchar *key = (uchar *)cli->cryptkey; SMBencrypt ((uchar *)pass , key,(uchar *)pword ); SMBNTencrypt((uchar *)ntpass, key,(uchar *)ntpword); + passlen = 24; + ntpasslen = 24; } /* send a session setup command */ |