Lines Matching refs:account_name
62 char account_name[SMB_SAMACCT_MAXLEN];
65 if (smb_getsamaccount(account_name, SMB_SAMACCT_MAXLEN) != 0)
73 status = sam_create_account(server, domain, account_name,
84 status = sam_check_user(server, domain, account_name);
104 sam_create_account(char *server, char *domain_name, char *account_name,
125 domain_name, account_name, xlate_nt_status(status));
135 status = samr_create_user(&domain_handle, account_name,
147 account_name, xlate_nt_status(status));
153 account_name);
174 char account_name[SMB_SAMACCT_MAXLEN];
176 if (smb_getsamaccount(account_name, SMB_SAMACCT_MAXLEN) != 0)
179 return (sam_delete_account(server, domain, account_name));
192 sam_delete_account(char *server, char *domain_name, char *account_name)
221 status = samr_lookup_domain_names(&domain_handle, account_name, &ainfo);
245 sam_check_user(char *server, char *domain_name, char *account_name)
274 status = samr_lookup_domain_names(&domain_handle, account_name, &ainfo);
304 sam_lookup_name(char *server, char *domain_name, char *account_name,
336 account_name, &ainfo);