A brief description on how to install it on RHEL
Important notes in advance:
Some required modules are not available as RHEL packages or the
packages are too old (especially python-ldap).
So we proceed here with Python setup tools which automagically download
and build the latest releases from PyPI repository.
Set proxy settings if needed.
export http_proxy="http://proxy.example.com:8080" export https_proxy="http://proxy.example.com:8080" export ftp_proxy="http://proxy.example.com:8080"
Install needed modules:
easy_install python-netaddr easy_install python-ldap easy_install pyweblib easy_install pyasn1 easy_install pyasn1_modules
Optional but useful modules
yum install python-imaging python-m2crypto easy_install pydns easy_install pyexcelerator
Grab web2ldap source and extract anywhere
wget http://www.web2ldap.de/download/web2ldap-1.2.19.tar.gz tar xzf web2ldap-1.2.19.tar.gz python2.6 web2ldap-1.2.19/sbin/checkinst.py [..lots of output..watch for errors..]
Relax the IP restrictions by editing bind_address and access_allowed in file /opt/web2ldap/etc/web2ldap/web2ldapcnf/standalone.py if you want to make web2ldap accessible by others over network.
Start built-in HTTP server listening on all interfaces
python2.6 web2ldap-1.2.19/sbin/web2ldap.py -l 0.0.0.0:1760 -d off
Access it with your browser:
http://your-server-hostname-or-address-here:1760/web2ldap