mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s4:rpcsrv:samr: improve a comment in compare_msgRid
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
7be535315a
commit
6229feab74
@ -1197,8 +1197,9 @@ static int compare_msgRid(struct ldb_message **m1, struct ldb_message **m2) {
|
||||
}
|
||||
|
||||
/*
|
||||
* Get and compare the rids, if we fail to extract a rid treat it as a
|
||||
* missing SID and sort to the end of the list
|
||||
* Get and compare the rids. If we fail to extract a rid (because
|
||||
* there are no subauths) the msg goes to the end of the list, but
|
||||
* before the NULL SIDs.
|
||||
*/
|
||||
status = dom_sid_split_rid(NULL, sid1, NULL, &rid1);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user