Lines Matching defs:password
334 int bftpd_login (char *password)
375 home_directory = check_file_password (file_auth, user, password);
468 if (checkpass (password))
667 int checkpass (char *password)
679 return checkpass_pam (password);
682 return checkpass_pwd (password);
698 int checkpass_pwd (char *password)
704 //if (strcmp(userinfo.pw_passwd, (char *) crypt(password, userinfo.pw_passwd))) {
706 P1MSG("%s(%d)userinfo.pw_passwd=%s , password=%s \r\n", __FUNCTION__,
707 __LINE__, userinfo.pw_passwd, password);
716 SHA256(password, strlen(password), password_hash);
726 SHA1(password, strlen(password), password_hash);
732 //if (strcmp (userinfo.pw_passwd, password))
739 if (strcmp (shd->sp_pwdp, (char *) crypt (password, shd->sp_pwdp)))
764 int checkpass_pam (char *password)
766 struct pam_conv conv = { conv_func, password };
855 username. If a match is found, the password in the
856 text file is compared to the password passed in to
857 the function. If the password matches, the function
867 char user[32], password[32], group[32], home_dir[32];
876 fscanf (my_file, "%s %s %s %s", user, password, group, home_dir);
883 fscanf (my_file, "%s %s %s %s", user, password, group, home_dir);
891 /* check password */
892 if (!strcmp (password, "*"))
895 else if (strcmp (password, my_password))