Bug#338958: papercut: auth_backend does not work

2005-11-24 Thread Jérémy Bobbio
tags 338958 + pending
thanks

On Monday 14 November 2005 03:58, Jonas Smedegaard wrote:
> Enabling auth_backend causes papercut to fail startup.
>
> The attached patch fixes this.

Patch applied.  It will be included in the next papercut upload.

Thanks,
-- 
Jérémy


pgp0DqQzYF5eF.pgp
Description: PGP signature


Bug#338958: papercut: auth_backend does not work

2005-11-13 Thread Jonas Smedegaard
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'])