Changeset 228 for branches/samba-3.2.x/source/lib/util_sid.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/lib/util_sid.c
r149 r228 665 665 } 666 666 667 bool is_sid_in_token(const NT_USER_TOKEN *token, const DOM_SID *sid) 668 { 669 int i; 670 671 for (i=0; i<token->num_sids; i++) { 672 if (sid_compare(sid, &token->user_sids[i]) == 0) 673 return true; 674 } 675 return false; 676 } 677 667 678 NTSTATUS sid_array_from_info3(TALLOC_CTX *mem_ctx, 668 679 const struct netr_SamInfo3 *info3,
Note:
See TracChangeset
for help on using the changeset viewer.