- adjust the login-specific bits for changes which were made for ftpd

This commit is contained in:
Nalin Dahyabhai 2007-06-25 00:50:30 +00:00
parent 8f7d649fe0
commit dbbe71ef2d

View File

@ -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);