'/usr/share/php/Net/LDAP.php', 'Smarty' => '/var/www/tmp/Smarty-2.6.18/libs/Smarty.class.php', 'lang' => 'fr_FR.UTF8', 'cacheLSrights' => true, 'ldap_servers' => array ( array ( 'name' => 'LSexample', 'ldap_config'=> array( 'host' => '127.0.0.1', 'port' => 389, 'version' => 3, 'starttls' => false, 'binddn' => 'uid=eeggs,ou=people,o=ls', 'bindpw' => 'toto', 'basedn' => 'o=ls', 'options' => array(), 'filter' => '(objectClass=*)', 'scope' => 'sub' ), 'LSadmins' => array ( 'o=ls' => array ( 'uid=eeggs,ou=people,o=ls' => NULL ), 'ou=people,o=ls' => array ( 'cn=adminldap,ou=groups,o=ls' => array ( 'attr' => 'uniqueMember', 'LSobject' => 'LSeegroup' ) ) ), 'cacheLSrights' => false, 'authobject' => 'LSeepeople', 'authobject_pwdattr' => 'userPassword' ), array ( 'name' => 'Ldap 2', 'ldap_config'=> array( 'host' => '127.0.0.1', 'port' => 389, 'version' => 3, 'starttls' => false, 'binddn' => 'uid=toto,ou=people,o=com', 'bindpw' => 'toto', 'basedn' => 'o=com', 'options' => array(), 'filter' => '(objectClass=*)', 'scope' => 'sub' ), 'subdnobject' => 'LSeecompany', 'authobject' => 'LSeepeople', 'authobject_pwdattr' => 'userPassword' ) ) ); //Debug $GLOBALS['LSdebug']['active'] = true; // Définitions des locales $textdomain = 'ldapsaisie'; bindtextdomain($textdomain, '/var/www/ldapsaisie/trunk/l10n'); textdomain($textdomain); setlocale(LC_ALL, $GLOBALS['LSconfig']['lang']); // Définitions des dossiers d'inclusions define('LS_CONF_DIR','conf/'); define('LS_INCLUDE_DIR','includes/'); define('LS_CLASS_DIR', LS_INCLUDE_DIR .'class/'); define('LS_LIB_DIR', LS_INCLUDE_DIR .'libs/'); define('LS_ADDONS_DIR', LS_INCLUDE_DIR .'addons/'); define('LS_JS_DIR', LS_INCLUDE_DIR .'js/'); // Javascript $GLOBALS['defaultJSscipts']=array( 'mootools.js', 'LSdefault.js', 'Debugger.js' ); ?>