mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
4af8d7aa29
needed this for some tests.
- removed code that said "if lm password is not encrypted then encrypt both
lm and nt passwords". actually it said "if lm password length is not 24
bytes and we're in security=user mode..."
it didn't bother to check whether the nt password was NULL or not, and
doing the encryption inside cli_session_setup is the wrong place.
- checked all instances where cli_session_setup is called with cleartext
passwords that are expected to then be encrypted (see above) with the
test "if pwlen != 24...". there was only one: all the others either
provide encrypted passwords, do null sessions or use
cli_establish_connection.
* recommendation: use cli_establish_connection() in smbwrapper/smbw.c
(This used to be commit
|
||
---|---|---|
.. | ||
cmd_lsarpc.c | ||
cmd_netlogon.c | ||
cmd_reg.c | ||
cmd_samr.c | ||
cmd_srvsvc.c | ||
cmd_svcctl.c | ||
cmd_wkssvc.c | ||
display.c | ||
rpcclient.c |