summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
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
commit3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2 (patch)
tree1a8ef991940a67df3cbe1f342770a9667ad62507 /source/rpcclient
parent455e17dbb7d451b462004f302f5c68770f17b65e (diff)
downloadsamba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.tar.gz
samba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.tar.xz
samba-3a2b920ea2e6704b2574f404e1e41c7cfc0f96b2.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.
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/cmd_netlogon.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/rpcclient/cmd_netlogon.c b/source/rpcclient/cmd_netlogon.c
index 910d75e1f70..9bd398643f1 100644
--- a/source/rpcclient/cmd_netlogon.c
+++ b/source/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);