summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_netlogon.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-26 16:46:45 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-26 16:46:45 +0000
commitea6592046f40ca21c689bff6472b4dd764850e43 (patch)
tree20c95af4ac1b735d9a1a42ddd5776f1d544d7a37 /source3/rpcclient/cmd_netlogon.c
parent9d890f269cf54291edee585168960a56731cb363 (diff)
downloadsamba-ea6592046f40ca21c689bff6472b4dd764850e43.tar.gz
samba-ea6592046f40ca21c689bff6472b4dd764850e43.tar.bz2
samba-ea6592046f40ca21c689bff6472b4dd764850e43.zip
adding extra parameter back in to trust account functions (trust account name).
restoring opening S-1-5-20 in sam enum users code. (This used to be commit 1be877114e2e958c59e6516dacf22d3fb5a4240f)
Diffstat (limited to 'source3/rpcclient/cmd_netlogon.c')
-rw-r--r--source3/rpcclient/cmd_netlogon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 3652218692..5c17e5c3da 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -45,7 +45,9 @@ experimental nt login.
void cmd_netlogon_login_test(struct client_info *info)
{
uint16 nt_pipe_fnum;
+#if 0
extern BOOL global_machine_password_needs_changing;
+#endif
fstring nt_user_name;
fstring password;
@@ -195,7 +197,8 @@ void cmd_sam_sync(struct client_info *info)
return;
}
- if (do_sam_sync(smb_cli, trust_passwd, global_myname,
+ if (do_sam_sync(smb_cli, trust_passwd,
+ smb_cli->mach_acct, global_myname,
hdr_deltas, deltas, &num))
{
display_sam_sync(out_hnd, ACTION_HEADER , hdr_deltas, deltas, num);