Work In Progress…
This is just my notes on getting Brage working with Active Directory. When I have found a way to consistently get it working I will make sure to remove the “Work In progress”.
There is a couple of things I am going to assume:
- You are using Windows XP
- This computer is joined to an Active Directory Domain
- XAMPP has been installed with defaults
- Brage Change Management has been installed and is working with local users.
Step 1 – Edit Windows Path
In order to enable LDAP support in PHP we need to make sure that the PHP directory is part of the Windows path. To do this: Right Click “My Computer” and select “Properties”.
Click “Advanced” tab and then click the “Environment Variables”.
First Click on “Path”, Then click the “Edit” button. Go to the end of the path and type “;”. After the semi-colon type “C:\xampp\php”.
Hit “OK” and “OK”.
Step 2 – Edit php.ini
You will have to edit the “C:\xampp\php\php.ini” file.
Line 615 – Change to:
extension=php_ldap.dll
Step 3 – Restart Apache Service
Open the XAMPP control panel. Stop the “Apache” service. This will take a few seconds. Once it no longer says it is started. Click “Start” to restart the service. Again this will take a few seconds for the service to toggle on.
Step 4 – Check that LDAP Support is enabled
Go to http://localhost/xampp/phpinfo.php. Search for “LDAP Support”. This page should now say it is enabled.
Leave a Reply