Installing LTB SSP
Installing LTB SSP
Installing LTB SSP
Environment
This document is intended as a quick “how to” and assumes that the reader has enough
technical skills to perform many of the functions without any detailed instructions.
2) Use WAMP
I will be using WAMP (Windows, Apache, MySQL, and PHP) from:
http://www.wampserver.com/en/
Install WAMP with all the default settings. You may have to install the Microsoft Visual
C++ Redistributable Package before you can install WAMP. This is documented on the
WAMP web site. http://www.wampserver.com/en/
After this file was copied, I restarted the Windows7 machine. I was then able to turn on
LDAP support from within the WAMP – PHP console and verify PHP-LDAP support
from the phpinfo() page.
4) Make sure your AD server has a certificate.
This is required for LDAPS connections. In an AD environment, you must use LDAPS
(Secure LDAP) to change passwords.
First, check and see if you already have certificates installed.
a) On your LDAP (Active Directory) Domain Controller select Start>mmc.exe
b) Select File>Add/Remove Snap-in,
c) Highlight “Certificates”, press “Add” then select “Computer Account” from
the pop up window, and select “Local Computer”, and “Finish”.
You should end up at a screen like this.
e) If you already have Certificates here, look under the “Intended Purpose”
column, if it says “Client Authentication”……you are all set.
f) IMPORTANT : Notice (and document) the FQDN that your cert is issues to.
You will need this name. Any LDAPS connections made to this server MUST
use this name as the “server name”.
http://technet.microsoft.com/en-us/library/ff710475(v=ws.10).aspx
If the above directions are not clear enough, Google the term “windows server 2008 r2
generate self-signed certificate”
You must have a certificate for “Client Authentication” for a LDAPS connection to work.
No LDAPS connection = No LTB SSP.
You can use this utility to verify both LDAP and LDAPS connections to the Active
Directory LDAP server.
For LDAPS connection tests you MUST use the EXACT SAME NAME as in the “Issued
to” column in section 4-f (above).
Make sure you can connect and bind using both LDAP and LDAPS.
6) Install the LTB Self Service Password files to the WAMP “www” directory.
Simply unzip, and copy the files over.
$ldap_url = "ldaps://myserver.almaschools.net”;
$ldap_binddn = "CN=Administrador,CN=Users,DC=Almaschools,DC=net”;
$ldap_bindpw = “mypassword”;
$ldap_base = "OU=Almaschools,DC=Almaschools,DC=net ";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter ="(&(objectClass=user)(sAMAccountName={login})(!
(userAccountControl:1.2.840.113556.1.4.803:=2)))";
The most difficult part of getting the LTB SSP application running was the setup and
verification of LDAPS. Once that was achieved, everything else fell into place.