Lines Matching defs:info
74 lsa_lookup_name(char *account, uint16_t type, smb_account_t *info)
99 status = lsa_lookup_name_builtin(domain, name, info);
101 status = smb_sam_lookup_name(domain, name, type, info);
106 status = lsa_lookup_name_domain(account, info);
113 lsa_lookup_sid(smb_sid_t *sid, smb_account_t *info)
120 status = lsa_lookup_sid_builtin(sid, info);
122 status = smb_sam_lookup_sid(sid, info);
124 status = lsa_lookup_sid_domain(sid, info);
134 * The requested information will be returned via 'info' argument.
140 smb_domain_t *info)
152 MSLSA_POLICY_PRIMARY_DOMAIN_INFO, info);
162 * The requested information will be returned via 'info' argument.
168 smb_domain_t *info)
180 MSLSA_POLICY_ACCOUNT_DOMAIN_INFO, info);
189 * Obtains the DNS domain info from the specified server
192 * The requested information will be returned via 'info' argument.
197 lsa_query_dns_domain_info(char *server, char *domain, smb_domain_t *info)
209 MSLSA_POLICY_DNS_DOMAIN_INFO, info);
220 * The requested information will be returned via 'info' argument.
226 smb_trusted_domains_t *info)
240 status = lsar_enum_trusted_domains(&domain_handle, &enum_context, info);
259 * The requested information will be returned via 'info' argument.
265 smb_trusted_domains_t *info)
280 info);
305 lsa_lookup_name_builtin(char *domain, char *name, smb_account_t *info)
310 bzero(info, sizeof (smb_account_t));
321 info->a_name = strdup(name);
322 info->a_sid = smb_sid_dup(wka->wka_binsid);
323 info->a_domain = strdup(wkadom);
324 info->a_domsid = smb_sid_split(wka->wka_binsid, &info->a_rid);
325 info->a_type = wka->wka_type;
327 if (!smb_account_validate(info)) {
328 smb_account_free(info);
343 lsa_lookup_name_domain(char *account_name, smb_account_t *info)
359 status = lsar_lookup_names(&domain_handle, account_name, info);
468 sid = accounts.info[i].sid;
477 free(accounts.info[i].sid);
480 if (accounts.info)
481 free(accounts.info);