1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4:rpc_server: Use Builtin SID constant

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-09-11 15:28:22 +12:00 committed by Andrew Bartlett
parent 4bef3fd7e9
commit 8b496331b9

View File

@ -454,7 +454,7 @@ static NTSTATUS dcesrv_samr_OpenDomain(struct dcesrv_call_state *dce_call, TALLO
d_state->domain_sid = talloc_steal(d_state, r->in.sid);
if (dom_sid_equal(d_state->domain_sid, dom_sid_parse_talloc(mem_ctx, SID_BUILTIN))) {
if (dom_sid_equal(d_state->domain_sid, &global_sid_Builtin)) {
d_state->builtin = true;
d_state->domain_name = "BUILTIN";
} else {