1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source3/rpcclient
Luke Leighton 4af8d7aa29 - got client code cleartext passwords working again in cli_session_setup.
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 2a509e9606)
1999-01-27 00:08:33 +00:00
..
cmd_lsarpc.c added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids. 1998-12-14 20:23:20 +00:00
cmd_netlogon.c removed nt_pipe_fnum from struct cli_state. need to be able to call 1998-12-07 20:23:41 +00:00
cmd_reg.c removed nt_pipe_fnum from struct cli_state. need to be able to call 1998-12-07 20:23:41 +00:00
cmd_samr.c added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids. 1998-12-14 20:23:20 +00:00
cmd_srvsvc.c removed nt_pipe_fnum from struct cli_state. need to be able to call 1998-12-07 20:23:41 +00:00
cmd_svcctl.c adding some enumerate services code, client and server. 1998-12-09 16:28:04 +00:00
cmd_wkssvc.c removed nt_pipe_fnum from struct cli_state. need to be able to call 1998-12-07 20:23:41 +00:00
display.c - renamed do_samr_xxx to samr_xxx 1998-12-04 16:30:00 +00:00
rpcclient.c - got client code cleartext passwords working again in cli_session_setup. 1999-01-27 00:08:33 +00:00