Blame SOURCES/authconfig-6.2.8-paramcheck.patch

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