
Hi Atif, On Sun, Jun 09, 2002 at 03:35:09PM +0200, Atif Ghaffar wrote:
1. Can you please set the Reply-To header for this list to go back to the list. Sometimes I forget to set that manually and then we get an archive of questions only :)
Done. ,-)
Martin Edenhofer wrote:
Of course. But could we put the abstraction into the "Main Library" (AuthDriver), to make it unimportant if the otrs-auth-driver works with:
I hope I understand you correctly,
You want a Horde type Auth Driver: Auth::factory (this delegates the auth to the correct class)
Auth/LDAP Auth/DB Auth/PAM
etc
Exact.
I think I know why you want to authentify via the same table :) [ to be backwards compatible ]
Yes, we can use the same table for authentification if we define that table in the ConfigObject, but in the long run it may look ugly and unclear.
Maybe put the logic in the Auth/DB driver to first look in the auth table, and if login/pw not found then look in the system_users table. If found in the system_users table, copy the data to the auth table and reauthentify from auth table.
This will keep backwards compatibility and will still have a clear structure.
Ok. Fine. Let's do so.
Also, we can define auth-chains.
Look in LDAP ---> DB->table(auth) ---> DB->table(system_users) but I think that would be an over-kill.
Ja. That would be an over-kill.
Atif Ghaffar
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- socrate: 9:40pm up 156 days, 8:27, 3 users, load average: 0.08, 0.06, 0.01