Welcome to Elgg's documentation
This is the place to find documentation on all aspects of Elgg. If you would like to contribute your own documentation please do; we want this to be a real community effort!
Using LDAP
From Elgg Documentation
Elgg can be configured to use LDAP.
Authentication code can be found in the /elgg/auth folders. See the /ldap/ for a single authentication, or /multiple/ if you have a more complex setup. This example will use the multiple one.
Configure php to have an ldap module by uncommenting the following from php.ini extension=php_ldap.dll and re-starting apache. If on windows, the two files libeay32.dll and ssleay32.dll must be in the system path. Be sure you're editing the correct php.ini file, this can checked by looking at echo phpinfo();
You will edit the auth.ini file in /auth/multiple. First, you should add a .htaccess access to prevent browsers from reading the file. Have the two lines in the htaccess file:
Order deny,allow Deny from all
If you access http://localhost/e/auth/multiple/auth.ini, then you should now get a forbidden note.
Edit the auth.ini file to setup your particular ldap settings.
In the root folder, edit config.php. Add the following line: $CFG->auth = 'multiple'; $CFG->auth_multiple_ini = "path the file";

