summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-29 22:27:26 +0000
committerJeremy Allison <jra@samba.org>1998-04-29 22:27:26 +0000
commit90177708aaf5bf17d689979701b5f0156b8a2fa4 (patch)
treedcca0199c3d534976a204b8cd936109fbe5e69d8 /source3/rpc_client
parente305c2c9e2e657974d34d1d58a8f9372921fdae2 (diff)
downloadsamba-90177708aaf5bf17d689979701b5f0156b8a2fa4.tar.gz
samba-90177708aaf5bf17d689979701b5f0156b8a2fa4.tar.bz2
samba-90177708aaf5bf17d689979701b5f0156b8a2fa4.zip
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 used to be commit 6a7164233e3bf9d6bb57c44a53204068e454ae5c)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_login.c b/source3/rpc_client/cli_login.c
index 80dca21149..b4cdf3ae50 100644
--- a/source3/rpc_client/cli_login.c
+++ b/source3/rpc_client/cli_login.c
@@ -90,7 +90,7 @@ BOOL cli_nt_srv_pwset(struct cli_state *cli, unsigned char *new_hashof_mach_pwd)
#endif
/* Process the new password. */
- cred_hash3( processed_new_pwd, new_hashof_mach_pwd, cli->sess_key, 0);
+ cred_hash3( processed_new_pwd, new_hashof_mach_pwd, cli->sess_key, 1);
/* send client srv_pwset challenge */
return cli_net_srv_pwset(cli, processed_new_pwd);