Authentication: Fall back from Mysql to LDAP?

This is a discussion on Authentication: Fall back from Mysql to LDAP? within the Apache Web Server forums, part of the Web Server and Related Forums category; Is it possible to fall back from one authorization scheme to another? I have a database of users with passwords. ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-12-2008
bukzor
 
Posts: n/a
Default Authentication: Fall back from Mysql to LDAP?

Is it possible to fall back from one authorization scheme to another?

I have a database of users with passwords. What I'd like to add is
optional use of the users' Windows (read LDAP) passwords.

What I'd like to happen:
1. User logs into website
2. If (hashed) password matches that in database, then authenticate.
3. If password in database, is "USE-LDAP", try the entered password
for LDAP login. If successful, authenticate.
4. Otherwise, go to registration process, where the user can enter a
application-specific password or choose to use the Windows/LDAP
password.

I have two ways to check the LDAP password (mod-auth-LDAP or a simple
perl script), but don't know how to do the conditional fallback like
this. Does anyone here know?

Thanks!
--Buck
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0