Blame SOURCES/authconfig-6.2.8-paramcheck.patch

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