New in version 0.10.
Ganeti Web Manager supports LDAP authentication through the use of django-auth-ldap and python-ldap. A fabric command has been written to easily handle enabling and disabling LDAP support.
In order to use python-ldap a couple of system level packages need to be installed first.
- For a Debian based systems:
- For a Red Hat based systems:
To deploy Ganeti Web Manager with LDAP
$ cd ganeti_webmgr/ganeti_web/settings $ cp ldap_settings.py.dist ldap_settings.py
Change ldap_settings.py to fit your LDAP configuration.
$ vi ldap_settings.py
ldap_settings.py.disthas been thoroughly commented so that external documentation shouldn’t be needed. If you have specific questions about options or want an overview of the package, please consult the django-auth-ldap documentation.
Install the LDAP-specific requirements.
$ pip install -r requirements/ldap.txt # in root of repository
If you would like to later disable LDAP support, all that is required is to remove your ldap_settings file:
$ cd ganeti_webmgr/ganeti_web/settings $ rm ldap_settings.py
This will not remove django-auth-ldap and python-ldap, nor the the system specific dependencies. If you want to remove these, use pip and your system’s package manager.