This is quite simple to configure WebADM/OpenOTP with AD 2008.
First you need AD with LDAP SSL enabled and you need to know the LDAP
base DN of your AD.
You can use an LDAP explorer for windows to know what is your base DN.
It should look like "dc=yourDomain,dc=com".
Then you do:
1) Configure servers.xml: Change the host to your AD domain controller
IP or hostname. Please connect to the DC having the schema master role
in your AD. You configuration should look like:
<LdapServer name="My AD Server"
host="localhost"
port="636"
encryption="SSL"
cert_file=""
key_file="" />
Notice the port 636 for LDAP SSL.
2) Configure webadm.conf: You need to adjust all the settings with an
LDAP DN. That means:
- proxy_user: Use the AD Administrator DN as proxy user (something
like cn=Administrator,cn=Users,dc=yourDomain,dc=com). You can use
another user but the proxy user must have admin rights to the LDAP
user objects.
- proxy password: This is the AD password for the proxy user (your
administrator password).
- super_admins: Put the same Administrator DN in this admin list.
- other_admins: You can comment it for now.
- optionsets_container and other containers: Adjust all of them with
your AD tree base. For example, optionsets_container should look like
cn=OptionSets,cn=WebADM,dc=yourDomain,dc=com.
- alert_email: Put your email address.
3) Restart WebADM and login at
https://yourserver/. WebADM will ask
for your Adminsitrator LDAP DN (like
cn=Administrator,cn=Users,dc=yourDomain,dc=com) and the password.
Please look at logs with a "tail -f /opt/webadm/logs/httpd.log".
4) After login, WebADM will prompts you for running the graphical
setup tasks. Just follow.
5) Configure your WebADM Domain. Go to menu->Infos->Registered
Domains. And adjust the default domain object if necessary. The User
Search Base setting of the domain must be set to the LDAP location
where you have the users (like cn=Users,dc=yourDomain,dc=com).
6) Configure the OpenOTP Application in menu->Applications->OTP Server-
>Configure.
At least, set the default domain to your domain.
You can re-edit the webadm.conf file and change the auth_mode to UID
to login to WebADM with the AD Administrator username instead of the
DN. But only when the domain works. You can also switch back to DN at
any time.
For the rest, just look at the OpenOTP QuickStart Guide...