Lines Matching refs:pw_password
61 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
64 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
68 salt = (pw_password[0] && pw_password[1]) ? pw_password : "xx"; in sys_auth_passwd()
76 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0) in sys_auth_passwd()
77 || (strcmp(osr5bigcrypt(password, salt), pw_password) == 0)); in sys_auth_passwd()
81 result = (strcmp(xcrypt(password, salt), pw_password) == 0); in sys_auth_passwd()
85 free(pw_password); in sys_auth_passwd()
135 char *pw_password = NULL; in get_iaf_password() local
139 ia_get_logpwd(uinfo, &pw_password); in get_iaf_password()
140 if (pw_password == NULL) in get_iaf_password()
143 return pw_password; in get_iaf_password()