
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
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.
#. 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()
The python/django LDAP libraries depend on the libldap2-dev
and libsasl2-dev
systemlibraries.
.. _django-auth-ldap: http://pythonhosted.org/django-auth-ldap/
FAQs
Django LDAP authentication for KDL
We found that django-kdl-ldap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.