git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80c2e0
)
Must set password length to 24 after we encrypt a password.
author
Matthew Chapman
<matty@samba.org>
Mon, 1 Feb 1999 05:25:54 +0000
(
05:25
+0000)
committer
Matthew Chapman
<matty@samba.org>
Mon, 1 Feb 1999 05:25:54 +0000
(
05:25
+0000)
(This used to be commit
af83778abc5fae0df53ed1874181e33bc8de8d94
)
source3/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clientgen.c
b/source3/libsmb/clientgen.c
index a43731ffcc17bd086f619c68660bd9c2c48ef8ba..d40c95b9c1c04244c728eb74c1a797063f9814cf 100644
(file)
--- 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 */