struct kauth_identity_extlookup request;
int result = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_UID | KAUTH_EXTLOOKUP_WANT_UGUID;
request.el_uid = id;
result = _mbr_DoMembershipCall(GetServerPort(), &request);
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_GID | KAUTH_EXTLOOKUP_WANT_GGUID;
request.el_gid = id;
result = _mbr_DoMembershipCall(GetServerPort(), &request);
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_UGUID | KAUTH_EXTLOOKUP_VALID_GGUID |
KAUTH_EXTLOOKUP_WANT_UID | KAUTH_EXTLOOKUP_WANT_GID;
memcpy(&request.el_uguid, uu, sizeof(guid_t));
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_GSID | KAUTH_EXTLOOKUP_WANT_GGUID;
memset(&request.el_gsid, 0, sizeof(ntsid_t));
memcpy(&request.el_gsid, sid, KAUTH_NTSID_SIZE(sid));
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_GGUID | KAUTH_EXTLOOKUP_WANT_GSID;
memcpy(&request.el_gguid, uu, sizeof(guid_t));
result = _mbr_DoMembershipCall(GetServerPort(), &request);
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_UGUID | KAUTH_EXTLOOKUP_VALID_GGUID |
KAUTH_EXTLOOKUP_WANT_MEMBERSHIP;
memcpy(&request.el_uguid, user, sizeof(guid_t));
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_UGUID | KAUTH_EXTLOOKUP_VALID_GGUID |
KAUTH_EXTLOOKUP_WANT_MEMBERSHIP | (1<<15);
memcpy(&request.el_uguid, user, sizeof(guid_t));
kern_return_t result;
int error = 0;
- request.el_seqno = 1; // used as byte order field
request.el_flags = KAUTH_EXTLOOKUP_VALID_UGUID | KAUTH_EXTLOOKUP_VALID_GID |
KAUTH_EXTLOOKUP_WANT_MEMBERSHIP;
memcpy(&request.el_uguid, user, sizeof(guid_t));