diff options
-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 */ |