Lines Matching defs:acct
833 lsa_account_t acct;
836 if ((rc = smb_lookup_name(name, SidTypeUnknown, &acct)) != 0) {
842 if (acct.a_status != NT_STATUS_SUCCESS) {
844 name, xlate_nt_status(acct.a_status));
847 (void) printf("\t%s\n", acct.a_sid);
853 lsa_account_t acct;
856 if ((rc = smb_lookup_sid(sidstr, &acct)) != 0) {
862 if (acct.a_status != NT_STATUS_SUCCESS) {
864 sidstr, xlate_nt_status(acct.a_status));
867 (void) printf("\t%s\\%s\n", acct.a_domain, acct.a_name);
921 lsa_account_t acct;
933 if (smb_lookup_sid(sidstr, &acct) == 0) {
934 if (acct.a_status == NT_STATUS_SUCCESS)
935 smbadm_group_show_name(acct.a_domain,
936 acct.a_name);
939 sidstr, xlate_nt_status(acct.a_status));
1399 lsa_account_t acct;
1413 rc = smb_lookup_sid(sidstr, &acct);
1414 if ((rc != 0) || (acct.a_status != NT_STATUS_SUCCESS))
1415 acct.a_sidtype = SidTypeUnknown;
1417 rc = smb_lookup_name(mname, SidTypeUnknown, &acct);
1418 if ((rc != 0) || (acct.a_status != NT_STATUS_SUCCESS)) {
1423 sidstr = acct.a_sid;
1426 msid.gs_type = acct.a_sidtype;