web2ldap - InstallingA brief description on how to install it |
|
web2ldap is designed to be very flexible. It can be installed in two different modes running persistent as a multi-threaded server process under Win32 and Unix platforms:
For running web2ldap 0.11.0+ you need:
configure --with-threads
).
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 |
There are some ready-to-use packages of the required software and web2ldap. Note that the Prerequisites have changed since web2ldap 0.11.x!
See python-ldap's download page for a comprehensive list of pre-compiled python-ldap packages.
Oddbjorn Steffensen <oddbjorn@oddbjorn.bdc.no> maintains a FreeBSD port which you can directly retrieve via CVS from the FreeBSD archive.
There are currently no OpenLDAP 2 libs for Win32 available.
Therefore python-ldap is currently not available on Win32.
If you manage to make a Win32 build of python-ldap let me know.
Contributors welcome!
The easiest way to use web2ldap on Win32 is to deploy
cygwin
and install pre-built packages for cygwin of Python 2.x, OpenLDAP libs
and python-ldap.
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
.