mirror of
https://github.com/samba-team/samba.git
synced 2025-12-21 20:23:50 +03:00
Makefile: Added files to smbpasswd.c.
loadparm.c: Patch from tim@quiknet.com for static string problems. server.c: Setup global_myname. smbpass.c: Fix up locking. Add machine_password_delete() call. smbpasswd.c: Added provisional code to add to a domain. lib/rpc/client/cli_login.c: Fixed incorrect cred_hash3 call when setting machine password. lib/rpc/server/srv_netlog.c: Fixed incorrect cred_hash3 call when setting machine password. Jeremy.
This commit is contained in:
@@ -402,7 +402,7 @@ static void api_net_srv_pwset( int uid,
|
||||
DEBUG(100,("%02X ", q_a.pwd[i]));
|
||||
DEBUG(100,("\n"));
|
||||
|
||||
cred_hash3( pwd, q_a.pwd, vuser->dc.sess_key, 1);
|
||||
cred_hash3( pwd, q_a.pwd, vuser->dc.sess_key, 0);
|
||||
|
||||
/* lies! nt and lm passwords are _not_ the same: don't care */
|
||||
smb_pass->smb_passwd = pwd;
|
||||
|
||||
Reference in New Issue
Block a user