{ "info": { "author": "Ben Paddock", "author_email": "pads@thisispads.me.uk", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/pads/tiddlywebplugins.ldapauth.png)](https://travis-ci.org/pads/tiddlywebplugins.ldapauth)\n[![Coverage Status](https://coveralls.io/repos/pads/tiddlywebplugins.ldapauth/badge.png)](https://coveralls.io/r/pads/tiddlywebplugins.ldapauth)\n[![Latest Release](https://pypip.in/v/tiddlywebplugins.ldapauth/badge.png)](https://crate.io/packages/tiddlywebplugins.ldapauth/)\nAbout\n=====\n\nAllows TiddlyWeb users to Authenticate against an LDAP server.\n\nIt has been tested with OpenLDAP but other LDAP-compliant servers could be used (e.g. Active Directory).\n\nRequirements\n============\n\n* [Python](http://www.python.org/).\n* [pip](http://www.pip-installer.org/en/latest/).\n* make.\n* A working TiddlyWeb instance to test against.\n* [py.test](http://pytest.org/latest/) to run the tests.\n* An LDAP server (e.g. [OpenLDAP](openldap.org)) with some users that have passwords.\n\nModifying\n=========\n\nThe best way to figure out how to work with this project is to look at the `.travis.yml` file.\n\n`setup.py` is used to package up the plugin, install and distribute.\n\nPlugin code lives in the `tiddlywebplugins` directory.\n\nTests live in the `test` directory.\n\n* `make test` runs the tests.\n* `make test_with_coverage` runs the tests with code coverage reporting from `pytest-cov`\n* `make pep8` runs pep8 over the code to check for style compliance.\n* `make install` installs the plugin as a package on your system\n(you may need sudo for this.)\n* `make release` packages and uploads the plugin to [PyPI](http://pypi.python.org/pypi) for distribution.\n\nSetting up LDAP\n===============\n\nSee [this guide](http://pads.tiddlyspace.com/OpenLDAP%20Setup).\n\nPlugin Installation\n===================\n\nRequires the following OS packages:\n\n apt-get install libldap2-dev libsasl2-dev\n\nOn Redhat-based systems this is:\n\n yum install openldap-devel\n\nThen install tiddlywebplugins.ldapauth:\n\n pip install -U tiddlywebplugins.ldapauth\n\nTiddlyWeb Configuration\n=======================\n\nReference the plugin from your TiddlyWeb configuration as an auth system plugin e.g:\n\n`'auth_systems': ['tiddlywebplugins.ldapauth']`\n\nConfigure an LDAP server to communicate with. If this is not specified then `127.0.0.1:389` is the default connection.\n\n 'ldapauth': {\n 'ldap_host': 'my.ldapserver.com',\n 'ldap_port': '3890',\n 'ldap_base_dn': 'dc=my,dc=domain'\n 'ldap_tiddlyspace_mode': True\n }\n\nIf `ldap_base_dn` is not specified then `dc=localhost` is assumed.\n\n`'ldap_tiddlyspace_mode': True` is only needed for TiddlySpace installations where a CSRF token is required.\n\nUsage\n=====\n\nThe URL to authenticate with will end in:\n\n`challenge/tiddlywebplugins.ldapauth`", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/tiddlywebplugins.ldapauth", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "tiddlywebplugins.ldapauth", "package_url": "https://pypi.org/project/tiddlywebplugins.ldapauth/", "platform": "Posix; MacOS X; Windows", "project_url": "https://pypi.org/project/tiddlywebplugins.ldapauth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/tiddlywebplugins.ldapauth" }, "release_url": "https://pypi.org/project/tiddlywebplugins.ldapauth/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Allows TiddlyWeb users to Authenticate against an LDAP server.", "version": "0.1.1" }, "last_serial": 858810, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "969e621c65ec4793ddf66a98377db3fb", "sha256": "78b3ea35388a83ba7eee196151d270eff3846b984b7763678e73a560dd366737" }, "downloads": -1, "filename": "tiddlywebplugins.ldapauth-0.1.1.tar.gz", "has_sig": false, "md5_digest": "969e621c65ec4793ddf66a98377db3fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5851, "upload_time": "2013-06-06T07:26:57", "url": "https://files.pythonhosted.org/packages/9e/05/73e1eb15519555369027b50e9c23b893475a0cdbbf0f38ce4ab0c55ede9d/tiddlywebplugins.ldapauth-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "969e621c65ec4793ddf66a98377db3fb", "sha256": "78b3ea35388a83ba7eee196151d270eff3846b984b7763678e73a560dd366737" }, "downloads": -1, "filename": "tiddlywebplugins.ldapauth-0.1.1.tar.gz", "has_sig": false, "md5_digest": "969e621c65ec4793ddf66a98377db3fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5851, "upload_time": "2013-06-06T07:26:57", "url": "https://files.pythonhosted.org/packages/9e/05/73e1eb15519555369027b50e9c23b893475a0cdbbf0f38ce4ab0c55ede9d/tiddlywebplugins.ldapauth-0.1.1.tar.gz" } ] }