claroline/claroline/inc/conf/extauth/ldap.conf.php File Reference

Go to the source code of this file.

Namespaces

namespace  CLAUTH

Variables

if(count(get_included_files())==1)
if(!function_exists(
'ldap_to_claroline')) 
$driverConfig ['driver']
 $driverConfig ['extAuthOptionList']
 $driverConfig ['extAuthAttribNameList']
 $driverConfig ['extAuthAttribTreatmentList']
 $driverConfig ['extAuthAttribToIgnore']

Variable Documentation

$driverConfig['extAuthAttribToIgnore']
Initial value:
 array(
    
)

Definition at line 72 of file ldap.conf.php.

$driverConfig['extAuthAttribTreatmentList']
Initial value:
 array (
    'lastname'     => 'ldap_to_claroline',
    'firstname'    => 'ldap_to_claroline',
    'loginName'    => 'ldap_to_claroline',
    'email'        => 'ldap_to_claroline',
    'officialCode' => 'ldap_to_claroline',
    'phoneNumber'  => 'ldap_to_claroline',
    'isCourseCreator' => NULL
)

Definition at line 62 of file ldap.conf.php.

$driverConfig['extAuthAttribNameList']
Initial value:
 array(
    'lastname' => 'sn',
    'firstname' => 'givenName',
    'email' => 'mail',
    'phoneNumber' => 'telephoneNumber',
    'authSource' => 'ldap'
)

Definition at line 54 of file ldap.conf.php.

$driverConfig['extAuthOptionList']
Initial value:
 array(
    'url' => 'ldap://server_address',
    'port' => 636,
    'basedn' => 'ou=personne,o=your organisation unit,c=domain',
    'userattr' => 'uid',
    'useroc' => 'person',
    'attributes' => array('sn','givenName','telephoneNumber','mail'),
    'attrformat' => 'AUTH_LDAP_ATTR_AUTH_STYLE',
    
)

Definition at line 43 of file ldap.conf.php.

if (count(get_included_files())==1) if (!function_exists( 'ldap_to_claroline')) $driverConfig['driver']
Initial value:
 array(
    'enabled' => true, 
    
    'class' => 'PearAuthDriver',
    'authSourceType' => 'LDAP',
    'authSourceName' => 'ldap',
    
    
    'userRegistrationAllowed' => true,
    
    'userUpdateAllowed' => false
)

Definition at line 28 of file ldap.conf.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3