Re: Liveuser questions
| From: | Lukas Smith | Date: | Mon, 29 Aug 2005 09:09:50 +0000 |
| Subject: | Re: Liveuser questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20613@lists.php.net to get a copy of this message | ||
Jeroen Houben wrote:
- Can I install the tables in a seperate schema (using postgresql 8) ?LU uses MDB2_Schema to generate and send the necessary create statements. I am not sure exactly what you mean with "seperate schema" though. If you mean if you can install the auth and the perm tables into seperate schema, then the answer is yes.
- Has LU been tested with postgresql 8?I think it has been used with postgresql, but at this point we only do testing on mysql on a regular basis. That said things should work on PostGreSQL out of the box and we will quickly fix any PostGreSQL issues if any arise.
I already have two authentication mechanism I'm using atm, one is a simple username password lookup using PEAR::Auth and a PEAR::DB container, the other one uses a radius server using PEAR::Auth with the radius container. I would like LU to first look for a user in the RADIUS server and if the user isn't found, look in the database. What's the best way to go about this? Reuse PEAR::Auth (I heard this was possible) or use LU's own way of storing users and password?Yes. LiveUser ships with a wrapper around PEAR::Auth. Furthermore LU can sequentially work through any number of autentication containers until it find a match or reaches the end of the list. See example 4 in the LiveUser package for an example where the XML and database containers where used in parallel. regards, Lukas