Hi,

        Attached is an updated patch against the 2.0.9-5.1 version of
the templates.

Cheers,
-- 
                                        Steve
I may be love's bitch, but at least I'm man enough to admit it.
         - Spike
--- nufw-2.0.9/debian/control~  2006-12-03 22:13:38.000000000 +1100
+++ nufw-2.0.9/debian/control   2006-12-17 09:16:12.000000000 +1100
@@ -21,6 +21,7 @@
 
 Package: nuauth
 Architecture: any
+Pre-Depends: adduser
 Depends: ${shlibs:Depends}, debconf, libsasl2-modules, ssl-cert, openssl
 Recommends: nuauth-utils
 Description: The authentication daemon from the nufw package
--- nufw-2.0.9/debian/nuauth.templates~ 2006-12-15 06:41:33.000000000 +1100
+++ nufw-2.0.9/debian/nuauth.templates  2006-12-19 14:08:47.000000000 +1100
@@ -178,29 +178,23 @@
   - 4 : log all packets
 
 Template: nuauth/log_users_sync
-Type: select
-Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Sync users logs:
  Syncing users logs makes activities overall slower, but guarantees users
  logs (for instance, in SQL database) exist before the network packet is
  passed through.  It is advised to set this option if you setup nuauth for
  SSO.
-  - 0 : no sync
-  - 1 : sync
 
 Template: nuauth/log_users_strict
-Type: select
-Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Update logs automatically for consistency:
  If set to 1, whenever a connection already in conntrack (for TCP or UDP,
  same source IP, same source port) will be opened, existing connections
  that might already exist in our conntrack will be closed.  If set to 0, no
  such update will be performed.  The Safe option is to use 1.  Setting this
  to 0 may cause SSO modules to refuse some connections, in some rare cases.
-  - 0 : no update
-  - 1 : strict update of existing 'old' connections
 
 Template: nuauth/user_logs_module
 Type: select
@@ -263,9 +257,8 @@
 _Description: DBM file with users/groups definition:
 
 Template: nuauth/prio_to_nok
-Type: select
-Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Decision to accept when groups disagree:
  When a user is member of several groups, it can happen that some groups
  grant access for a connection, and others deny it.  If you choose 1 here,
@@ -315,11 +308,10 @@
  Please enter the timeout (in seconds) for connections to the MYSQL server.
 
 Template: nuauth/mysql_use_ssl
-Type: select
-Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Use SSL for MySQL connections:
- Set this to 1 to wrap MySQL connections in SSL, or 0 if you don't want
+ Set this to true to wrap MySQL connections in SSL, or false if you don't want
  to.
 
 Template: nuauth/mysql_ssl_keyfile
@@ -421,10 +413,9 @@
  Please enter the name of the PostgreSQL table to store user sessions in.
 
 Template: nuauth/reject_after_timeout
-Type: select
-Choices: 0, 1
-Default: 0
+Type: boolean
+Default: false
 _Description: Action when a connection is not authenticated:
- A value of 0 means Drop (say nothing to the client).  A value of 1
+ A value of false means Drop (say nothing to the client).  A value of true
  means Reject (have the nufw daemon send a polite ICMP datagram to
  the client).

Reply via email to