Lines Matching defs:account

321  * This is a request to open an account handle.
352 * This is the server side function for handling requests for account
434 * This is the server side function for handling requests for account
512 * Return the account name and NetBIOS domain name for the user making
564 * queries. Currently, we only support primary domain and account
666 * Service account domain policy queries. We return our local domain
709 smb_account_t account;
728 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
738 rids[0].sid_name_use = account.a_type;
739 rids[0].rid = account.a_rid;
751 rc = NDR_MSTRING(mxa, account.a_domain,
754 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
757 smb_account_free(&account);
767 smb_account_free(&account);
797 smb_account_t account;
805 bzero(&account, sizeof (smb_account_t));
826 result = lsa_lookup_sid(sid, &account);
828 (account.a_name == NULL) || (*account.a_name == '\0')) {
829 account.a_type = SidTypeUnknown;
837 if (NDR_MSTRING(mxa, account.a_name,
844 name->sid_name_use = account.a_type;
846 result = lsarpc_s_UpdateDomainTable(mxa, &account,
851 smb_account_free(&account);
869 smb_account_free(&account);
885 smb_account_t *account, struct mslsa_domain_table *domain_table,
893 if (account->a_type == SidTypeUnknown ||
894 account->a_type == SidTypeInvalid) {
911 account->a_domsid)) {
920 rc = NDR_MSTRING(mxa, account->a_domain,
923 (struct mslsa_sid *)NDR_SIDDUP(mxa, account->a_domsid);
949 smb_account_t account;
957 bzero(&account, sizeof (smb_account_t));
978 result = lsa_lookup_sid(sid, &account);
980 (account.a_name == NULL) || (*account.a_name == '\0')) {
981 account.a_type = SidTypeUnknown;
989 if (NDR_MSTRING(mxa, account.a_name,
996 name->sid_name_use = account.a_type;
998 result = lsarpc_s_UpdateDomainTable(mxa, &account,
1003 smb_account_free(&account);
1021 smb_account_free(&account);
1057 smb_account_t account;
1083 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
1094 rids[0].sid_name_use = account.a_type;
1095 rids[0].rid = account.a_rid;
1107 rc = NDR_MSTRING(mxa, account.a_domain,
1111 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
1114 smb_account_free(&account);
1124 smb_account_free(&account);
1142 smb_account_t account;
1168 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
1179 sids[0].sid_name_use = account.a_type;
1180 sids[0].sid = (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_sid);
1192 rc = NDR_MSTRING(mxa, account.a_domain,
1196 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
1199 smb_account_free(&account);
1209 smb_account_free(&account);