6.0.0-alpha12
6/12/25

[#9355] custom authentication query against pgsql database
Summary custom authentication query against pgsql database
Queue Horde Base
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at) , mrubinsk (at) horde (dot) org
Requester dan (at) soleks (dot) com
Created 11/02/2010 (5336 days ago)
Due
Updated 11/04/2010 (5334 days ago)
Assigned 11/02/2010 (5336 days ago)
Resolved 11/04/2010 (5334 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/04/2010 05:10:35 PM Michael Rubinsky State ⇒ Resolved
 
11/03/2010 04:09:08 AM Git Commit Comment #8 Reply to this comment
Changes have been made in Git for this ticket:

Don't pollute the DSN with non-connection related data.
Not sure if there's a better place to do this or not...if so, happy to
move it.

Bug: 9355

http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Factory/Db.php?rt=horde-git&r1=82b5e16de8f83c432be6b66ea54dc041a1fb0b92&r2=5c148f95a10d2626e5004cffab0aff3af7a37959
11/02/2010 11:06:52 PM Git Commit Comment #7 Reply to this comment
11/02/2010 10:34:25 PM Michael Rubinsky Comment #6
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Try now?
11/02/2010 10:30:41 PM Michael Rubinsky Comment #4
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Reply to this comment
Looks like the customsql driver isn't fully refactored yet. Not sure 
how you got even as far as you did without fatal errors regarding 
Horde_Db_Adapter being missing.
11/02/2010 09:53:01 PM dan (at) soleks (dot) com Comment #3 Reply to this comment
i did
echo $this->_db;

as an output:

gmsdb
Fatal error: Call to a member function quote() on a non-object in 
/var/www/html/horde-test/libs/Horde/Auth/Customsql.php on line 91

gmsdb is my custom database against which i do authentication
11/02/2010 09:42:34 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Can you provide a backtrace and the value of $this->_db right before 
that line?
11/02/2010 12:05:09 AM dan (at) soleks (dot) com Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ custom authentication query against pgsql database
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
With configured authentication backend with custom queries i'm getting 
the following:

Fatal error: Call to a member function quote() on a non-object in 
/var/www/html/horde-test/libs/Horde/Auth/Customsql.php on line 90

Saved Queries