summaryrefslogtreecommitdiffstats
path: root/source/passdb/machine_sid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/passdb/machine_sid.c')
-rw-r--r--source/passdb/machine_sid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/passdb/machine_sid.c b/source/passdb/machine_sid.c
index ecc7d291f6d..ae0b16273f2 100644
--- a/source/passdb/machine_sid.c
+++ b/source/passdb/machine_sid.c
@@ -86,6 +86,8 @@ static DOM_SID *pdb_generate_sam_sid(void)
if(!(sam_sid=SMB_MALLOC_P(DOM_SID)))
return NULL;
+ generate_wellknown_sids();
+
switch (lp_server_role()) {
case ROLE_DOMAIN_PDC:
case ROLE_DOMAIN_BDC: