{ "info": { "author": "Austin Morton", "author_email": "amorton@juvsoft.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP" ], "description": "Django Remote Auth LDAP\r\n=========================\r\n\r\n[![Build Status](https://travis-ci.org/apmorton/django-remote-auth-ldap.png?branch=master)](https://travis-ci.org/apmorton/django-remote-auth-ldap)\r\n\r\nPurpose\r\n-------\r\n\r\nThis app combines [django-auth-ldap](http://pythonhosted.org/django-auth-ldap/) with django's [RemoteUserBackend](https://docs.djangoproject.com/en/dev/howto/auth-remote-user/)\r\nIt allows django applications hosted in IIS to take advantage of Windows Authentication in IIS (401 Challenge) while also having the advanced features offered in `django-auth-ldap`\r\n\r\n\r\nFeatures\r\n--------\r\n\r\n- [PEP 8](http://www.python.org/dev/peps/pep-0008/) compliance\r\n- [semver](http://semver.org/) compliance\r\n\r\n\r\nInstalling\r\n----------\r\n\r\nInstall with pip/easy_install from the pypi\r\n\r\n`pip install django-remote-auth-ldap`\r\n\r\nor clone the latest source\r\n\r\n git clone https://github.com/apmorton/django-remote-auth-ldap.git\r\n cd django-remote-auth-ldap\r\n python setup.py install\r\n\r\n\r\nUsing\r\n-----\r\n\r\nIn your django settings.py file configure django-auth-ldap normally, verify that the configuration is indeed working!\r\n\r\nAdd the `RemoteUserMiddleware` class after the `AuthenticationMiddleware` class\r\n```python\r\nMIDDLEWARE_CLASSES = (\r\n ...\r\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n 'django_remote_auth_ldap.middleware.RemoteUserMiddleware',\r\n ...\r\n)\r\n```\r\n\r\nSet the RemoteUserLDAPBackend as the authentication backend\r\n```python\r\nAUTHENTICATION_BACKENDS = (\r\n 'django_remote_auth_ldap.backend.RemoteUserLDAPBackend',\r\n)\r\n```\r\n\r\nThe application expects the remote user to be in the form `domain\\user` (which is how IIS returns it)\r\n\r\nSettings\r\n--------\r\n\r\nThere are a few settings you can use to control the behavior\r\n\r\n- `DRAL_CHECK_DOMAIN` - Boolean - whether or not to check the domain against a known list - default True\r\n- `DRAL_STRIP_DOMAIN` - Boolean - whether or not to strip the domain off the username before passing to django-auth-ldap - default True\r\n- `DRAL_DOMAINS` - List - list of domains to check against, should be lowercase! - default []\r\n- `DRAL_HEADER` - String - header to check for remote user in - default REMOTE_USER\r\n\r\n\r\n\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/apmorton/django-remote-auth-ldap", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-remote-auth-ldap", "package_url": "https://pypi.org/project/django-remote-auth-ldap/", "platform": "", "project_url": "https://pypi.org/project/django-remote-auth-ldap/", "project_urls": { "Homepage": "https://github.com/apmorton/django-remote-auth-ldap" }, "release_url": "https://pypi.org/project/django-remote-auth-ldap/1.0.0/", "requires_dist": [ "django-auth-ldap", "django-appconf" ], "requires_python": "", "summary": "REMOTE_USER authentication using LDAP", "version": "1.0.0" }, "last_serial": 4956940, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5f248bd015557207f5b8fca936a18414", "sha256": "b3a3e8007b3635d4ea9f92f76248649074c493fb5e5e13fac556fd7ac2599e52" }, "downloads": -1, "filename": "django-remote-auth-ldap-0.1.0.zip", "has_sig": false, "md5_digest": "5f248bd015557207f5b8fca936a18414", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6875, "upload_time": "2013-05-06T17:31:47", "url": "https://files.pythonhosted.org/packages/af/73/3faeed3d697e1621cdca7f345383147441f268657a8e42bf51881771802c/django-remote-auth-ldap-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "590a9ecad8d72039f26d22f5d995d391", "sha256": "f6ce22fd46510c01bc0a508f31853ae01aecaede6efcd0fe32a77ce03fbd04f7" }, "downloads": -1, "filename": "django-remote-auth-ldap-0.1.1.zip", "has_sig": false, "md5_digest": "590a9ecad8d72039f26d22f5d995d391", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6877, "upload_time": "2013-05-09T21:12:25", "url": "https://files.pythonhosted.org/packages/e2/1c/decb1851eab3d35591d621e713455993ac1d4f7ee77b68f172442445f4df/django-remote-auth-ldap-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bb17a7ba1d859ad1f45359a26ae3d7ea", "sha256": "8c275322dec1a2c3fcaa48f28dd766b21cff178df358676126911db25cc81610" }, "downloads": -1, "filename": "django-remote-auth-ldap-0.1.2.zip", "has_sig": false, "md5_digest": "bb17a7ba1d859ad1f45359a26ae3d7ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8208, "upload_time": "2013-05-09T21:26:50", "url": "https://files.pythonhosted.org/packages/22/77/e4722922f70c5dc34101fbc240c5132a391798364d2ea86ffd7131663f6d/django-remote-auth-ldap-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "71c446994741999767c4c515cc3da89d", "sha256": "eb50573edd7861b64ef7fdca14ebf67151c8589b0ff486c3edc6d79b51b7f66b" }, "downloads": -1, "filename": "django-remote-auth-ldap-0.1.3.zip", "has_sig": false, "md5_digest": "71c446994741999767c4c515cc3da89d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8218, "upload_time": "2013-05-09T21:42:04", "url": "https://files.pythonhosted.org/packages/eb/cd/ba92ecf523f2504f19ef444873ea5e630c3fdf78fbed7ac9d4c0d6baabdf/django-remote-auth-ldap-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "66eaebe19ee8ec00518330361ed2e1d4", "sha256": "7d606c30f12700e218c5698d350f9d3c4d953d4bb9c819941cd659f036579888" }, "downloads": -1, "filename": "django-remote-auth-ldap-0.1.4.zip", "has_sig": false, "md5_digest": "66eaebe19ee8ec00518330361ed2e1d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8288, "upload_time": "2013-10-08T18:20:42", "url": "https://files.pythonhosted.org/packages/6c/bb/6b663521a36dc682eb694d965427db987f75a6914909ed91823bfb38082c/django-remote-auth-ldap-0.1.4.zip" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "bed2823c97db81e38091181026ef00ca", "sha256": "d61b55a20530a109a9d68864c2fa4761fbbfceea42b55416c369293ec39646ae" }, "downloads": -1, "filename": "django_remote_auth_ldap-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "bed2823c97db81e38091181026ef00ca", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3898, "upload_time": "2019-03-19T04:55:21", "url": "https://files.pythonhosted.org/packages/f5/13/73bc3348fdb01f04403183042107265eeb5412848bae56dd337fa435f670/django_remote_auth_ldap-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24010cfea6b96326a8f773b7dbcecead", "sha256": "f6b0e0ff05f1b7a94415a060e5783b765b9211f67a14e4eea21f71347e672661" }, "downloads": -1, "filename": "django-remote-auth-ldap-1.0.0.tar.gz", "has_sig": false, "md5_digest": "24010cfea6b96326a8f773b7dbcecead", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3177, "upload_time": "2019-03-19T04:55:22", "url": "https://files.pythonhosted.org/packages/a9/e3/e036d240dfc2a21bbadc4451337e89b1c72cfd061721eb8b3b96d7b28bc8/django-remote-auth-ldap-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bed2823c97db81e38091181026ef00ca", "sha256": "d61b55a20530a109a9d68864c2fa4761fbbfceea42b55416c369293ec39646ae" }, "downloads": -1, "filename": "django_remote_auth_ldap-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "bed2823c97db81e38091181026ef00ca", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3898, "upload_time": "2019-03-19T04:55:21", "url": "https://files.pythonhosted.org/packages/f5/13/73bc3348fdb01f04403183042107265eeb5412848bae56dd337fa435f670/django_remote_auth_ldap-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24010cfea6b96326a8f773b7dbcecead", "sha256": "f6b0e0ff05f1b7a94415a060e5783b765b9211f67a14e4eea21f71347e672661" }, "downloads": -1, "filename": "django-remote-auth-ldap-1.0.0.tar.gz", "has_sig": false, "md5_digest": "24010cfea6b96326a8f773b7dbcecead", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3177, "upload_time": "2019-03-19T04:55:22", "url": "https://files.pythonhosted.org/packages/a9/e3/e036d240dfc2a21bbadc4451337e89b1c72cfd061721eb8b3b96d7b28bc8/django-remote-auth-ldap-1.0.0.tar.gz" } ] }