popa3d (1.0.2-6) params.h

Summary

 params.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- 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