Searched defs:smbpw (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sam.c211 smb_passwd_t smbpw; local
258 if (smb_pwd_getpwuid(id, &smbpw) == NULL)
261 account->a_name = strdup(smbpw.pw_name);
510 smb_passwd_t smbpw; local
512 if (smb_pwd_getpwnam(name, &smbpw) == NULL)
515 if (smb_idmap_getsid(smbpw.pw_uid, SMB_IDMAP_USER, sid)
H A Dsmb_auth.c513 * the stored user's password, passed in smbpw. Try those in the order
519 smb_passwd_t *smbpw,
547 smbpw->pw_nthash, nt_resp, nt_len,
560 ok = smb_ntlm_password_ok(challenge, smbpw->pw_nthash,
576 (void) smb_auth_md4(session_key, smbpw->pw_nthash,
578 ok = smb_lmv2_password_ok(challenge, smbpw->pw_nthash,
582 ok = smb_lm_password_ok(challenge, smbpw->pw_lmhash, lm_resp);
518 smb_auth_validate( smb_passwd_t *smbpw, char *domain, char *username, unsigned char *challenge, uint_t clen, unsigned char *nt_resp, uint_t nt_len, unsigned char *lm_resp, uint_t lm_len, uchar_t *session_key) argument
H A Dsmb_pwdutil.c251 * smbpw is a pointer to a buffer allocated by the caller.
256 smb_pwd_getpwnam(const char *name, smb_passwd_t *smbpw) argument
264 return (smb_pwd_ops.pwop_getpwnam(name, smbpw));
278 pwbuf.pw_pwd = smbpw;
281 if (strcmp(name, smbpw->pw_name) == 0) {
291 bzero(smbpw, sizeof (smb_passwd_t));
295 return (smbpw);
302 * smbpw is a pointer to a buffer allocated by the caller.
307 smb_pwd_getpwuid(uid_t uid, smb_passwd_t *smbpw) argument
315 return (smb_pwd_ops.pwop_getpwuid(uid, smbpw));
480 smb_passwd_t smbpw; local
678 smb_pwd_chgpwent(smb_passwd_t *smbpw, const char *password, int control) argument
1001 smb_passwd_t smbpw; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c478 smb_passwd_t smbpw; local
496 status = smb_token_auth_local(user_info, token, &smbpw);
498 status = smb_token_setup_local(&smbpw, token);
518 smb_passwd_t smbpw; local
528 if (smb_pwd_getpwnam(guest, &smbpw) == NULL)
532 if (smbpw.pw_flags & SMB_PWF_DISABLE)
564 smb_passwd_t *smbpw)
569 if (smb_pwd_getpwnam(user_info->lg_e_username, smbpw) == NULL)
572 if (smbpw->pw_flags & SMB_PWF_DISABLE)
575 if ((smbpw
563 smb_token_auth_local(smb_logon_t *user_info, smb_token_t *token, smb_passwd_t *smbpw) argument
619 smb_token_setup_local(smb_passwd_t *smbpw, smb_token_t *token) argument
[all...]

Completed in 66 milliseconds