CVS edit link for Hadrien KOHL
Hi,I created a module, based on the LDAP Integration module, allowing to plug Drupal to external databases to authenticate users.
The module uses dbtng to connect to databases, it support all the database types that have a driver writen for.
The module can be configured to use specific tables, columns and expressions ; for example authenticate user with colum 'name', 'surname', 'name ||surname' and the password column 'passwd' and column 'id' without password.
It can use multiple batabase servers.
I'm developing this module during work hours. I planned to extend it to manage profile's fields mapping and role mapping. Just as LDAP Integration module does.
Best regards.
Hadrien KOHL
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | db_integration.zip | 10.21 KB | Hadrien KOHL |
Comments
Comment #1
Hadrien KOHL commentedHere's the code. It needs dbtng to work, and use databases defined in the drupal setting.php file.
It has been made with oracle driver, but work on any database type (the driver must implement range and count methods).
Thanks.
Hadrien
Comment #2
avpadernoHello, and thank you for applying for a CVS account. I am adding the review tags, and somebody will report what needs to be changed in the code.
Comment #3
drupalshrek commentedHi,
Application should also list comparison with existing similar modules. Or at least with the nearest modules in the domain.
Comment #4
drupalshrek commentedComment #5
Hadrien KOHL commentedHi,
There are several log-in integration modules. Most of them are working with exposed services trough APIs or protocols.
http://drupal.org/project/fbauth
http://drupal.org/project/ldap_integration
http://drupal.org/project/openid-launchpad
http://drupal.org/project/winliveid
....
This module however doesn't rely on an Internet service but on SQL Databases. It uses the new database abstraction to connect multiple databases and allows users to authenticate against them. It provide a configuration interface to build the queries and field mapping that are used to authenticate users.
It is based on ldap_integration and follow the same structure :
db_auth : Authenticate users againts one or multiple and different databases.
db_data : Map drupal profiles to the database fields and allow user to read/write them.
db_group : Add role membership to users based on database.
Comment #6
avpadernoPlease read all the following and the links provided as this is very important information about your CVS Application.
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:Migrating from CVS Applications to (Git) Full Project Applications.
Comment #7
avpadernoAs per previous comment, I am setting this issue to won't fix.
Since new users can now create full projects, applications have a different purpose and they are handled on a different issue queue. See Apply for permission to opt into security advisory coverage for more information.