Horde/Auth + OCI8
Cynic
cynic@mail.cz
Mon, 20 Aug 2001 16:24:28 +0200
Hi there,
I must say that this email is most probably incredibly lame, but
I have no experience with either of the three used in this
combination: Pear::DB, Horde::Auth, nor Oracle. This is what I
have here:
horde/config/horde.php:
$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array(
'phptype' => 'oci8',
'hostspec' => 'localhost',
'username' => 'scott',
'password' => 'tiger',
'database' => '',
'table' => 'scott.auth'
);
SQL> describe scott.auth;
Name Null? Type
------------------------------- -------- ----
USER_ID NOT NULL VARCHAR2(30)
USER_PASS NOT NULL VARCHAR2(30)
SQL> select * from scott.auth;
USER_ID USER_PASS
------------------------------ ------------------------------
cynic pass
When I attempt a login, Nothing Happens(TM), i. e. I get back
the "Please log in" form. I have Horde and Chora from CVS about
two weeks ago, and a freshly checked-out Turba. When I allow
guest access to Turba in registry, I can get there, but get
redirected to the login page as soon as I turn the guest access
off again.
I guess I f*cked up the $conf['auth']['params'] array, is that
the case? What should it look like?
cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7