{ "info": { "author": "Putt Sakdhnagool", "author_email": "putt.sakdhnagool@nectec.or.th", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-freeipa-auth\n====================\n\n`django-freeipa-auth` provides a Django backend authentication app for FreeIPA authentication. The app uses FreeIPA JSON API for its operation. \n\nQuick start\n------------\n\n1. Install using `pip`\n\n```\npip install django-freeipa-auth-json\n```\n\n2. Add `freeipa` to `INSTALLED_APPS` in the settings file.\n\n```python\nINSTALLED_APPS = [\n ...\n 'freeipa',\n]\n```\n\n3. Add `freeipa.auth.backends.AuthenticationBackend` to `AUTHENTICATION_BACKENDS` in the settings file.\n\n```python\nAUTHENTICATION_BACKENDS = [\n ...\n 'freeipa.auth.backends.AuthenticationBackend',\n]\n```\n\n4. Add following settings to the setting files\n\n```python\n# REQUIRED: \nIPA_AUTH_SERVER = 'ipa.demo1.freeipa.org'\n\n# OPTIONAL:\nIPA_AUTH_SERVER_SSL_VERIFY = True\nIPA_AUTH_SERVER_API_VERSION = '2.230'\n# Automatically update user information when logged in\nIPA_AUTH_AUTO_UPDATE_USER_INFO = True \n# Automatically create and update user groups.\nIPA_AUTH_UPDATE_USER_GROUPS = True \n\n# Dictionary mapping FreeIPA field to Django user attributes\nIPA_AUTH_FIELDS_MAP = { 'givenname': 'first_name',\n 'sn' : 'last_name',\n 'mail' : 'email',\n }\n```\n\nCommand Line\n--------------\n\n`django-freeipa-auth` provide `syncipa` command to import and update users stored in Django database with FreeIPA server.\n\n```\nusage: manage.py syncipa [-h] [-u USER] [-p PASSWD] \n\nSynchronizing data with FreeIPA server\n\noptional arguments:\n -h, --help show this help message and exit\n\nlogin arguments: require a user with permission to query all users (e.g. administrator.)\n -u USER, --user USER\n -p PASSWD, --passwd PASSWD \n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/puttsk/django-freeipa-auth", "keywords": "django freeipa authentication", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-freeipa-auth-json", "package_url": "https://pypi.org/project/django-freeipa-auth-json/", "platform": "", "project_url": "https://pypi.org/project/django-freeipa-auth-json/", "project_urls": { "Bug Reports": "https://github.com/puttsk/slurm-sbalance/issues", "Homepage": "https://github.com/puttsk/django-freeipa-auth", "Source": "https://github.com/puttsk/slurm-sbalance/" }, "release_url": "https://pypi.org/project/django-freeipa-auth-json/0.1.2.dev1/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "summary": "FreeIPA authentication for Django using FreeIPA JSON API", "version": "0.1.2.dev1" }, "last_serial": 4861404, "releases": { "0.1.0.dev1": [ { "comment_text": "", "digests": { "md5": "89e0cbd83dd693856634586b2d3fc4de", "sha256": "a2eefe828912902ace881ce2bc15b8f44ffdfc3249f6b66b9f3c6268ddc25f4f" }, "downloads": -1, "filename": "django_freeipa_auth_json-0.1.0.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "89e0cbd83dd693856634586b2d3fc4de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 10220, "upload_time": "2019-02-24T15:29:56", "url": "https://files.pythonhosted.org/packages/0d/de/685034b2c2db118e2f9fd11a18ff5ff7871b434a78b1e6a1896359642558/django_freeipa_auth_json-0.1.0.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32dec3509f4c0d879fbe7c089c7775ca", "sha256": "5c45da6cd44a83f903d22fdabf28a54b0f901366f897982226a1505741dec1e1" }, "downloads": -1, "filename": "django-freeipa-auth-json-0.1.0.dev1.tar.gz", "has_sig": false, "md5_digest": "32dec3509f4c0d879fbe7c089c7775ca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 7107, "upload_time": "2019-02-24T15:29:59", "url": "https://files.pythonhosted.org/packages/11/9d/4f8e68ef3cd641ab3d05b31727a3e779bc49b115c67c95ee95b704c00e9b/django-freeipa-auth-json-0.1.0.dev1.tar.gz" } ], "0.1.1.dev1": [ { "comment_text": "", "digests": { "md5": "b82709a23cf35008d204996437fbcd07", "sha256": "5a861db808a10e84cd17d9e1c1ecd15b9a476e98b6155b8d5340cdec1c9230d4" }, "downloads": -1, "filename": "django_freeipa_auth_json-0.1.1.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "b82709a23cf35008d204996437fbcd07", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 10219, "upload_time": "2019-02-24T16:10:55", "url": "https://files.pythonhosted.org/packages/85/a1/b98fd58c2209179ccdbe588b3263fedf6ebfecad4c9a388d473bdf0a301c/django_freeipa_auth_json-0.1.1.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "207bb91c7a3fa9126cdc4478cecd5200", "sha256": "98edc446244033f8ee70b949d8ed7f8d9f9b4224c6da890979dd36253121d01a" }, "downloads": -1, "filename": "django-freeipa-auth-json-0.1.1.dev1.tar.gz", "has_sig": false, "md5_digest": "207bb91c7a3fa9126cdc4478cecd5200", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 7817, "upload_time": "2019-02-24T16:10:57", "url": "https://files.pythonhosted.org/packages/6d/9e/c78c299bf38b33e2c28d8b60e0ebba7290b9a3567c913a43cd79927ceb1b/django-freeipa-auth-json-0.1.1.dev1.tar.gz" } ], "0.1.2.dev1": [ { "comment_text": "", "digests": { "md5": "6711e5396f7e1fbe7a2e3650a4aff3e1", "sha256": "ad347de5c0e12eda653b403e80a3583c87712941a07dc10a399396178196a56c" }, "downloads": -1, "filename": "django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "6711e5396f7e1fbe7a2e3650a4aff3e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 9190, "upload_time": "2019-02-24T16:23:12", "url": "https://files.pythonhosted.org/packages/a4/59/f251698f803e50a64066e1e750694e3cf740a810d47bc9fd0faa16958c27/django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6325ffb57e47650e5c15712233b945b4", "sha256": "65092acbc39e1fb7c62a4e884f1b94127bfe1f725e4f14bd0e2de62a2fa99305" }, "downloads": -1, "filename": "django-freeipa-auth-json-0.1.2.dev1.tar.gz", "has_sig": false, "md5_digest": "6325ffb57e47650e5c15712233b945b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 6213, "upload_time": "2019-02-24T16:23:14", "url": "https://files.pythonhosted.org/packages/2d/dd/fd21b3404b0a79f73e7a285b533b78aff78168889fc8d5efb2972939e8fa/django-freeipa-auth-json-0.1.2.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6711e5396f7e1fbe7a2e3650a4aff3e1", "sha256": "ad347de5c0e12eda653b403e80a3583c87712941a07dc10a399396178196a56c" }, "downloads": -1, "filename": "django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "6711e5396f7e1fbe7a2e3650a4aff3e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 9190, "upload_time": "2019-02-24T16:23:12", "url": "https://files.pythonhosted.org/packages/a4/59/f251698f803e50a64066e1e750694e3cf740a810d47bc9fd0faa16958c27/django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6325ffb57e47650e5c15712233b945b4", "sha256": "65092acbc39e1fb7c62a4e884f1b94127bfe1f725e4f14bd0e2de62a2fa99305" }, "downloads": -1, "filename": "django-freeipa-auth-json-0.1.2.dev1.tar.gz", "has_sig": false, "md5_digest": "6325ffb57e47650e5c15712233b945b4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", "size": 6213, "upload_time": "2019-02-24T16:23:14", "url": "https://files.pythonhosted.org/packages/2d/dd/fd21b3404b0a79f73e7a285b533b78aff78168889fc8d5efb2972939e8fa/django-freeipa-auth-json-0.1.2.dev1.tar.gz" } ] }