Lines Matching refs:password
86 #define SMB_PWD_GETF_NOPWD 2 /* password is not needed */
153 * Checks to see if a password management utility library
257 * Returns a smb password structure for the given UID
309 smb_pwd_setpasswd(const char *name, const char *password)
312 return (smb_pwd_ops.pwop_setpasswd(name, password));
314 return (smb_pwd_update(name, password, 0));
422 * Updates the password entry of the given user if the user already
424 * given password and control information.
427 smb_pwd_update(const char *name, const char *password, int control)
476 * copy old password entries to temporary file while replacing
481 err = smb_pwd_chgpwent(&smbpw, password, control);
503 (void) smb_pwd_chgpwent(&smbpw, password, control);
555 * smb password structure to point to the parsed information.
628 * Updates the given smb_passwd_t structure with given password and
632 smb_pwd_chgpwent(smb_passwd_t *smbpw, const char *password, int control)
651 /* No password update if account is disabled */
656 if (password == NULL)
665 (void) smb_auth_lm_hash(password, smbpw->pw_lmhash);
669 (void) smb_auth_ntlm_hash(password, smbpw->pw_nthash);
719 * Returns a smb password structure if a match is found.
778 * A wrapper around smb_file_lock() which locks smb password
808 * smb password file.