summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_netlogon.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-02 19:03:23 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-02 19:03:23 +0000
commit98e28ee14ce7ffe93777315891a6626ac7a0828a (patch)
treeaa4849a6d751ae5a978ed31e125d06c8e4e561c0 /source3/rpcclient/cmd_netlogon.c
parent5988d0cdae19d014a5a011de83c48326e82860b6 (diff)
downloadsamba-98e28ee14ce7ffe93777315891a6626ac7a0828a.tar.gz
samba-98e28ee14ce7ffe93777315891a6626ac7a0828a.tar.bz2
samba-98e28ee14ce7ffe93777315891a6626ac7a0828a.zip
cleaning up: removing those horrible references to server list
functions (cli_net_use_addlist()). needed originally because there was no get_dc_any_name() function. (This used to be commit 3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2)
Diffstat (limited to 'source3/rpcclient/cmd_netlogon.c')
-rw-r--r--source3/rpcclient/cmd_netlogon.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 910d75e1f7..9bd398643f 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -140,8 +140,7 @@ void cmd_netlogon_login_test(struct client_info *info, int argc, char *argv[])
res = res ? cli_nt_setup_creds(srv_name, info->myhostname,
trust_acct,
- trust_passwd, SEC_CHAN_WKSTA,
- srv_name) == 0x0 : False;
+ trust_passwd, SEC_CHAN_WKSTA) == 0x0 : False;
#if 0
/* change the machine password? */
@@ -215,8 +214,7 @@ void cmd_netlogon_domain_test(struct client_info *info, int argc, char *argv[])
res = res ? cli_nt_setup_creds(srv_name,
info->myhostname, inter_dom_acct,
trust_passwd,
- SEC_CHAN_DOMAIN,
- srv_name) == 0x0 : False;
+ SEC_CHAN_DOMAIN) == 0x0 : False;
memset(trust_passwd, 0, 16);