An add-on to the mPCC to enable it to manage an LDAP directory.
Project description
mprov_ldap_manager
This is an mPCC python module add-on that will allow the mPCC to manage an LDAP directory.
Installation
Follow these easy steps to enable this module in the mPCC
- Go into
/var/www/mprov_control_center
and runsource bin/activate
from a bash prompt. pip install mprov_ldap_manager
This will install the python module into your mPCC environment- Edit the
/var/www/mprov_control_center/mprov_control_center/settings.py
file and addmprov_ldap_manager
to the bottom of theINSTALLED_APPS
array. - In your
/var/www/mprov_control_center/.env
file, add the following:
LDAPMGR_URL=ldaps://ldapserver/
LDAPMGR_USER="cn=root,dc=cluster,dc=local"
LDAPMGR_PASS='password'
LDAPMGR_DN='dc=cluster,dc=local'
# if your LDAP uses a self signed cert, add this line.
LDAPMGR_TLS_SELFSIGNED=1
- Run
touch /var/www/mprov_control_center/mprov_control_center/wsgi.py
to refresh the mPCC or restart your webserver.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mprov_ldap_manager-0.0.4.tar.gz
.
File metadata
- Download URL: mprov_ldap_manager-0.0.4.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5604f6c282eeef352da79cf68bc6f0b987e02d20cf8f67bffc920dd118c7b726 |
|
MD5 | 251d46fe99f5f7466172163936345df5 |
|
BLAKE2b-256 | b550a5e08b91dc6864aa9f4c8296b36d4590834566363f0c5cc1f14798ed1fd1 |
File details
Details for the file mprov_ldap_manager-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: mprov_ldap_manager-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d557bc68e4950f7c342a556bddcab524d9bc27189b443b47006730e30407c1a |
|
MD5 | 6a3dbc4c3a7837423fdb608f2d11afa3 |
|
BLAKE2b-256 | 50d1a3beb293688ca1d5146c3c2091e25920e60a88b3941c4f40f0e7ce35b2c9 |