Remove unused parameter from decode_pw_buffer and fail on invalid
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 Sep 2008 00:50:43 +0000 (17:50 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Sep 2008 00:50:43 +0000 (17:50 -0700)
commitc39d1b829b02d275ea1052afec58ab40f22267a3
treefa1884b01df6bccebbf7d2bb978eb2d7cd3a0bc4
parentaaa45c832596d8f1b75f09f1de8fbee7483f6977
Remove unused parameter from decode_pw_buffer and fail on invalid
UTF-16 input

The input checking is important, as otherwise we could set the wrong
password.

Andrew Bartlett
source4/libcli/auth/smbencrypt.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/samr/samr_password.c