diff options
Diffstat (limited to 'net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch')
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch new file mode 100644 index 000000000000..fefcf86a2e0d --- /dev/null +++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.21-pam.patch @@ -0,0 +1,15 @@ +--- src/log_pam.c.original 2006-03-14 23:19:35.000000000 +0000 ++++ src/log_pam.c 2006-03-14 23:20:17.000000000 +0000 +@@ -156,10 +156,10 @@ + result->auth_ok = 0; + PAM_password = pass; + PAM_username = user; +- pam_error = pam_start("pure-ftpd", user, &PAM_conversation, &pamh); ++ pam_error = pam_start("ftp", user, &PAM_conversation, &pamh); + PAM_BAIL; + # ifdef PAM_TTY +- (void) pam_set_item(pamh, PAM_TTY, "pure-ftpd"); ++ (void) pam_set_item(pamh, PAM_TTY, "ftp"); + # endif + /* + * PAM doesn't make any distinction between "user not found" and |