Lines Matching refs:acct
58 smb_lookup_sid(const char *sid, lsa_account_t *acct)
62 assert((sid != NULL) && (acct != NULL));
64 bzero(acct, sizeof (lsa_account_t));
65 (void) strlcpy(acct->a_sid, sid, SMB_SID_STRSZ);
67 rc = smb_door_call(SMB_DR_LOOKUP_SID, acct, lsa_account_xdr,
68 acct, lsa_account_xdr);
85 smb_lookup_name(const char *name, sid_type_t sidtype, lsa_account_t *acct)
92 assert((name != NULL) && (acct != NULL));
97 bzero(acct, sizeof (lsa_account_t));
98 acct->a_sidtype = sidtype;
101 (void) strlcpy(acct->a_domain, dp, MAXNAMELEN);
102 (void) strlcpy(acct->a_name, np, MAXNAMELEN);
104 (void) strlcpy(acct->a_name, name, MAXNAMELEN);
107 rc = smb_door_call(SMB_DR_LOOKUP_NAME, acct, lsa_account_xdr,
108 acct, lsa_account_xdr);