[Tickets #9879] Re: Horde authentification: SQL Custom

bugs at horde.org bugs at horde.org
Thu Apr 14 06:25:00 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/9879
------------------------------------------------------------------------------
  Ticket           | 9879
  Aktualisiert Von | torben at dannhauer.info
  Zusammenfassung  | Horde authentification: SQL Custom
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Resolved
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       | Michael Rubinsky
------------------------------------------------------------------------------


torben at dannhauer.info (2011-04-14 06:25) hat geschrieben:

Hi Michael,

I copied this files into my pear installation:
- framework/Auth/lib/Horde/Auth/Cyrsql.php
- framework/Auth/lib/Horde/Auth/Imap.php
- framework/Core/lib/Horde/Core/Auth/Signup/Sql.php
- framework/Core/lib/Horde/Core/Factory/Auth.php
- framework/Core/lib/Horde/Core/Factory/Db.php

with postgreSQL and TCP/IP (localhost) it works, with postgreSQL and  
unix_socket it does not work.

The error is similar to the error you fixed for me:

Could not instantiate PDO with DSN  
"pgsql:host=localhost;dbname=my_db;unix_socket=/var/run/postgresql/".  
PDOException: SQLSTATE[08006] [7] ungültige Verbindungsoption (means:  
invalid option) »unix_socket«

Questions: Why is localhost there mentioned? Its socket, not tcp/ip.  
and pgsql doesn't like 'unix_socket' it seems :)

Maybe your have to apply your changes also for pgsql via socket?

Thank you for your help!

Torben






More information about the bugs mailing list