diff --git a/krb5-1.6.1-pam.patch b/krb5-1.6.1-pam.patch index 9f7ebcd..a39604f 100644 --- a/krb5-1.6.1-pam.patch +++ b/krb5-1.6.1-pam.patch @@ -295,7 +295,7 @@ When enabled, ftpd, krshd, and login.krb5 gain dependence on libpam. if (pwd->pw_uid == 0) --- /dev/null 2007-06-22 10:29:46.741860805 -0400 +++ krb5-1.6.1/src/appl/bsd/pam.c 2007-06-22 14:22:10.000000000 -0400 -@@ -0,0 +1,412 @@ +@@ -0,0 +1,414 @@ +/* + * src/appl/bsd/pam.c + * @@ -570,7 +570,9 @@ When enabled, ftpd, krshd, and login.krb5 gain dependence on libpam. + &appl_pam_non_interactive_converse; + memset(&args, 0, sizeof(args)); + args.user = strdup(login_username); -+ args.password = strdup(non_interactive_password); ++ args.password = non_interactive_password ? ++ strdup(non_interactive_password) : ++ NULL; + appl_pam_conv.appdata_ptr = &args; + ret = pam_start(service, login_username, + &appl_pam_conv, &appl_pamh);