Lines Matching defs:info
304 smb_domain_t *info)
315 if (lsa_handle == NULL || info == NULL)
320 bzero(info, sizeof (smb_domain_t));
338 info->di_type = SMB_DOMAIN_PRIMARY;
340 (char *)pd_info->name.str, "", info);
349 info->di_type = SMB_DOMAIN_ACCOUNT;
351 (char *)ad_info->name.str, "", info);
362 info->di_type = SMB_DOMAIN_PRIMARY;
367 guid_str, info);
386 lsar_lookup_names(mlsvc_handle_t *lsa_handle, char *name, smb_account_t *info)
402 if (lsa_handle == NULL || name == NULL || info == NULL)
405 bzero(info, sizeof (smb_account_t));
432 status = (*ops[i])(lsa_handle, &names, info);
439 status = lsar_lookup_names1(lsa_handle, &names, info);
443 info->a_name = lsar_get_username(name);
445 if (!smb_account_validate(info)) {
446 smb_account_free(info);
449 smb_account_trace(info);
495 smb_account_t *info)
533 info->a_type = rid_entry->sid_name_use;
534 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid);
536 info->a_domain = strdup(domname);
537 info->a_rid = rid_entry->rid;
538 info->a_sid = smb_sid_splice(info->a_domsid, info->a_rid);
549 smb_account_t *info)
588 info->a_type = rid_entry->sid_name_use;
589 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid);
591 info->a_domain = strdup(domname);
592 info->a_rid = rid_entry->rid;
593 info->a_sid = smb_sid_splice(info->a_domsid, info->a_rid);
604 smb_account_t *info)
643 info->a_type = sid_entry->sid_name_use;
644 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid);
646 info->a_domain = strdup(domname);
647 info->a_sid = smb_sid_dup((smb_sid_t *)sid_entry->sid);
648 (void) smb_sid_getrid(info->a_sid, &info->a_rid);
666 smb_account_t *info)
707 info->a_type = sid_entry->sid_name_use;
708 info->a_domsid = smb_sid_dup((smb_sid_t *)domain_entry->domain_sid);
710 info->a_domain = strdup(domname);
711 info->a_sid = smb_sid_dup((smb_sid_t *)sid_entry->sid);
712 (void) smb_sid_getrid(info->a_sid, &info->a_rid);
965 struct mslsa_AccountInfo *info;
976 accounts->info = 0;
998 if ((info = malloc(nbytes)) == NULL) {
1004 info[i].sid = (lsa_sid_t *)smb_sid_dup(
1005 (smb_sid_t *)arg.enum_buf->info[i].sid);
1008 accounts->info = info;
1305 smb_sid_tostr((smb_sid_t *)enum_buf->info[i].sid, sidstr);
1308 (char *)enum_buf->info[i].nb_name.str,
1309 (char *)enum_buf->info[i].dns_name.str,
1310 enum_buf->info[i].trust_direction,
1311 enum_buf->info[i].trust_type,
1312 enum_buf->info[i].trust_attrs,
1336 smb_sid_tostr((smb_sid_t *)enum_buf->info[i].sid, sidstr);
1338 sidstr, (char *)enum_buf->info[i].name.str,
1344 smb_account_trace(const smb_account_t *info)
1349 smb_sid_tostr(info->a_sid, sidbuf);
1351 smb_tracef("%s %s %s %lu %s", info->a_domain, info->a_name,
1352 sidbuf, info->a_rid, smb_sid_type2str(info->a_type));