[horde] option count_bad_logins with postgres don't work

Markus Witt markus.witt+horde at mailmaster.at
Thu Dec 17 21:53:27 UTC 2015


Hi,

i am running Groupware 5.2.11 all up to date, (today)

if i try to set the option $conf[auth][params][count_bad_logins] i get  
an error.
Is the setting not working with postgres or is a table missing / fault  
on my installation.
Any hint or tips are welcome

regards markus

Error message:

      Ein schwerer Fehler ist aufgetreten:


          Could not instantiate PDO. PDOException: SQLSTATE[08006] [7]
          ungültige Verbindungsoption „count_bad_logins“

      1. Horde_Registry::appInit() /usr/share/horde/admin/config/config.php:17
      2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:299
      3. Horde_Registry->checkExistingAuth()  
/usr/share/php/Horde/Registry.php:1547
      4. Horde_Core_Factory_Auth->create()  
/usr/share/php/Horde/Registry.php:2641
      5. Horde_Core_Factory_Auth->_create()  
/usr/share/php/Horde/Core/Factory/Auth.php:54
      6. Horde_Core_Factory_Db->create()  
/usr/share/php/Horde/Core/Factory/Auth.php:173
      7. Horde_Core_Factory_Db->_createDb()  
/usr/share/php/Horde/Core/Factory/Db.php:99
      8. Horde_Db_Adapter_Base->__construct()  
/usr/share/php/Horde/Core/Factory/Db.php:180
      9. Horde_Db_Adapter_Pdo_Pgsql->connect()  
/usr/share/php/Horde/Db/Adapter/Base.php:150
    10. Horde_Db_Adapter_Pdo_Base->connect()  
/usr/share/php/Horde/Db/Adapter/Pdo/Pgsql.php:88


          Details


            Die vollständige Fehlermeldung wurde in Hordes Logdatei
            geschrieben und für Administratoren weiter unten ausgegeben.
            Benutzer, die keine Administratoren sind, bekommen diese
            Details nicht zu sehen.

    Horde_Db_Exception Object
    (
         [details] =>
         [logged] => 1
         [_logLevel:protected] => 0
         [message:protected] => Could not instantiate PDO.  
PDOException: SQLSTATE[08006] [7] ungültige Verbindungsoption  
„count_bad_logins“
         [string:Exception:private] =>
         [code:protected] => 0
         [file:protected] => /usr/share/php/Horde/Db/Adapter/Pdo/Base.php
         [line:protected] => 48
         [trace:Exception:private] => Array
             (
                 [0] => Array
                     (
                         [file] =>  
/usr/share/php/Horde/Db/Adapter/Pdo/Pgsql.php
                         [line] => 88
                         [function] => connect
                         [class] => Horde_Db_Adapter_Pdo_Base
                         [type] => ->
                         [args] => Array
                             (
                             )

                     )

                 [1] => Array
                     (
                         [file] => /usr/share/php/Horde/Db/Adapter/Base.php
                         [line] => 150
                         [function] => connect
                         [class] => Horde_Db_Adapter_Pdo_Pgsql
                         [type] => ->
                         [args] => Array
                             (
                             )

                     )

                 [2] => Array
                     (
                         [file] => /usr/share/php/Horde/Core/Factory/Db.php
                         [line] => 180
                         [function] => __construct
                         [class] => Horde_Db_Adapter_Base
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => Array
                                     (
                                         [charset] => utf-8
                                         [count_bad_logins] => 1
                                         [database] => xxxxxx
                                         [password] => xxxxxx
                                         [phptype] => pgsql
                                         [protocol] => tcp
                                         [splitread] =>
                                         [username] => xxxxx
                                         [host] => 127.0.0.1
                                     )

                             )

                     )

                 [3] => Array
                     (
                         [file] => /usr/share/php/Horde/Core/Factory/Db.php
                         [line] => 99
                         [function] => _createDb
                         [class] => Horde_Core_Factory_Db
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => Array
                                     (
                                         [charset] => utf-8
                                         [count_bad_logins] => 1
                                         [database] => xxxxx
                                         [hostspec] => 127.0.0.1
                                         [password] => xxxxx
                                         [phptype] => pgsql
                                         [protocol] => tcp
                                         [splitread] =>
                                         [username] => xxxxx
                                     )

                                 [1] => b27a0fdb30d3d553da7f6616b14350e1
                             )

                     )

                 [4] => Array
                     (
                         [file] => /usr/share/php/Horde/Core/Factory/Auth.php
                         [line] => 173
                         [function] => create
                         [class] => Horde_Core_Factory_Db
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => xxxxx
                                 [1] => auth
                             )

                     )

                 [5] => Array
                     (
                         [file] => /usr/share/php/Horde/Core/Factory/Auth.php
                         [line] => 54
                         [function] => _create
                         [class] => Horde_Core_Factory_Auth
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => sql
                             )

                     )

                 [6] => Array
                     (
                         [file] => /usr/share/php/Horde/Registry.php
                         [line] => 2641
                         [function] => create
                         [class] => Horde_Core_Factory_Auth
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => xxxxx
                             )

                     )

                 [7] => Array
                     (
                         [file] => /usr/share/php/Horde/Registry.php
                         [line] => 1547
                         [function] => checkExistingAuth
                         [class] => Horde_Registry
                         [type] => ->
                         [args] => Array
                             (
                             )

                     )

                 [8] => Array
                     (
                         [file] => /usr/share/php/Horde/Registry.php
                         [line] => 299
                         [function] => pushApp
                         [class] => Horde_Registry
                         [type] => ->
                         [args] => Array
                             (
                                 [0] => xxxxx
                                 [1] => Array
                                     (
                                         [check_perms] => 1
                                         [logintasks] => 1
                                         [notransparent] =>
                                     )

                             )

                     )

                 [9] => Array
                     (
                         [file] => /usr/share/horde/admin/config/config.php
                         [line] => 17
                         [function] => appInit
                         [class] => Horde_Registry
                         [type] => ::
                         [args] => Array
                             (
                                 [0] => xxxxx
                                 [1] => Array
                                     (
                                         [permission] => Array
                                             (
                                                 [0] =>  
horde:administration:configuration
                                             )

                                     )

                             )

                     )

             )

         [previous:Exception:private] =>
    )



More information about the horde mailing list