summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-08 23:03:42 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-08 23:03:42 +0000
commit631814302d6992138cfe024ba7bd456cc7e0d3bf (patch)
tree3b6ef854ebeedab45cbb1c41e57f105942fece60 /source/rpc_client
parentb2ea37a8f1a28a825719b46354a1244b359aca2c (diff)
downloadsamba-631814302d6992138cfe024ba7bd456cc7e0d3bf.tar.gz
samba-631814302d6992138cfe024ba7bd456cc7e0d3bf.tar.xz
samba-631814302d6992138cfe024ba7bd456cc7e0d3bf.zip
jerry spotted that get_domain_sids() was being called with the wrong
arguments: get_any_dc_name() was being called with a server name not a domain name. oops.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_lsarpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c
index 1cf584a29bc..b039bde159b 100644
--- a/source/rpc_client/cli_lsarpc.c
+++ b/source/rpc_client/cli_lsarpc.c
@@ -34,8 +34,7 @@ extern int DEBUGLEVEL;
/****************************************************************************
obtain the sid from the PDC. do some verification along the way...
****************************************************************************/
-BOOL get_domain_sids(const char *myname,
- DOM_SID *sid3, DOM_SID *sid5, char *domain)
+BOOL get_domain_sids(const char *domain, DOM_SID *sid3, DOM_SID *sid5)
{
POLICY_HND pol;
fstring srv_name;