get_md4pw was called with 2 params, one never used. mach_name and
commit29597b7fe18a57bd631d51c7ddc850c3be9298a1
authorJean-François Micouleau <jfm@samba.org>
Wed, 31 Jan 2001 18:34:28 +0000 (31 18:34 +0000)
committerJean-François Micouleau <jfm@samba.org>
Wed, 31 Jan 2001 18:34:28 +0000 (31 18:34 +0000)
treea30dd7394967c15b399fb5bfcb24356b51055541
parente340b1e29df3f45e87be28548892c07a40f39265
get_md4pw was called with 2 params, one never used. mach_name and
mach_acct where mixed, the machine account wasn't correctly converted to
lower case.

srv_samr.c: added checks around Unix password changing. If it's a trust
account, don't change the unix password. That's the reason why people
having unix password sync=yes coudn't join a samba domain for a W2K box.

changed also the string_sub function in create_unix_account() to NOT strip
the ending $ on trust account.

For the security picky people, Jeremy is already aware :-)

J.F.
source/rpc_server/srv_netlog.c
source/rpc_server/srv_samr.c
source/smbd/reply.c