Lines Matching defs:info
76 lsa_lookup_name(char *account, uint16_t type, smb_account_t *info)
101 status = lsa_lookup_name_builtin(domain, name, info);
103 status = smb_sam_lookup_name(domain, name, type, info);
108 status = lsa_lookup_name_domain(account, info);
115 lsa_lookup_sid(smb_sid_t *sid, smb_account_t *info)
122 status = lsa_lookup_sid_builtin(sid, info);
124 status = smb_sam_lookup_sid(sid, info);
126 status = lsa_lookup_sid_domain(sid, info);
136 * The requested information will be returned via 'info' argument.
142 smb_domain_t *info)
155 MSLSA_POLICY_PRIMARY_DOMAIN_INFO, info);
165 * The requested information will be returned via 'info' argument.
171 smb_domain_t *info)
184 MSLSA_POLICY_ACCOUNT_DOMAIN_INFO, info);
193 * Obtains the DNS domain info from the specified server
196 * The requested information will be returned via 'info' argument.
201 lsa_query_dns_domain_info(char *server, char *domain, smb_domain_t *info)
214 MSLSA_POLICY_DNS_DOMAIN_INFO, info);
225 * The requested information will be returned via 'info' argument.
231 smb_trusted_domains_t *info)
246 status = lsar_enum_trusted_domains(&domain_handle, &enum_context, info);
265 * The requested information will be returned via 'info' argument.
271 smb_trusted_domains_t *info)
287 info);
312 lsa_lookup_name_builtin(char *domain, char *name, smb_account_t *info)
317 bzero(info, sizeof (smb_account_t));
328 info->a_name = strdup(name);
329 info->a_sid = smb_sid_dup(wka->wka_binsid);
330 info->a_domain = strdup(wkadom);
331 info->a_domsid = smb_sid_split(wka->wka_binsid, &info->a_rid);
332 info->a_type = wka->wka_type;
334 if (!smb_account_validate(info)) {
335 smb_account_free(info);
352 lsa_lookup_name_domain(char *account_name, smb_account_t *info)
369 status = lsar_lookup_names(&domain_handle, account_name, info);
480 sid = accounts.info[i].sid;
489 free(accounts.info[i].sid);
492 if (accounts.info)
493 free(accounts.info);