summaryrefslogtreecommitdiff
path: root/source3/lib/util_pwdb.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/util_pwdb.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/util_pwdb.c')
-rw-r--r--source3/lib/util_pwdb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/util_pwdb.c b/source3/lib/util_pwdb.c
index 8008e9de71..7e7eb0da8b 100644
--- a/source3/lib/util_pwdb.c
+++ b/source3/lib/util_pwdb.c
@@ -31,6 +31,9 @@ extern DOM_SID global_member_sid;
extern fstring global_myworkgroup;
extern DOM_SID global_sid_S_1_5_20;
+
+extern pstring global_myname;
+
/*
* A list of the rids of well known BUILTIN and Domain users
* and groups.
@@ -443,7 +446,7 @@ BOOL pwdb_initialise(BOOL is_server)
}
else
{
- if (!get_domain_sids(&global_member_sid, &global_sam_sid))
+ if (!get_domain_sids(&global_member_sid, &global_sam_sid, global_myname))
{
return False;
}