Fix two bugs that were stopping net rpc vampire from working over secure
authorTim Potter <tpot@samba.org>
Mon, 12 May 2003 07:16:21 +0000 (07:16 +0000)
committerTim Potter <tpot@samba.org>
Mon, 12 May 2003 07:16:21 +0000 (07:16 +0000)
commit5b776f179aa7ac7af731e317e51ec6d560e1d463
tree434e3088d4b42f5a48875c88a43cebb60ab599ca
parent6e4c1e4e4d30105558e8351501400a41b8372892
Fix two bugs that were stopping net rpc vampire from working over secure
channel:

  - If the domain name passed to create_rpc_bind_req() is empty, use
    lp_workgroup()

  - Correctly set the auth_padding field when the send_size is a multiple
    of 8 bytes

I've tested with nt4sp6 and win2ksp0 and it seems to work, although
there are no password hashes transferred from win2k.  The empty
passwords are being protected by the secure channel encryption though.
(This used to be commit a8c11e855611c91e94787387c62ac629232cacfa)
source3/rpc_client/cli_pipe.c