View | Details | Raw Unified | Return to bug 48096 | Differences between
and this patch

Collapse All | Expand All

(-)proftpd/files/patch-ah (-10 lines)
Lines 1-10 Link Here
1
--- modules/mod_unixpw.c.orig  Thu Sep 30 20:33:47 1999
2
+++ modules/mod_unixpw.c       Sat Nov 13 13:15:26 1999
3
@@ -42,6 +42,7 @@
4
 #include <sys/security.h>
5
 #endif
6
 #ifdef HAVE_PROT_H
7
+#include <krb.h>
8
 #include <prot.h>
9
 #endif
10
(-)proftpd/files/patch-ai (-11 lines)
Lines 1-11 Link Here
1
--- contrib/mod_ratio.c.orig	Sun Oct 20 13:49:21 2002
2
+++ contrib/mod_ratio.c	Sun Oct 20 13:50:11 2002
3
@@ -606,7 +606,7 @@
4
       add_response(R_214,
5
 		   "Bytes: %s  Down: %imb  Up: %imb  CR: %i Mbytes",
6
 		   stats.btext, (stats.bretr / 1024), (stats.bstor / 1024),
7
-		   (stats.bytes / 1024), stats.bytes);
8
+		   (stats.bytes / 1024));
9
     return HANDLED(cmd);
10
   }
11
(-)proftpd/files/patch-pam (-34 / +4 lines)
Lines 1-41 Link Here
1
--- ./README.PAM.orig	Mon Jan 21 16:25:42 2002
1
--- modules/mod_auth_pam.c.orig	Sat Feb  8 02:52:51 2003
2
+++ ./README.PAM	Mon Jan 21 16:27:07 2002
2
+++ modules/mod_auth_pam.c	Sat Feb  8 02:53:06 2003
3
@@ -19,14 +19,8 @@
3
@@ -57,7 +57,7 @@
4
4
 #endif /* HAVE_PAM_PAM_APPL_H */
5
 FreeBSD:
6
7
-To use PAM with ProFTPD, you must edit /etc/pam.conf and add the
8
-following lines:
9
-
10
-ftp auth    required    pam_unix.so         try_first_pass
11
-ftp account required    pam_unix.so         try_first_pass
12
-ftp session required    pam_permit.so
13
-
14
-PAM authentication should now work properly.
15
+To use PAM with ProFTPD, you must set AuthPAMConfig to 'ftpd'.  If you
16
+installed proftpd from the ports collection, this is already the default.
17
18
 Linux:
19
 To use PAM with ProFTPD, you must edit /etc/pam.d/ftp and add the
20
--- doc/Configuration.html.orig	Wed May 22 10:08:15 2002
21
+++ doc/Configuration.html	Sat Jun  1 10:30:54 2002
22
@@ -3806,7 +3806,7 @@
23
 ></DT
24
 ><DD
25
 ><P
26
->ftp</P
27
+>ftpd</P
28
 ></DD
29
 ><DT
30
 ><PRE
31
--- ./modules/mod_pam.c.orig	Mon Jan 21 16:28:51 2002
32
+++ ./modules/mod_pam.c	Mon Jan 21 16:29:03 2002
33
@@ -48,7 +48,7 @@
34
 #endif /* HAVE_SECURITY_PAM_APPL_H */

Return to bug 48096