Searched refs:smbpw (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 254 smb_pwd_getpwnam(const char *name, smb_passwd_t *smbpw) in smb_pwd_getpwnam() argument 262 return (smb_pwd_ops.pwop_getpwnam(name, smbpw)); in smb_pwd_getpwnam() 273 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwnam() 276 if (strcmp(name, smbpw->pw_name) == 0) { in smb_pwd_getpwnam() 277 if ((smbpw->pw_flags & (SMB_PWF_LM | SMB_PWF_NT))) in smb_pwd_getpwnam() 287 bzero(smbpw, sizeof (smb_passwd_t)); in smb_pwd_getpwnam() 291 return (smbpw); in smb_pwd_getpwnam() 303 smb_pwd_getpwuid(uid_t uid, smb_passwd_t *smbpw) in smb_pwd_getpwuid() argument 311 return (smb_pwd_ops.pwop_getpwuid(uid, smbpw)); in smb_pwd_getpwuid() 322 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwuid() [all …]
|
H A D | smb_auth.c | 498 smb_passwd_t *smbpw, in smb_auth_validate_lm() argument 514 ok = smb_lm_password_ok(challenge, clen, smbpw->pw_lmhash, in smb_auth_validate_lm() 519 ok = smb_lmv2_password_ok(challenge, clen, smbpw->pw_nthash, in smb_auth_validate_lm() 537 smb_passwd_t *smbpw, in smb_auth_validate_nt() argument 555 smbpw->pw_nthash, passwd, pwdlen, in smb_auth_validate_nt() 559 smbpw->pw_nthash, passwd, session_key); in smb_auth_validate_nt()
|
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_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 476 smb_passwd_t smbpw; in smb_logon_local() local 489 status = smb_token_auth_local(user_info, token, &smbpw); in smb_logon_local() 494 status = smb_token_setup_local(&smbpw, token); in smb_logon_local() 515 smb_passwd_t smbpw; in smb_logon_guest() local 526 status = smb_token_auth_local(user_info, token, &smbpw); in smb_logon_guest() 553 smb_passwd_t *smbpw) in smb_token_auth_local() argument 558 if (smb_pwd_getpwnam(user_info->lg_e_username, smbpw) == NULL) in smb_token_auth_local() 561 if (smbpw->pw_flags & SMB_PWF_DISABLE) in smb_token_auth_local() 565 if ((smbpw->pw_flags & SMB_PWF_LM) && in smb_token_auth_local() 570 smbpw, in smb_token_auth_local() [all …]
|