{ "info": { "author": "Martin Gabelmann, Robin Roth", "author_email": "martin@gabelmann.biz", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" ], "description": "# LDAP User Script Toolkit\n\nA collection of python scripts that act as a wrapper/cli for the python-ldap library. There is an overall config file config.yml. The scripts have the following functionalities:\n\n * add/delete LDAP accounts,\n * create/archive user directories (and set quotas) belonging to these accounts on all fileservers according to the settings in the config.yml,\n * change email addresses in LDAP, GitLab and mailing list subscriptions\n * reset passwords\n * create/remove groups in ldap\n * add/remove users from LDAP groups\n\nAll scripts provide ``--help``, ``--verbose`` and ``--dryrun`` flags.\n\n# Install\n```\npip install ldapKIT\n```\n\n# User add/delete\n\nTo add/delete users, you can use the scripts: ``particleldapuseradd`` and ``particleldapuserdel -\u2013user NAME``. \nThere is also the functionality to search for users that are inactive for ``n`` days (inactive means: last password change older than ``m`` days) and delete them with ``particleldapuserdel \u2013-cleanup``. \nThe userdel script does not only remove the ldap user but is also able to run post-deletion tasks via ansible e.g. to backup user directories.\n \n# Group add/delete/modify\n\nThis is done via the tool ``particleldapgroup``. Usage:\n```bash\n# particleldapgroup --help\nusage: particleldapgroup [-h] [--verbose] [--dryrun]\n {create,delete,adduser,deluser,cleanup} ...\n\npositional arguments:\n {create,delete,adduser,deluser,cleanup}\n create create new group\n delete delete group\n adduser add users to group\n deluser remove users from group\n cleanup remove non-existant users from group\n\noptional arguments:\n -h, --help show this help message and exit\n --verbose, -v add more ouput\n --dryrun, -d don't write anything\n```\n\n\n# Changing E-Mail Addresses\n\nThere is the script ``particleldapchangeemail`` which changes the email of an user in its:\n\n * LDAP account,\n * GitLab account (which somehow does not update its database when an ldap account changes its email)\n * and removes/adds its old/new email to a configured mailing list.\n\n# Example configuration\nSee the [config.yml](./example/config.yml) for an example configuration which uses the full functionality. Also see the [userdir.yml](./example/userdir.yml) which is an ansible playbook invoked by ``particleldapuser{add,del}`` to create/archive user dirs on foregin file servers (set in the config.yml).\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/particleKIT/ldapKIT.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ldapKIT", "package_url": "https://pypi.org/project/ldapKIT/", "platform": "", "project_url": "https://pypi.org/project/ldapKIT/", "project_urls": { "Homepage": "https://github.com/particleKIT/ldapKIT.git" }, "release_url": "https://pypi.org/project/ldapKIT/1.4.4/", "requires_dist": [ "python_gitlab", "xkcdpass", "gnupg", "python_ldap", "PyYAML" ], "requires_python": "", "summary": "Collection of useful scripts for ldap based user management.", "version": "1.4.4" }, "last_serial": 5517785, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "3ef64e08e4f5e560e8196074e78e11e0", "sha256": "0ed1a5b5959c1772fc5c7e2b3fe89baf02bc0acf9f62dd67c88b3dfb8098a04e" }, "downloads": -1, "filename": "ldapKIT-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ef64e08e4f5e560e8196074e78e11e0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 80059, "upload_time": "2017-12-15T23:10:47", "url": "https://files.pythonhosted.org/packages/ce/34/d4f93d3cbd35854fe52b1dfd793f3b3d72470d4396e59da4576e94c77d78/ldapKIT-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04da508bc902e5fefe18b9183d04e838", "sha256": "674940fe1f358aa64729956d41618707af8e58c4c80e5976041a842bd24989b5" }, "downloads": -1, "filename": "ldapKIT-1.1.tar.gz", "has_sig": false, "md5_digest": "04da508bc902e5fefe18b9183d04e838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26110, "upload_time": "2017-12-15T23:10:51", "url": "https://files.pythonhosted.org/packages/19/dd/555f2ec2a6d18a73d2442e0c205497a5113115032edb36946531db350e57/ldapKIT-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "ae0a597b95652e451824119ef38cf2c1", "sha256": "e63c8002c56058ca0994beeda170cfba64ce5cc4ee32f4eb03f8bd90605b5ee3" }, "downloads": -1, "filename": "ldapKIT-1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ae0a597b95652e451824119ef38cf2c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 81137, "upload_time": "2017-12-15T23:16:51", "url": "https://files.pythonhosted.org/packages/fc/bc/0e8e0e56ab6775d9d3dd02aeba296b3c9aed2fa813af1003788beb0eefb1/ldapKIT-1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03a8423418d6c798c74a7148c08e264c", "sha256": "1447ec73e9aa8a43c08ce18bc1ac2de9b00872997cbdd0a415e1308813aa2756" }, "downloads": -1, "filename": "ldapKIT-1.2.tar.gz", "has_sig": false, "md5_digest": "03a8423418d6c798c74a7148c08e264c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26118, "upload_time": "2017-12-15T23:16:55", "url": "https://files.pythonhosted.org/packages/ab/c9/47fe10b1a0fa94e4d1c59ec796644182c95d81b90a3928c3b5796b374ee4/ldapKIT-1.2.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "007a721a0f8d1423d6e4406819270474", "sha256": "b6083ef5ef56c6f288f141ef1cd580297389227c8c55a66e35c37f60162e9104" }, "downloads": -1, "filename": "ldapKIT-1.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "007a721a0f8d1423d6e4406819270474", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 82047, "upload_time": "2018-12-07T12:15:48", "url": "https://files.pythonhosted.org/packages/b9/b3/b01adc6a78e9e93ad9eb7dd84609b594cb8fee3a8d6fc0ebc0d31e9f7532/ldapKIT-1.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8453661858d15d917e627d5788e17b44", "sha256": "50ae2d88962cac30ca71a020d5bed58ba8f22ae5521f98820be1184faf826289" }, "downloads": -1, "filename": "ldapKIT-1.4.1.tar.gz", "has_sig": false, "md5_digest": "8453661858d15d917e627d5788e17b44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26518, "upload_time": "2018-12-07T12:15:53", "url": "https://files.pythonhosted.org/packages/b5/e1/32ae2a1e9312936be2fadab25d043b0818c87637a3d72523d3b9a55fb754/ldapKIT-1.4.1.tar.gz" } ], "1.4.2": [ { "comment_text": "", "digests": { "md5": "95259b75d0ddcd79b274392242353b7a", "sha256": "0e4eedecf1b0e58625510d59c3f4ed757d0fa98f8fa7c30823aa43bfe9643775" }, "downloads": -1, "filename": "ldapKIT-1.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95259b75d0ddcd79b274392242353b7a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 82356, "upload_time": "2019-07-11T10:12:31", "url": "https://files.pythonhosted.org/packages/84/41/22809082cdf8e0f844c2e8ff74baf7c9b5f4d3c4be937f753d31d937f56e/ldapKIT-1.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8cfe60f5fabd42ba24ad94a5ff42954", "sha256": "778d576dd226e6eeabfa14bb85843253b5bd9f735cc6916b64742472a41811dc" }, "downloads": -1, "filename": "ldapKIT-1.4.2.tar.gz", "has_sig": false, "md5_digest": "b8cfe60f5fabd42ba24ad94a5ff42954", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26538, "upload_time": "2019-07-11T10:12:34", "url": "https://files.pythonhosted.org/packages/96/70/549ceebc5c947dfd6bf6b287845a26dc5a0e9a285097e432b7d473b6b512/ldapKIT-1.4.2.tar.gz" } ], "1.4.3": [ { "comment_text": "", "digests": { "md5": "41cbd5dba00d419387bb300c3b3396c8", "sha256": "294ce6753c8d6f229bff1f449aa44a2b6a1819ab45da58d8b3ae6e186820da9a" }, "downloads": -1, "filename": "ldapKIT-1.4.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "41cbd5dba00d419387bb300c3b3396c8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 82469, "upload_time": "2019-07-11T13:21:33", "url": "https://files.pythonhosted.org/packages/a0/35/0304feb8c0a8ef3511e6713a5cdfb21a3f540672f0a2bf5d08079828daf2/ldapKIT-1.4.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23dfcd7555e9ed2f5d8c9f72da0fdbee", "sha256": "77d083e658d2955e4fd4fb0b2199af4ef1b7ebf51954d1798bd4959ac7df3780" }, "downloads": -1, "filename": "ldapKIT-1.4.3.tar.gz", "has_sig": false, "md5_digest": "23dfcd7555e9ed2f5d8c9f72da0fdbee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26555, "upload_time": "2019-07-11T13:21:36", "url": "https://files.pythonhosted.org/packages/71/43/c3bf9092be1563749ae2cb2c15e16c6a3e9201d62bc25cd7ac6c023c21f5/ldapKIT-1.4.3.tar.gz" } ], "1.4.4": [ { "comment_text": "", "digests": { "md5": "6dd049c5cda3cbc42d781084fee721cd", "sha256": "f1a50a1be969713934868438c43d2dd736b126e5b125534da00cd6e88a5c310b" }, "downloads": -1, "filename": "ldapKIT-1.4.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6dd049c5cda3cbc42d781084fee721cd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 82741, "upload_time": "2019-07-11T13:43:40", "url": "https://files.pythonhosted.org/packages/25/8e/432016375f6279660c783aeed6733bbc9f38c715498194e995e32b23604c/ldapKIT-1.4.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d17d03da8de2edaa243e39ec50a65093", "sha256": "bde74935c9b9443092e1693d6501fc8501b4c540157daa8f7bac757503375164" }, "downloads": -1, "filename": "ldapKIT-1.4.4.tar.gz", "has_sig": false, "md5_digest": "d17d03da8de2edaa243e39ec50a65093", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26581, "upload_time": "2019-07-11T13:43:43", "url": "https://files.pythonhosted.org/packages/0f/cf/e5902bb017f9096745e82c4eba451154f7b11903da890acb34f85f6d34a4/ldapKIT-1.4.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6dd049c5cda3cbc42d781084fee721cd", "sha256": "f1a50a1be969713934868438c43d2dd736b126e5b125534da00cd6e88a5c310b" }, "downloads": -1, "filename": "ldapKIT-1.4.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6dd049c5cda3cbc42d781084fee721cd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 82741, "upload_time": "2019-07-11T13:43:40", "url": "https://files.pythonhosted.org/packages/25/8e/432016375f6279660c783aeed6733bbc9f38c715498194e995e32b23604c/ldapKIT-1.4.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d17d03da8de2edaa243e39ec50a65093", "sha256": "bde74935c9b9443092e1693d6501fc8501b4c540157daa8f7bac757503375164" }, "downloads": -1, "filename": "ldapKIT-1.4.4.tar.gz", "has_sig": false, "md5_digest": "d17d03da8de2edaa243e39ec50a65093", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26581, "upload_time": "2019-07-11T13:43:43", "url": "https://files.pythonhosted.org/packages/0f/cf/e5902bb017f9096745e82c4eba451154f7b11903da890acb34f85f6d34a4/ldapKIT-1.4.4.tar.gz" } ] }