Lines Matching refs:domain_name
104 sam_create_account(char *server, char *domain_name, char *account_name,
119 rc = samr_open(server, domain_name, user, SAM_CONNECT_CREATE_ACCOUNT,
125 domain_name, account_name, xlate_nt_status(status));
129 sid = sam_get_domain_sid(&samr_handle, server, domain_name);
192 sam_delete_account(char *server, char *domain_name, char *account_name)
206 rc = samr_open(server, domain_name, user, SAM_LOOKUP_INFORMATION,
212 sid = sam_get_domain_sid(&samr_handle, server, domain_name);
245 sam_check_user(char *server, char *domain_name, char *account_name)
259 rc = samr_open(server, domain_name, user, SAM_LOOKUP_INFORMATION,
265 sid = sam_get_domain_sid(&samr_handle, server, domain_name);
304 sam_lookup_name(char *server, char *domain_name, char *account_name,
319 rc = samr_open(server, domain_name, user, SAM_LOOKUP_INFORMATION,
326 domain_name);
356 sam_get_local_domains(char *server, char *domain_name)
365 rc = samr_open(server, domain_name, user, SAM_ENUM_LOCAL_DOMAIN,
410 sam_get_domain_sid(mlsvc_handle_t *samr_handle, char *server, char *domain_name)
417 if (lsa_query_account_domain_info(server, domain_name,
424 sid = samr_lookup_domain(samr_handle, domain_name);