Lines Matching refs:enum_buf
1026 } else if (arg.enum_buf->entries_read != 0) {
1027 n_entries = arg.enum_buf->entries_read;
1037 (smb_sid_t *)arg.enum_buf->info[i].sid);
1095 } else if (arg.enum_buf->entries_read == 0) {
1099 lsar_set_trusted_domains(arg.enum_buf, list);
1139 } else if (arg.enum_buf->entries_read == 0) {
1143 lsar_set_trusted_domains_ex(arg.enum_buf, list);
1319 lsar_set_trusted_domains_ex(struct mslsa_EnumTrustedDomainBufEx *enum_buf,
1325 if (list == NULL || enum_buf == NULL || enum_buf->entries_read == 0)
1329 list->td_domains = calloc(enum_buf->entries_read,
1335 list->td_num = enum_buf->entries_read;
1337 smb_sid_tostr((smb_sid_t *)enum_buf->info[i].sid, sidstr);
1340 (char *)enum_buf->info[i].nb_name.str,
1341 (char *)enum_buf->info[i].dns_name.str,
1342 enum_buf->info[i].trust_direction,
1343 enum_buf->info[i].trust_type,
1344 enum_buf->info[i].trust_attrs,
1350 lsar_set_trusted_domains(struct mslsa_EnumTrustedDomainBuf *enum_buf,
1356 if (list == NULL || enum_buf == NULL || enum_buf->entries_read == 0)
1360 list->td_domains = calloc(enum_buf->entries_read,
1366 list->td_num = enum_buf->entries_read;
1368 smb_sid_tostr((smb_sid_t *)enum_buf->info[i].sid, sidstr);
1370 sidstr, (char *)enum_buf->info[i].name.str,