首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Django LDAP后端。

Django LDAP后端。

  • 资源大小:8.73 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: DjangoLDAP

资 源 简 介

Django LDAP Backend (django_ldapbackend) Installation You will require Django and LDAP. ( easy_install django ; apt-get install slapd ) Install this (easy_install should do it). ( easy_install django-ldapbackend ) Add the following to your settings.py without the comments: AUTHENTICATION_BACKENDS = ( "django_ldapbackend.LDAPBackend", "django.contrib.auth.backends.ModelBackend",) This is the LDAP Backend with the default as fallback. Add the following settings to your settings.py, customing as required: ``` # Required AUTHLDAPSERVER = "127.0.0.1" # Hostname AUTHLDAPBASE_USER = "cn=admin,dc=example,dc=com" # Administrative User"s Username AUTHLDAPBASE_PASS = "password" # Administrative User"s Password AUTHLDAPBASE_DN = "dc=example,dc=com"

文 件 列 表

django-ldapbackend-0.0.1.1
django_ldapbackend
setup.cfg
ez_setup.py
MANIFEST.in
README
django_ldapbackend.egg-info
setup.py
PKG-INFO

相 关 资 源

VIP VIP
0.179385s