<li>in the agenda you can display the X upcoming events (can be configured by the platform admin)</li>
<li>in the agenda you can display the X upcoming events (can be configured by the platform admin)</li>
<li>The course agenda now has a month view like the my agenda</li>
<li>The course agenda now has a month view like the my agenda</li>
<li>In the user list of the platform administration you can now quickly see for what courses the user is subscribed by hovering over the courses icon</li>
<li>In the user list of the platform administration you can now quickly see for what courses the user is subscribed by hovering over the courses icon</li>
<li>the platform system announcements can now be sent through email also</li>
<li>The platform system announcements can now be sent through email also</li>
<li>LDAP
<ul>
<li>The LDAP code has changed. If you had some customisations there, you might want to save them and re-apply them after the upgrade</li>
<li>Functions renamed to respect coding conventions and use ldap_ namespace</li>
<li>Most parameters moved to the administration panel. You will need to configure the administration panel with the settings that were previously in ldap_var.inc.php</li>
<li>Added non-anonymous mode (just add a login and a password in the configuration panel)</li>
<li>Added search domain configuration through panel</li>
<li>Added customizable field-check for student-teacher switch</li>
<li>The installation guide has been updated to help you find your way through the new LDAP configuration panel</li>
<li>You still need to activate LDAP by uncommenting two lines in configuration.php</li>
@ -370,55 +370,28 @@ Ask the LDAP server admin for the settings:
<li>ldap dc</li>
<li>ldap dc</li>
</ul>
</ul>
You must enter these in
Since 1.8.5, you have to change the LDAP settings inside the "Portal administration" panel, under "Dokeos configuration settings", section "LDAP".
(dokeos folder)/main/auth/ldap/ldap_var.inc.php
<br/>
<br/>
As an example, you should find the following kind of values:<br/>
LDAP main server's address: "myldapserver.com"; // your ldap server<br/>
//parameters for LDAP module<br/>
LDAP main server's port: 389; // your ldap server's port number<br/>
$usesLDAP = TRUE;<br/>
LDAP domain: "dc=xx, dc=yy, dc=zz"; //domain<br/>
$usesCurriculum = FALSE;<br/>
$ldaphost = "myldapserver.com"; // your ldap server<br/>
$ldapport = 389; // your ldap server's port number<br/>
$ldapDc = "dc=xx, dc=yy, dc=zz"; //domain<br/>
<br/>
<br/>
<h3><b>Teacher/student status</b></h3>
<h3><b>Teacher/student status</b></h3>
<p>
<p>
If you wish, you can give teacher/student status to dokeos users according to settings in the ldap server.
By default, Dokeos will check if the "employeenumber" field has a value. If it has, then Dokeos will
This is not a standard field however, so you'll have to change some code.
consider this user as being a teacher.<br/>
main/auth/ldap/ldap_var.inc.php
If you want to change this behaviour, you can edit main/auth/ldap/authldap.php, function ldap_put_user_info_locally(),
around line 189, function putUserInfoInDokeos ($login, $infoArray)
and change the <em>if (empty($info_array[$tutor_field]))</em> condition to whatever suits you.<br/>
</p>
You can also remove this check by removing the condition and leaving only the <em>$status = STUDENT;</em> line.
<p>
if (<i>your criterium</i>)<br/>
{<br/>
$statut = STUDENT;<br/>
}<br/>
else<br/>
{<br/>
$statut = COURSEMANAGER;<br/>
}<br/>
</p>
<p>
If this seems too difficult, the simplest solution is to just put
$statut = STUDENT; and give course manager rights through the administration section.
</p>
<p>
</p>
</p>
<h3><b>Protected LDAP servers</b></h3>
<h3><b>Protected LDAP servers</b></h3>
<p>
<p>
Some LDAP servers do not support anonymous use of the directory services
Some LDAP servers do not support anonymous use of the directory services.<br/>
In this case, you need code that binds with a name and password - this code has already been provided,
In this case, you should fill in the appropriate fields in the administration panel (e.g. "manager" and "mypassword") and Dokeos will try to authenticate using these, or fall back to anonymous mode before giving up.</p>