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
|
Description: Use different defaults for debian package
This patch changes vendor defaults to values more appropriate for debian
Author: Krzysztof Krzyżaniak (eloy) <eloy@debian.org>
Last-Update: 2013-09-25
Forwarded: not-needed
--- popa3d-1.0.2.orig/params.h
+++ popa3d-1.0.2/params.h
@@ -13,7 +13,7 @@
/*
* Are we going to be a standalone server or start via an inetd clone?
*/
-#define POP_STANDALONE 0
+#define POP_STANDALONE 1
#if POP_STANDALONE
@@ -109,7 +109,7 @@
* An empty directory to chroot to before authentication. The directory
* and its parent directories must not be writable by anyone but root.
*/
-#define POP_CHROOT "/var/empty"
+#define POP_CHROOT "/var/lib/popa3d"
/*
* Sessions will be closed if idle for longer than POP_TIMEOUT seconds.
@@ -155,8 +155,8 @@
* Note that there's no built-in password aging support.
*/
#define AUTH_PASSWD 0
-#define AUTH_SHADOW 1
-#define AUTH_PAM 0
+#define AUTH_SHADOW 0
+#define AUTH_PAM 1
#define AUTH_PAM_USERPASS 0
#define USE_LIBPAM_USERPASS 0
|