Lines Matching defs:user_sid
31 const DOM_SID *user_sid,
834 const DOM_SID *user_sid,
844 DEBUG(10, ("Create local NT token for %s\n", sid_string_static(user_sid)));
853 if (!add_sid_to_array(result, user_sid,
1081 DOM_SID user_sid;
1097 NULL, NULL, &user_sid, &type)) {
1108 if (!sid_to_uid(&user_sid, uid)) {
1110 username, sid_string_static(&user_sid)));
1114 if (sid_check_is_in_our_domain(&user_sid)) {
1125 if (!pdb_getsampwsid(sam_acct, &user_sid)) {
1127 sid_string_static(&user_sid), username));
1151 } else if (sid_check_is_in_unix_users(&user_sid)) {
1166 uid_to_unix_users_sid(*uid, &user_sid);
1223 sid_copy(&group_sids[0], &user_sid);
1268 *token = create_local_nt_token(mem_ctx, &user_sid,
1792 DOM_SID user_sid;
1809 sid_copy(&user_sid, &info3->dom_sid.sid);
1810 if (!sid_append_rid(&user_sid, info3->user_rid)) {
1881 if (!pdb_set_user_sid(sam_account, &user_sid, PDB_CHANGED)) {