summaryrefslogtreecommitdiff
path: root/source3/lib/sids.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-01 19:34:58 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-01 19:34:58 +0000
commitb3c1baeb8067b1b1c59eb55d34334d10725b0a48 (patch)
treeb1a0c1d8e0099b018e954ba138b21bc3d81f1a8d /source3/lib/sids.c
parent04e382fb166a64de193dc3c7b21187d8382eaeea (diff)
downloadsamba-b3c1baeb8067b1b1c59eb55d34334d10725b0a48.tar.gz
samba-b3c1baeb8067b1b1c59eb55d34334d10725b0a48.tar.bz2
samba-b3c1baeb8067b1b1c59eb55d34334d10725b0a48.zip
fixing smbpasswd to link to smbd to obtain domain sid
(This used to be commit bfb75e58ced1082d3bb7d6b3f3367d50a0ca26ea)
Diffstat (limited to 'source3/lib/sids.c')
-rw-r--r--source3/lib/sids.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/sids.c b/source3/lib/sids.c
index 4a2a5d4805..8a289bcea7 100644
--- a/source3/lib/sids.c
+++ b/source3/lib/sids.c
@@ -172,13 +172,13 @@ BOOL get_member_domain_sid(void)
}
}
- return get_domain_sids(NULL, &global_member_sid);
+ return get_domain_sids(NULL, &global_member_sid, lp_passwordserver());
}
/****************************************************************************
obtain the sid from the PDC. do some verification along the way...
****************************************************************************/
-BOOL get_domain_sids(DOM_SID *sid3, DOM_SID *sid5)
+BOOL get_domain_sids(DOM_SID *sid3, DOM_SID *sid5, char *servers)
{
POLICY_HND pol;
fstring srv_name;
@@ -193,7 +193,7 @@ BOOL get_domain_sids(DOM_SID *sid3, DOM_SID *sid5)
return False;
}
- if (!cli_connect_serverlist(&cli, lp_passwordserver()))
+ if (!cli_connect_serverlist(&cli, servers))
{
DEBUG(0,("get_member_domain_sid: unable to initialise client connection.\n"));
return False;