Re: backends.local.php not obeyed.
Simon Brereton <[email protected]> Wed, 2 Nov 2011 15:18:03 -0400
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <CAOmHMuH-15SA4guL2LOkp5TdKALzJUwzTV-nkSKR2PMUO048zA@mail.gmail.com> |
On 2 November 2011 15:03, Simon Brereton <[email protected]> wrote: > Hi > > I edited backends.local.php to be: > > > $backends['composite'] = array( > 'name' => 'All Services', > 'preferred' => '', > 'policy' => array( > 'minLength' => 8, > 'maxLength' => 25, > 'minClasses' => 2, > 'maxSpace' => 0, > 'minUpper' => 1, > 'minLower' => 1, > 'minNumeric' => 0, > 'minSymbols' => 0 > > ), > > But always I get the error that > The password must contain at least 1 numeric character.[Wed 02 Nov 2011 02:38:20 PM EST] > > Which I believe is coming from backends.php where every policy is: > > 'policy' => array( > 'minLength' => 6, > 'minNumeric' => 1, > ), > > Additionally, if I use a password that is less than 8 characters I still only get the numeric warning (because the 6 character policy is still satisfied). > > Simon Also, I have this in my logs: 2011-11-02T14:38:19-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 22429 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:48:00-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 17999 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:54:03-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 21944 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:54:21-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 17996 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:58:22-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 17992 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:59:18-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 22429 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T14:59:18-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: db [pid 22429 on line 92 of "/usr/share/horde4/passwd/lib/Factory/Driver.php"] 2011-11-02T15:00:46-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 21894 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 2011-11-02T15:01:17-04:00 NOTICE: HORDE4 [passwd] PHP ERROR: Undefined index: encryption [pid 22429 on line 131 of "/usr/share/horde4/passwd/config/backends.php"] 116 $backends['hordesql'] = array ( 117 'disabled' => false, 118 'name' => 'Horde SQL Authentication', 119 'preferred' => '', 120 'policy' => array( 121 'minLength' => 6, 122 'minNumeric' => 1, 123 ), 124 'driver' => 'Sql', 125 'params' => array_merge( 126 $GLOBALS['conf']['sql'], 127 array('table' => 'horde_users', 128 'user_col' => 'user_uid', 129 'pass_col' => 'user_pass', 130 'show_encryption' => false, 131 'encryption' => $GLOBALS['conf']['auth']['params']['encryption']) 132 ), 133 ); I haven't touched anything in backends.php Simon -- Sork mailing list - Join the hunt: http://horde.org/bounties/#sork Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]