Blame SOURCES/authconfig-6.2.8-paramcheck.patch

898b0e
diff -up authconfig-6.2.8/authconfig.glade.paramcheck authconfig-6.2.8/authconfig.glade
898b0e
--- authconfig-6.2.8/authconfig.glade.paramcheck	2013-11-01 16:08:01.000000000 +0100
898b0e
+++ authconfig-6.2.8/authconfig.glade	2013-11-01 16:48:44.384106338 +0100
898b0e
@@ -638,7 +638,7 @@
898b0e
                                         <property name="secondary_icon_activatable">False</property>
898b0e
                                         <property name="primary_icon_sensitive">True</property>
898b0e
                                         <property name="secondary_icon_sensitive">True</property>
898b0e
-                                        <property name="adjustment">9 5 30 1 10 0</property>
898b0e
+                                        <property name="adjustment">9 6 30 1 10 0</property>
898b0e
                                         <property name="snap_to_ticks">True</property>
898b0e
                                         <property name="numeric">True</property>
898b0e
                                       </widget>
898b0e
diff -up authconfig-6.2.8/authconfig.py.paramcheck authconfig-6.2.8/authconfig.py
898b0e
--- authconfig-6.2.8/authconfig.py.paramcheck	2013-11-01 16:08:01.000000000 +0100
898b0e
+++ authconfig-6.2.8/authconfig.py	2013-11-01 16:47:30.468477475 +0100
898b0e
@@ -534,6 +534,10 @@ class Authconfig:
898b0e
             				self.printError(_("The passminclass value must not be negative"))
898b0e
             				self.options.passminclass = None
898b0e
             				self.retval = 3
898b0e
+            			if val > 4:
898b0e
+            				self.printError(_("The passminclass value must not be higher than 4"))
898b0e
+            				self.options.passminclass = None
898b0e
+            				self.retval = 3
898b0e
                 except ValueError:
898b0e
                         self.printError(_("The passminclass option value is not an integer"))
898b0e
                         self.options.passminclass = None