Lines Matching refs:smbpw
537 smb_passwd_t smbpw; in smb_logon_local() local
555 status = smb_token_auth_local(user_info, token, &smbpw); in smb_logon_local()
557 status = smb_token_setup_local(&smbpw, token); in smb_logon_local()
577 smb_passwd_t smbpw; in smb_logon_guest() local
587 if (smb_pwd_getpwnam(guest, &smbpw) == NULL) in smb_logon_guest()
591 if (smbpw.pw_flags & SMB_PWF_DISABLE) in smb_logon_guest()
623 smb_passwd_t *smbpw) in smb_token_auth_local() argument
628 if (smb_pwd_getpwnam(user_info->lg_e_username, smbpw) == NULL) in smb_token_auth_local()
631 if (smbpw->pw_flags & SMB_PWF_DISABLE) in smb_token_auth_local()
634 if ((smbpw->pw_flags & (SMB_PWF_LM | SMB_PWF_NT)) == 0) { in smb_token_auth_local()
649 smbpw, in smb_token_auth_local()
678 smb_token_setup_local(smb_passwd_t *smbpw, smb_token_t *token) in smb_token_setup_local() argument
688 token->tkn_account_name = strdup(smbpw->pw_name); in smb_token_setup_local()
695 if (getpwuid_r(smbpw->pw_uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) in smb_token_setup_local()
727 nbname, smbpw->pw_name); in smb_token_setup_local()