web2ldap - Installing on Red Hat Enterprise Linux 6.x (RHEL)
Author: Michael Ströder <michael@stroeder.com>
Description: web2ldap: A brief description on how to install it on RHEL
Keywords: LDAP LDAPv2 LDAPv3 subschema gateway Python python-ldap Directory userCertificate PKI LDIF DSML

Important notes in advance:

- This simple install receipt requires that the machine has Internet (proxy) access to load packages from the openSUSE download repository.
- If you run with SELinux enabled additional actions are likely needed to enable network and file access.
- Your mileage may vary!

## RHEL packages

## Python modules

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.

    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-version.tar.gz
    tar xzf web2ldap-version.tar.gz
    python2.6 web2ldap-version/sbin/checkinst.py
    [..lots of output..watch for errors..]

Relax the IP restrictions by editing web2ldap-version/etc/web2ldap/web2ldapcnf/standalone.py

Start built-in HTTP server listening on all interfaces

    python2.6 web2ldap-version/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`