==========================
This application uses django-auth-ldap_ to authenticate against KDL's LDAP service. If the LDAP authentication fails it falls back to Django authentication, so it is possible to have local Django accounts.
Configuration
-------------
#. ``pip install django-kdl-ldap``
#. add ``kdl_ldap`` to ``INSTALLED_APPS``
#. import the ``kdl_ldap`` settings into your project's settings ``from kdl_ldap.settings import * # noqa``.
#. Add the setting ``AUTH_LDAP_REQUIRE_GROUP`` to your project settings and set it to the LDAP group you want to authenticate to: ``AUTH_LDAP_REQUIRE_GROUP = 'cn=PROJECT_GROUP_NAME,' + LDAP_BASE_OU``.
#. Add ``kdl_ldap`` signal handler into your project urls:
from kdl_ldap.signal_handlers import register_signal_handlers as \
kdl_ldap_register_signal_hadlers
kdl_ldap_register_signal_hadlers()
System requirements
-------------------
The python/django LDAP libraries depend on the ``libldap2-dev`` and ``libsasl2-dev`` systemlibraries.
.. _django-auth-ldap: http://pythonhosted.org/django-auth-ldap/
Metadata
Release files for django-kdl-ldap 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-kdl-ldap-1.2.tar.gz | 3.9 kB | Without provenance | Details for django-kdl-ldap-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_kdl_ldap-1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_kdl_ldap-1.2-py2.py3-none-any.whl |
Total release size: 8.4 kB
Release files / django-kdl-ldap-1.2.tar.gz
| Download URL | django-kdl-ldap-1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc11c3e9a9f10afdcdd8bb1a116696cc5e02d537f1028bbcfaddcf7257e1fcfd
|
|
BLAKE2b-256 checksum How to use checksums |
36ba88a6e8141f3c71beb13f95145eb2adb20faa6206977a7e2add69d57616cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.5
|
Release files / django_kdl_ldap-1.2-py2.py3-none-any.whl
| Download URL | django_kdl_ldap-1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ff9006f23782f7fdcf6cab4b31ae28e25f70642c70a6750f56147b5b418b3dd3
|
|
BLAKE2b-256 checksum How to use checksums |
ffd402434b1a3a5f6efca879696ccf74569036c97bec7af05b35798cc9097418
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.5
|
Security for django-kdl-ldap 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.