summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index b153bef1c2..165fb1729c 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -343,6 +343,7 @@ static DISP_INFO *get_samr_dispinfo_by_sid(DOM_SID *psid)
}
}
sid_copy(&builtin_dispinfo->sid, &global_sid_Builtin);
+ builtin_dispinfo->builtin_domain = true;
return builtin_dispinfo;
}
@@ -359,6 +360,7 @@ static DISP_INFO *get_samr_dispinfo_by_sid(DOM_SID *psid)
}
}
sid_copy(&domain_dispinfo->sid, get_global_sam_sid());
+ domain_dispinfo->builtin_domain = false;
return domain_dispinfo;
}