Installing on Windows

A brief description of how to install it on Windows 2000/XP/2003/2008/Vista/7

Notes in advance

Python

Download and install Windows installers (MSI files) Python 2.7.11+. Make sure you select to install the PIP component which includes easy_install tool.

Python modules

We proceed here with Python setup tools which automagically downloads and build the latest releases from PyPI repository.

It is assumed that you chose the default installation path c:\Python27 when installing Python.

Run CMD.EXE and type in the following commands:

Set proxy settings if needed:

set http_proxy="http://proxy.example.com:8080"
set https_proxy="http://proxy.example.com:8080"
set ftp_proxy="http://proxy.example.com:8080"

Install needed modules:

c:\Python27\Scripts\easy_install netaddr
c:\Python27\Scripts\easy_install python-ldap
c:\Python27\Scripts\easy_install pyweblib
c:\Python27\Scripts\easy_install pyasn1
c:\Python27\Scripts\easy_install pyasn1_modules

Optional but useful modules:

c:\Python27\Scripts\easy_install pydns
c:\Python27\Scripts\easy_install pyexcelerator
c:\Python27\Scripts\easy_install pillow

web2ldap application

Download 1.2.71.tar.gz

Extract file 1.2.71.tar.gz somewhere. You may need an extra archive extract program like WinZip for that.

Run CMD.EXE and type in the following commands:

cd c:\path\to\web2ldap-1.2.71
c:\python27\python.exe web2ldap-1.2.71\sbin\checkinst.py
[..lots of output..watch for errors..]

Start built-in HTTP server listening on all interfaces by navigating to web2ldap-1.2.71\sbin\web2ldap.py and double-click on it.

Access it with your browser: http://127.0.0.1:1760/web2ldap

Relax the IP restrictions by editing bind_address and access_allowed in file web2ldap-1.2.71\etc\web2ldap\web2ldapcnf\standalone.py if you want to make web2ldap accessible by others over network.