Lines Matching defs:account

323  * This is a request to open an account handle.
354 * This is the server side function for handling requests for account
436 * This is the server side function for handling requests for account
514 * Return the account name and NetBIOS domain name for the user making
560 * queries. Currently, we only support primary domain and account
662 * Service account domain policy queries. We return our local domain
705 smb_account_t account;
724 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
734 rids[0].sid_name_use = account.a_type;
735 rids[0].rid = account.a_rid;
747 rc = NDR_MSTRING(mxa, account.a_domain,
750 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
753 smb_account_free(&account);
763 smb_account_free(&account);
793 smb_account_t account;
801 bzero(&account, sizeof (smb_account_t));
822 result = lsa_lookup_sid(sid, &account);
824 (account.a_name == NULL) || (*account.a_name == '\0')) {
825 account.a_type = SidTypeUnknown;
833 if (NDR_MSTRING(mxa, account.a_name,
840 name->sid_name_use = account.a_type;
842 result = lsarpc_s_UpdateDomainTable(mxa, &account,
847 smb_account_free(&account);
865 smb_account_free(&account);
881 smb_account_t *account, struct mslsa_domain_table *domain_table,
889 if (account->a_type == SidTypeUnknown ||
890 account->a_type == SidTypeInvalid) {
907 account->a_domsid)) {
916 rc = NDR_MSTRING(mxa, account->a_domain,
919 (struct mslsa_sid *)NDR_SIDDUP(mxa, account->a_domsid);
945 smb_account_t account;
953 bzero(&account, sizeof (smb_account_t));
974 result = lsa_lookup_sid(sid, &account);
976 (account.a_name == NULL) || (*account.a_name == '\0')) {
977 account.a_type = SidTypeUnknown;
985 if (NDR_MSTRING(mxa, account.a_name,
992 name->sid_name_use = account.a_type;
994 result = lsarpc_s_UpdateDomainTable(mxa, &account,
999 smb_account_free(&account);
1017 smb_account_free(&account);
1053 smb_account_t account;
1079 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
1090 rids[0].sid_name_use = account.a_type;
1091 rids[0].rid = account.a_rid;
1103 rc = NDR_MSTRING(mxa, account.a_domain,
1107 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
1110 smb_account_free(&account);
1120 smb_account_free(&account);
1138 smb_account_t account;
1164 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
1175 sids[0].sid_name_use = account.a_type;
1176 sids[0].sid = (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_sid);
1188 rc = NDR_MSTRING(mxa, account.a_domain,
1192 (struct mslsa_sid *)NDR_SIDDUP(mxa, account.a_domsid);
1195 smb_account_free(&account);
1205 smb_account_free(&account);