summaryrefslogtreecommitdiff
path: root/ftp/wu-ftpd/files/ftpd.c-pam
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-05-27 00:27:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-05-27 00:27:22 +0000
commit5c7496801d6849f3193dae168d459e5140e8c635 (patch)
treee38846a0e0df1e09433da0a3285e7e313186a0c8 /ftp/wu-ftpd/files/ftpd.c-pam
parent- Update to 2.14.4 (diff)
Enable optional PAM support using WITH_PAM knob
PR: 97774 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Notes
Notes: svn path=/head/; revision=163563
Diffstat (limited to 'ftp/wu-ftpd/files/ftpd.c-pam')
-rw-r--r--ftp/wu-ftpd/files/ftpd.c-pam10
1 files changed, 10 insertions, 0 deletions
diff --git a/ftp/wu-ftpd/files/ftpd.c-pam b/ftp/wu-ftpd/files/ftpd.c-pam
new file mode 100644
index 000000000000..8049306979ce
--- /dev/null
+++ b/ftp/wu-ftpd/files/ftpd.c-pam
@@ -0,0 +1,10 @@
+--- src/ftpd.c.orig Fri Nov 30 01:56:11 2001
++++ src/ftpd.c Wed May 24 16:21:21 2006
+@@ -6926,6 +6926,7 @@
+ */
+
+ #include <security/pam_appl.h>
++#define PAM_ESTABLISH_CRED 0x1
+ /* Static variables used to communicate between the conversation function
+ * and the server_login function
+ */