... \\ [Contribute to this project| http://www.atutor.ca/payment/index.php?feature_id=25]
|
h2. LDAP/Authentication Directory Adaptor
|
| Some initial work has been contributed by desiv on atutor.ca, writing the code to allow ATutor to authenticate against an external
LDAP
directory server. The goal of this project is to create a general
adaptoer
that will authenticate users against any directory service, in addition to current LDAP support. |
We have not yet tested the code, but all accounts indicate it works fine for authenticating against an LDAP directory.
|
|
[Download LDAP
Adaptor|http://wiki.atutor.ca/download/attachments/47/atutor_ldap.zip] |
| |
| [LDAP Adaptor for ATutor
1.5.4|http://www.atutor.ca/view/12/10528/1.html]
Discussion|http://www.atutor.ca/view/12/10528/1.html] |
|
... h3. LDAP ReadMe
ATutor changed or new files for LDAP The ldap.php is the file from the OSU Helpdesk (which is OSS as well) that I have tweaked a bit to work here. I added the LDAP specific configs there, except I put a LDAP define in config.inc.php with an include if defined. This way, you can turn the LDAP define to 0 and it uses the local database and the original screens. If you set it for 1, it tries to use LDAP authentication (except for the Admin user created with the ATutor install). I've done some basic testing and it's working well so far, but we haven't gone production yet.
I want to clean up the error if you enter an invalid username or password with LDAP.
I also plan on adding an LDAP query that pulls the user name and email and fills them into the database automatically, but that isn't required to go live, and my manager wants to go live soon. :-)
/ login.php registration.php
/include/ config.inc.php ldap.php \*New File with LDAP defines and functions
/admin/ create_user.php edit_user.php
/users/ profile.php
/themes/default/ login.ldap.tmpl.php \*Created New based on login.ldap.tmpl.php reg.ldap.tmpl.php \*Created New based on registration.tmpl.php
|