Package: papercut
Severity: normal
Tags: patch
Enabling auth_backend causes papercut to fail startup.
The attached patch fixes this.
- Jonas
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-git10+squashfs+wrr+fbsplash
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)
--- papercut.orig 2005-11-12 21:59:00.0 +0100
+++ papercut2005-11-13 00:09:32.0 +0100
@@ -903,7 +903,7 @@
# now for the authentication module, if needed
if settings.nntp_auth == 'yes':
# check for the appropriate configuration
-if auth_backend == '':
+if settings.auth_backend == '':
sys.exit("Please configure the 'nntp_auth' and 'auth_backend' " +
"options correctly and restart Papercut.")
temp = __import__('auth.%s' % (settings.auth_backend), globals(),
locals(), ['Papercut_Auth'])