smb_token_t
smb_token_t *smbd_user_auth_logon(smb_logon_t *);
uint32_t smbd_logon_final(smb_token_t *, smb_inaddr_t *, char *, char *,
smb_token_t *token = NULL;
smb_token_t *token = NULL;
smb_token_t *token = NULL;
ctx->ctx_token = calloc(1, sizeof (smb_token_t));
smbd_logon_audit(smb_token_t *token, smb_inaddr_t *ipaddr, char *username,
smbd_logon_final(smb_token_t *token, smb_inaddr_t *ipaddr, char *username,
smb_token_t *
smb_token_t *token = NULL;
smb_token_t *token = NULL;
smb_token_encode(smb_token_t *obj, uint32_t *len)
smb_token_query_privilege(smb_token_t *token, int priv_id)
smb_token_valid(smb_token_t *token)
smb_token_xdr(XDR *xdrs, smb_token_t *objp)
smb_cred_create(smb_token_t *token)
extern void smb_autohome_add(const smb_token_t *);
extern void smb_logon_domain(smb_logon_t *, smb_token_t *);
extern uint32_t smb_decode_krb5_pac(smb_token_t *, char *, uint_t);
extern boolean_t smb_token_setup_common(smb_token_t *);
smb_logon_domain(smb_logon_t *user_info, smb_token_t *token)
netlogon_logon(smb_logon_t *user_info, smb_token_t *token, smb_domainex_t *di)
netr_info_t *netr_info, smb_token_t *token)
char *server, smb_logon_t *user_info, smb_token_t *token)
uint32_t netlogon_logon(smb_logon_t *, smb_token_t *, smb_domainex_t *);
smb_logon_t *, smb_token_t *);
smb_token_t *);
smb_decode_krb5_pac(smb_token_t *token, char *data, uint_t len)
smb_token_t *token)
smb_autohome_add(const smb_token_t *token)
smb_token_sids2ids(smb_token_t *token)
smb_token_destroy(smb_token_t *token)
bzero(token, sizeof (smb_token_t));
smb_token_set_owner(smb_token_t *token)
smb_token_create_privs(smb_token_t *token)
smb_token_set_flags(smb_token_t *token)
smb_token_setup_common(smb_token_t *token)
smb_token_t *
smb_token_t *token = NULL;
typedef void (*smb_logonop_t)(smb_logon_t *, smb_token_t *);
if ((token = calloc(1, sizeof (smb_token_t))) == NULL) {
static void smb_logon_local(smb_logon_t *, smb_token_t *);
static void smb_logon_guest(smb_logon_t *, smb_token_t *);
static void smb_logon_anon(smb_logon_t *, smb_token_t *);
smb_logon_local(smb_logon_t *user_info, smb_token_t *token)
static uint32_t smb_token_auth_local(smb_logon_t *, smb_token_t *,
static uint32_t smb_token_setup_local(smb_passwd_t *, smb_token_t *);
smb_logon_guest(smb_logon_t *user_info, smb_token_t *token)
static uint32_t smb_token_setup_guest(smb_logon_t *, smb_token_t *);
static uint32_t smb_token_setup_anon(smb_token_t *token);
static boolean_t smb_token_is_member(smb_token_t *, smb_sid_t *);
smb_logon_anon(smb_logon_t *user_info, smb_token_t *token)
static uint32_t smb_token_setup_wingrps(smb_token_t *);
smb_token_auth_local(smb_logon_t *user_info, smb_token_t *token,
smb_token_setup_local(smb_passwd_t *smbpw, smb_token_t *token)
smb_token_idmap(smb_token_t *token, smb_idmap_batch_t *sib)
smb_token_setup_guest(smb_logon_t *user_info, smb_token_t *token)
smb_token_setup_anon(smb_token_t *token)
smb_token_user_sid(smb_token_t *token)
smb_token_group_sid(smb_token_t *token, int *iterator)
smb_token_is_member(smb_token_t *token, smb_sid_t *sid)
smb_token_log(smb_token_t *token)
smb_token_setup_wingrps(smb_token_t *token)
smb_token_t *token;
smb_token_t *token = NULL;
smb_token_t cmp_token;
extern uint32_t netlogon_logon(smb_logon_t *, smb_token_t *, smb_domainex_t *);
compare_tokens(const smb_token_t *src, const smb_token_t *dst)
smb2_sign_begin(smb_request_t *sr, smb_token_t *token)
smb3_encrypt_begin(smb_user_t *u, smb_token_t *token)
smb_token_t *token = NULL;
token = kmem_zalloc(sizeof (smb_token_t), KM_SLEEP);
static uint32_t smb_priv_xlate(smb_token_t *);
smb_token_free(smb_token_t *token)
kmem_free(token, sizeof (smb_token_t));
smb_priv_xlate(smb_token_t *token)
smb_cred_create(smb_token_t *token)
smb_sign_begin(smb_request_t *sr, smb_token_t *token)
void smb_sign_begin(smb_request_t *, smb_token_t *);
void smb2_sign_begin(smb_request_t *, smb_token_t *);
void smb3_encrypt_begin(smb_user_t *, smb_token_t *);
smb_token_t *smb_get_token(smb_session_t *, smb_logon_t *);
cred_t *smb_cred_create(smb_token_t *);
int smb_token_xdr(struct XDR *, smb_token_t *);
void smb_token_free(smb_token_t *);
smb_token_t *smb_logon(smb_logon_t *);
void smb_token_destroy(smb_token_t *);
uint8_t *smb_token_encode(smb_token_t *, uint32_t *);
void smb_token_log(smb_token_t *);
int smb_token_query_privilege(smb_token_t *token, int priv_id);
boolean_t smb_token_valid(smb_token_t *);