Searched refs:smbpw (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 256 smb_pwd_getpwnam(const char *name, smb_passwd_t *smbpw) in smb_pwd_getpwnam() argument 264 return (smb_pwd_ops.pwop_getpwnam(name, smbpw)); in smb_pwd_getpwnam() 278 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwnam() 281 if (strcmp(name, smbpw->pw_name) == 0) { in smb_pwd_getpwnam() 291 bzero(smbpw, sizeof (smb_passwd_t)); in smb_pwd_getpwnam() 295 return (smbpw); in smb_pwd_getpwnam() 307 smb_pwd_getpwuid(uid_t uid, smb_passwd_t *smbpw) in smb_pwd_getpwuid() argument 315 return (smb_pwd_ops.pwop_getpwuid(uid, smbpw)); in smb_pwd_getpwuid() 329 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwuid() 332 if (uid == smbpw->pw_uid) { in smb_pwd_getpwuid() [all …]
|
H A D | smb_auth.c | 519 smb_passwd_t *smbpw, in smb_auth_validate() argument 547 smbpw->pw_nthash, nt_resp, nt_len, in smb_auth_validate() 560 ok = smb_ntlm_password_ok(challenge, smbpw->pw_nthash, in smb_auth_validate() 576 (void) smb_auth_md4(session_key, smbpw->pw_nthash, in smb_auth_validate() 578 ok = smb_lmv2_password_ok(challenge, smbpw->pw_nthash, in smb_auth_validate() 582 ok = smb_lm_password_ok(challenge, smbpw->pw_lmhash, lm_resp); in smb_auth_validate()
|
H A D | smb_sam.c | 211 smb_passwd_t smbpw; in smb_sam_lookup_sid() local 258 if (smb_pwd_getpwuid(id, &smbpw) == NULL) in smb_sam_lookup_sid() 261 account->a_name = strdup(smbpw.pw_name); in smb_sam_lookup_sid() 510 smb_passwd_t smbpw; in smb_sam_lookup_user() local 512 if (smb_pwd_getpwnam(name, &smbpw) == NULL) in smb_sam_lookup_user() 515 if (smb_idmap_getsid(smbpw.pw_uid, SMB_IDMAP_USER, sid) in smb_sam_lookup_user()
|
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 478 smb_passwd_t smbpw; in smb_logon_local() local 496 status = smb_token_auth_local(user_info, token, &smbpw); in smb_logon_local() 498 status = smb_token_setup_local(&smbpw, token); in smb_logon_local() 518 smb_passwd_t smbpw; in smb_logon_guest() local 528 if (smb_pwd_getpwnam(guest, &smbpw) == NULL) in smb_logon_guest() 532 if (smbpw.pw_flags & SMB_PWF_DISABLE) in smb_logon_guest() 564 smb_passwd_t *smbpw) in smb_token_auth_local() argument 569 if (smb_pwd_getpwnam(user_info->lg_e_username, smbpw) == NULL) in smb_token_auth_local() 572 if (smbpw->pw_flags & SMB_PWF_DISABLE) in smb_token_auth_local() 575 if ((smbpw->pw_flags & (SMB_PWF_LM | SMB_PWF_NT)) == 0) { in smb_token_auth_local() [all …]
|