summaryrefslogtreecommitdiff
path: root/ftp/proftpd/files/patch-pam
blob: 1f79c4f0afa64cf7a0e4968896254490fc23576f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- ./README.PAM.orig	Mon Jan 21 16:25:42 2002
+++ ./README.PAM	Mon Jan 21 16:27:07 2002
@@ -19,14 +19,8 @@
 
 FreeBSD:
 
-To use PAM with ProFTPD, you must edit /etc/pam.conf and add the
-following lines:
-
-ftp auth    required    pam_unix.so         try_first_pass
-ftp account required    pam_unix.so         try_first_pass
-ftp session required    pam_permit.so
-
-PAM authentication should now work properly.
+To use PAM with ProFTPD, you must set AuthPAMConfig to 'ftpd'.  If you
+installed proftpd from the ports collection, this is already the default.
 
 Linux:
 To use PAM with ProFTPD, you must edit /etc/pam.d/ftp and add the
--- doc/Configuration.html.orig	Wed May 22 10:08:15 2002
+++ doc/Configuration.html	Sat Jun  1 10:30:54 2002
@@ -3806,7 +3806,7 @@
 ></DT
 ><DD
 ><P
->ftp</P
+>ftpd</P
 ></DD
 ><DT
 ><PRE
--- ./modules/mod_pam.c.orig	Mon Jan 21 16:28:51 2002
+++ ./modules/mod_pam.c	Mon Jan 21 16:29:03 2002
@@ -48,7 +48,7 @@
 #endif /* HAVE_SECURITY_PAM_APPL_H */
 
 static pam_handle_t *	pamh			= NULL;
-static char *		pamconfig		= "ftp";
+static char *		pamconfig		= "ftpd";
 static char *		pam_user 		= (char *)0;
 static char *		pam_pass 		= (char *)0;
 static int		pam_user_len		= 0;