web2ldap - InstallingA brief description on how to install it |
|
web2ldap is designed to be very flexible. It can be installed in different modes running persistent as a multi-threaded server process under Win32 and Unix platforms:
For running web2ldap 0.11.0+ you need several modules.
You can check them with script sbin/checkinst.py
.
Package | Required | Description |
---|---|---|
Python | mandatory | Python 2.0 or later (currently recommended is Python 2.4 which gives great performance improvements). |
PyWebLib 1.3.0+ | mandatory | Module package for web application programming. |
python-ldap | mandatory | You have to grab a at least release 2.0.1 (recommended is 2.0.7+). |
OpenLDAP 2.2.x client libs | mandatory | Required to build python-ldap. |
PyDNS | optional | If you want to make use of SRV RR's to automatically locate your LDAP server for a given dc-style DN you have to install this DNS module. |
pycrypto | optional | This is needed if you want to set Samba's NT- and LAN-manager passwords (attributes ntPassword/sambaNTPassword and lmPassword/sambaLMPassword). |
md4.py | optional | Can be used alternatively instead of pycrypto for setting solely Samba's NT passwords (attribute ntPassword/sambaNTPassword). |
psyco | optional | Speed-up of Python code execution through pre-compilation. |
Running mode | Start script | Web server | Additional software needed | SSL support |
---|---|---|---|---|
stand-alone | sbin/web2ldap.py |
Python standard lib | - | currently not supported |
CGI-BIN (cgi-fcgi wrapper) | cgi-bin/web2ldap.fcgi |
Any web server with CGI support | FastCGI Dev Kit and Python module fcgi.py. | Apache SSL or Apache with mod_ssl |
FastCGI server (mod_fastcgi) | fcgi/web2ldap.py |
Apache | mod_fastcgi and Python module fcgi.py. | Apache SSL or Apache with mod_ssl |
FastCGI server (ISAPI/NSAPI) |
fcgi/web2ldap.py |
Netscape/AOL, Sun/iPlanet or MS IIS | FastCGI for ISAPI/NSAPI and Python module fcgi.py. | built-in |
SCGI server | scgi/web2ldap.py |
Apache | mod_scgi including the Python module | Apache SSL or Apache with mod_ssl |
python [web2ldapdir]/sbin/compile.py
or
python -O [web2ldapdir]/sbin/compile.py
for compiling
all Python sources.
[web2ldapdir]/sbin/web2ldap.py
cgi-bin/web2ldap.fcgi
to
CGI-BIN directory of web server.
etc/httpd/sample-mod_fastcgi.conf
.
etc/httpd/sample-mod_scgi.conf
.