mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().
Volker, please check. Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with this fix). Guenther
This commit is contained in:
parent
490f6c418d
commit
0ba833f3ee
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user