{ "info": { "author": "Dheerendra Rathor", "author_email": "dheeru.rathor14@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP" ], "description": "This is a Django authentication backend that authenticates against an LDAP\nservice. Configuration can be as simple as a single distinguished name template,\nbut there are many rich configuration options for working with users, groups,\nand permissions.\n\nThis version is supported on Python 2.6, 2.7, 3.4 and 3.5; and Django >= 1.7.\nUnder Python 2, it requires `python-ldap\n`_ >= 2.0; under Python 3, it uses\n`pyldap `_.\n\nFull documentation can be found at\nhttp://pythonhosted.org/django-auth-ldap/; following is an example\nconfiguration, just to whet your appetite::\n\n import ldap\n from django_auth_ldap.config import LDAPSearch, GroupOfNamesType\n\n\n # Specify User Profile Model if profile needs to be populated (Optional)\n AUTH_PROFILE_MODULE = 'account.UserProfile'\n \n # Baseline configuration.\n AUTH_LDAP_SERVER_URI = \"ldap://ldap.example.com\"\n\n AUTH_LDAP_BIND_DN = \"cn=django-agent,dc=example,dc=com\"\n AUTH_LDAP_BIND_PASSWORD = \"phlebotinum\"\n AUTH_LDAP_USER_SEARCH = LDAPSearch(\"ou=users,dc=example,dc=com\",\n ldap.SCOPE_SUBTREE, \"(uid=%(user)s)\")\n # or perhaps:\n # AUTH_LDAP_USER_DN_TEMPLATE = \"uid=%(user)s,ou=users,dc=example,dc=com\"\n\n # Set up the basic group parameters.\n AUTH_LDAP_GROUP_SEARCH = LDAPSearch(\"ou=django,ou=groups,dc=example,dc=com\",\n ldap.SCOPE_SUBTREE, \"(objectClass=groupOfNames)\"\n )\n AUTH_LDAP_GROUP_TYPE = GroupOfNamesType()\n\n # Simple group restrictions\n AUTH_LDAP_REQUIRE_GROUP = \"cn=enabled,ou=django,ou=groups,dc=example,dc=com\"\n AUTH_LDAP_DENY_GROUP = \"cn=disabled,ou=django,ou=groups,dc=example,dc=com\"\n\n # Populate the Django user from the LDAP directory.\n AUTH_LDAP_USER_ATTR_MAP = {\n \"first_name\": \"givenName\",\n \"last_name\": \"sn\",\n \"email\": \"mail\"\n }\n\n AUTH_LDAP_USER_FLAGS_BY_GROUP = {\n \"is_active\": \"cn=active,ou=django,ou=groups,dc=example,dc=com\",\n \"is_staff\": \"cn=staff,ou=django,ou=groups,dc=example,dc=com\",\n \"is_superuser\": \"cn=superuser,ou=django,ou=groups,dc=example,dc=com\"\n }\n \n # Populate user profil model from LDAP Directory\n AUTH_LDAP_PROFILE_ATTR_MAP = {\n 'description': 'description',\n 'type': 'employeeType',\n }\n \n # Populate profile fields by matching if regex matches the user DN\n AUTH_LDAP_PROFILE_FLAGS_BY_DN_REGEX = {\n \"is_awesome\": r\"ou=awesome,ou=people,dc=example,dc=com\",\n \"is_teacher\": r\"ou=faculty,dc=example,dc=com\",\n }\n \n\n # Use LDAP group membership to calculate group permissions.\n AUTH_LDAP_FIND_GROUP_PERMS = True\n\n # Cache group memberships for an hour to minimize LDAP traffic\n AUTH_LDAP_CACHE_GROUPS = True\n AUTH_LDAP_GROUP_CACHE_TIMEOUT = 3600\n\n\n # Keep ModelBackend around for per-user permissions and maybe a local\n # superuser.\n AUTHENTICATION_BACKENDS = (\n 'django_auth_ldap.backend.LDAPBackend',\n 'django.contrib.auth.backends.ModelBackend',\n )", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DheerendraRathor/django-auth-ldap-ng", "keywords": "django,ldap,authentication,auth", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-auth-ldap-ng", "package_url": "https://pypi.org/project/django-auth-ldap-ng/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-auth-ldap-ng/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/DheerendraRathor/django-auth-ldap-ng" }, "release_url": "https://pypi.org/project/django-auth-ldap-ng/1.7.6/", "requires_dist": null, "requires_python": null, "summary": "Django LDAP authentication backend", "version": "1.7.6" }, "last_serial": 2005532, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e0271ccb78f7727ab00019d5a8f271c1", "sha256": "5b6b4cca10c21f19f812361415eb2f73b9dfaa53533e0bad94b9484b007994d5" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e0271ccb78f7727ab00019d5a8f271c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135157, "upload_time": "2015-09-25T21:48:53", "url": "https://files.pythonhosted.org/packages/dc/ae/f325abf6adecadf67fd2ce920ddf7e77a9d69a8788e27ecfb5d19ec7b24d/django-auth-ldap-ng-1.0.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "dc98cf7e1ab688f1b36b0f55fa99321a", "sha256": "da43a141f94dd5c7e99fbba8bd00e64f5075ce67266b0bbe86b254e44efa70a1" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.5.0.tar.gz", "has_sig": false, "md5_digest": "dc98cf7e1ab688f1b36b0f55fa99321a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136478, "upload_time": "2015-10-22T09:15:35", "url": "https://files.pythonhosted.org/packages/9f/5d/16a6ac97376faa605b29f3cc76ff483b7fec750061512aaddf5fc3996a45/django-auth-ldap-ng-1.5.0.tar.gz" } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "11d8b262eee903b4afa8bb174535ea6f", "sha256": "580538112148e7241159183ce9b6f518be284166c455e62d2cb7d1e2b13f18da" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.6.0.tar.gz", "has_sig": false, "md5_digest": "11d8b262eee903b4afa8bb174535ea6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136574, "upload_time": "2016-01-31T08:35:07", "url": "https://files.pythonhosted.org/packages/e5/be/89d47573e2762677fad74c9bf1757b3ce0a6d52a2297582f655971e2f76a/django-auth-ldap-ng-1.6.0.tar.gz" } ], "1.7.0": [ { "comment_text": "", "digests": { "md5": "a79a2164196316c7b664f8cffe917cef", "sha256": "d51d42b7388662e24d37797ad53520d54b60cb1630d426a4d14b4c5a6278023d" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.7.0.tar.gz", "has_sig": false, "md5_digest": "a79a2164196316c7b664f8cffe917cef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137266, "upload_time": "2016-03-14T07:57:07", "url": "https://files.pythonhosted.org/packages/47/bd/2a7d7f942d146837305793d3f88510117f8b550df40acbb5433bb8874ab6/django-auth-ldap-ng-1.7.0.tar.gz" } ], "1.7.5": [ { "comment_text": "", "digests": { "md5": "dc55a724d7e4ccade9f8120fe4768cdf", "sha256": "24658ac673f6afa13cb5f30957b388b44b7da65c9ab232e1a78cbef836038eb0" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.7.5.tar.gz", "has_sig": false, "md5_digest": "dc55a724d7e4ccade9f8120fe4768cdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137275, "upload_time": "2016-03-14T08:52:51", "url": "https://files.pythonhosted.org/packages/68/e1/71df13b6ae57203b59f6fd88394f21649d056ecfb387a54849c21094e5a8/django-auth-ldap-ng-1.7.5.tar.gz" } ], "1.7.6": [ { "comment_text": "", "digests": { "md5": "a464cb646da0543084fe161d22502461", "sha256": "abdb28607a8c45447cd2184776f04354c98f36c9d3b0f845ae013a73443ebcd1" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.7.6.tar.gz", "has_sig": false, "md5_digest": "a464cb646da0543084fe161d22502461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137265, "upload_time": "2016-03-14T10:40:31", "url": "https://files.pythonhosted.org/packages/0d/5d/c9b196594fe082b03d6db152e6782ffba8fac6794c85bc12cd462c910ff3/django-auth-ldap-ng-1.7.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a464cb646da0543084fe161d22502461", "sha256": "abdb28607a8c45447cd2184776f04354c98f36c9d3b0f845ae013a73443ebcd1" }, "downloads": -1, "filename": "django-auth-ldap-ng-1.7.6.tar.gz", "has_sig": false, "md5_digest": "a464cb646da0543084fe161d22502461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137265, "upload_time": "2016-03-14T10:40:31", "url": "https://files.pythonhosted.org/packages/0d/5d/c9b196594fe082b03d6db152e6782ffba8fac6794c85bc12cd462c910ff3/django-auth-ldap-ng-1.7.6.tar.gz" } ] }