diff options
Diffstat (limited to 'net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch')
-rw-r--r-- | net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch new file mode 100644 index 000000000000..3890ccb1a4b8 --- /dev/null +++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.20-pam.patch @@ -0,0 +1,15 @@ +--- src/log_pam.c.original 2005-08-31 12:23:41.000000000 +0100 ++++ src/log_pam.c 2005-08-31 12:24:40.000000000 +0100 +@@ -141,10 +141,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 |