NEW LDAP IMPLEMENTATION
As there are a lot of problems with the old ldap doekos implementation. I wrote another one. It has all the features the old one had and can be easily customised to do pretty much everything.
Here is the setp to install it :
1. Download the tar.gz file here : http://www.dokeos.com/download/newldap-dokeos-2.1.tar.gz
1. backup your main/auth/ldap/folder
2. Uncompress the downloaded file to main/auth/ldap/ folder overwriting login.php and newUser.php
And that's it. All your paramters of the old ldap implementaiton will still be taken.
To activate ldap, you have to uncomment thos 2 lines in main/inc/conf/configuration.php (as in the old version) :
// Uncomment these lines to activate ldap
$extAuthSource["ldap"]["login"] = $_configuration['root_sys'].$_configuration['code_append']."auth/ldap/login.php";
$extAuthSource["ldap"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/ldap/newUser.php";
For a basic configuration, you can use the dokeos administrration section ldap (main/admin/settings.php?category=LDAP)
If you want to do things more complicated, edit the main/auth/ldap/ldap.conf.php file. It is self documented and permit to do a lot of things. See the $ldap_user_correspondance variable
One thing that has been improved is the debug.
If it does not work, open your error.log file and it should tell you why.
If you have any questions or comment,...