{"id":26483570,"url":"https://github.com/python-ldap/python-slapd","last_synced_at":"2025-03-20T04:56:10.278Z","repository":{"id":45959728,"uuid":"313991153","full_name":"python-ldap/python-slapd","owner":"python-ldap","description":"Controls a slapd process in a pythonic way","archived":false,"fork":false,"pushed_at":"2023-10-01T10:12:55.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-11T00:54:16.082Z","etag":null,"topics":["ldap","openldap","openldap-slapd","python","python-ldap","slapd"],"latest_commit_sha":null,"homepage":"https://slapd.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-ldap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-11-18T16:22:49.000Z","updated_at":"2021-11-24T11:51:17.000Z","dependencies_parsed_at":"2022-08-31T13:54:31.893Z","dependency_job_id":"a2d3b847-145e-4e63-8d4a-e42b6f5683e5","html_url":"https://github.com/python-ldap/python-slapd","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-ldap%2Fpython-slapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-ldap%2Fpython-slapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-ldap%2Fpython-slapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-ldap%2Fpython-slapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-ldap","download_url":"https://codeload.github.com/python-ldap/python-slapd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554073,"owners_count":20471173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ldap","openldap","openldap-slapd","python","python-ldap","slapd"],"created_at":"2025-03-20T04:56:09.837Z","updated_at":"2025-03-20T04:56:10.264Z","avatar_url":"https://github.com/python-ldap.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-slapd [![Documentation Status](https://readthedocs.org/projects/slapd/badge/?version=latest)](https://slapd.readthedocs.io/en/latest/?badge=latest)\nControls your OpenLDAP process in a pythonic way.\n\n```\npip install slapd\n```\n\n```python\n\u003e\u003e\u003e import slapd\n\u003e\u003e\u003e process = slapd.Slapd()\n\u003e\u003e\u003e process.start()\n\u003e\u003e\u003e process.init_tree()\n\u003e\u003e\u003e process.ldapwhoami().stdout.decode(\"utf-8\")\n'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\\n'\n\u003e\u003e\u003e process.stop()\n```\n\n# Troubleshooting\n\nOn distributions like Ubuntu, apparmor may restrict *slapd* to access some files that\n*python-slapd* has generated. This situation can be solved by passing slapd in complain mode:\n\n```bash\nsudo apt install --yes apparmor-utils\nsudo aa-complain /usr/sbin/slapd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-ldap%2Fpython-slapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-ldap%2Fpython-slapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-ldap%2Fpython-slapd/lists"}