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

/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_pwdutil.c72 smbfs_passwd_t smbpw; local
85 pwbuf.pw_pwd = &smbpw;
88 err = smbfs_keychain_addhash(smbpw.pw_uid, smbpw.pw_dom,
89 smbpw.pw_usr, smbpw.pw_lmhash, smbpw.pw_nthash);
118 smbfs_passwd_t smbpw; local
148 pwbuf.pw_pwd = &smbpw;
156 if (newpw->pw_uid < smbpw
253 smbfs_passwd_t smbpw; local
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_pwdutil.c243 smb_pwd_getpwnam(const char *name, smb_passwd_t *smbpw) argument
247 pw = smb_pwd_getpwnam_core(name, smbpw, B_TRUE);
249 pw = smb_pwd_getpwnam_core(name, smbpw, B_FALSE);
258 * smbpw is a pointer to a buffer allocated by the caller.
263 smb_pwd_getpwuid(uid_t uid, smb_passwd_t *smbpw) argument
271 return (smb_pwd_ops.pwop_getpwuid(uid, smbpw));
282 pwbuf.pw_pwd = smbpw;
285 if (uid == smbpw->pw_uid) {
286 if ((smbpw->pw_flags & (SMB_PWF_LM | SMB_PWF_NT)))
296 bzero(smbpw, sizeo
434 smb_passwd_t smbpw; local
632 smb_pwd_chgpwent(smb_passwd_t *smbpw, const char *password, int control) argument
731 smb_pwd_getpwnam_core(const char *name, smb_passwd_t *smbpw, boolean_t cs) argument
943 smb_passwd_t smbpw; local
[all...]
H A Dsmb_sam.c209 smb_passwd_t smbpw; local
256 if (smb_pwd_getpwuid(id, &smbpw) == NULL)
259 account->a_name = strdup(smbpw.pw_name);
437 smb_passwd_t smbpw; local
439 if (smb_pwd_getpwnam(name, &smbpw) == NULL)
442 if (smbpw.pw_flags & SMB_PWF_DISABLE)
445 if (smb_idmap_getsid(smbpw.pw_uid, SMB_IDMAP_USER, sid)
H A Dsmb_auth.c788 * stored user's password, passed in smbpw
796 smb_passwd_t *smbpw,
812 ok = smb_lm_password_ok(challenge, clen, smbpw->pw_lmhash,
817 ok = smb_lmv2_password_ok(challenge, clen, smbpw->pw_nthash,
827 * passed in passwd arg, against stored user's password, passed in smbpw
835 smb_passwd_t *smbpw,
855 smbpw->pw_nthash, passwd, pwdlen,
859 smbpw->pw_nthash, passwd, session_key);
863 smbpw->pw_nthash, passwd, pwdlen, nonce, nlen,
793 smb_auth_validate_lm( unsigned char *challenge, uint32_t clen, smb_passwd_t *smbpw, unsigned char *passwd, int pwdlen, char *domain, char *username) argument
832 smb_auth_validate_nt( unsigned char *challenge, uint32_t clen, smb_passwd_t *smbpw, unsigned char *passwd, int pwdlen, char *domain, char *username, unsigned char *nonce, int nlen, uchar_t *session_key) argument

Completed in 26 milliseconds