Lines Matching refs:domain_handle

181 	mlsvc_handle_t domain_handle;  in lsa_query_primary_domain_info()  local
187 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_primary_domain_info()
191 status = lsar_query_info_policy(&domain_handle, in lsa_query_primary_domain_info()
194 (void) lsar_close(&domain_handle); in lsa_query_primary_domain_info()
210 mlsvc_handle_t domain_handle; in lsa_query_account_domain_info() local
216 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_account_domain_info()
220 status = lsar_query_info_policy(&domain_handle, in lsa_query_account_domain_info()
223 (void) lsar_close(&domain_handle); in lsa_query_account_domain_info()
240 mlsvc_handle_t domain_handle; in lsa_query_dns_domain_info() local
246 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_dns_domain_info()
250 status = lsar_query_info_policy(&domain_handle, in lsa_query_dns_domain_info()
253 (void) lsar_close(&domain_handle); in lsa_query_dns_domain_info()
270 mlsvc_handle_t domain_handle; in lsa_enum_trusted_domains() local
277 status = lsar_open(server, domain, user, &domain_handle); in lsa_enum_trusted_domains()
283 status = lsar_enum_trusted_domains(&domain_handle, &enum_context, info); in lsa_enum_trusted_domains()
292 (void) lsar_close(&domain_handle); in lsa_enum_trusted_domains()
310 mlsvc_handle_t domain_handle; in lsa_enum_trusted_domains_ex() local
317 status = lsar_open(server, domain, user, &domain_handle); in lsa_enum_trusted_domains_ex()
323 status = lsar_enum_trusted_domains_ex(&domain_handle, &enum_context, in lsa_enum_trusted_domains_ex()
333 (void) lsar_close(&domain_handle); in lsa_enum_trusted_domains_ex()
391 mlsvc_handle_t domain_handle; in lsa_lookup_name_domain() local
402 user, &domain_handle); in lsa_lookup_name_domain()
406 status = lsar_lookup_names(&domain_handle, account_name, info); in lsa_lookup_name_domain()
408 (void) lsar_close(&domain_handle); in lsa_lookup_name_domain()
429 mlsvc_handle_t domain_handle; in lsa_lookup_privs() local
440 user, &domain_handle); in lsa_lookup_privs()
444 status = lsa_list_accounts(&domain_handle); in lsa_lookup_privs()
445 (void) lsar_close(&domain_handle); in lsa_lookup_privs()
462 mlsvc_handle_t domain_handle; in lsa_list_privs() local
470 status = lsar_open(server, domain, user, &domain_handle); in lsa_list_privs()
476 rc = lsar_lookup_priv_name(&domain_handle, &luid, name, 128); in lsa_list_privs()
480 (void) lsar_lookup_priv_value(&domain_handle, name, &luid); in lsa_list_privs()
481 (void) lsar_lookup_priv_display_name(&domain_handle, name, in lsa_list_privs()
485 (void) lsar_close(&domain_handle); in lsa_list_privs()
498 lsa_list_accounts(mlsvc_handle_t *domain_handle) in lsa_list_accounts() argument
511 status = lsar_enum_accounts(domain_handle, &enum_context, in lsa_list_accounts()
519 if (lsar_open_account(domain_handle, sid, in lsa_list_accounts()
586 mlsvc_handle_t domain_handle; in lsa_lookup_sid_domain() local
597 user, &domain_handle); in lsa_lookup_sid_domain()
601 status = lsar_lookup_sids(&domain_handle, sid, ainfo); in lsa_lookup_sid_domain()
603 (void) lsar_close(&domain_handle); in lsa_lookup_sid_domain()