Skip to main content

python-slapd Documentation Status

Controls your OpenLDAP process in a pythonic way.

pip install slapd
>>> import slapd
>>> process = slapd.Slapd()
>>> process.start()
>>> process.init_tree()
>>> process.ldapwhoami().stdout.decode("utf-8")
'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\n'
>>> process.stop()

Troubleshooting

On distributions like Ubuntu, apparmor may restrict slapd to access some files that python-slapd has generated. This situation can be solved by passing slapd in complain mode:

sudo apt install --yes apparmor-utils
sudo aa-complain /usr/sbin/slapd

Metadata

Release files for slapd 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slapd 0.1.6
File Size Uploaded Provenance Actions
slapd-0.1.6.tar.gz 21.6 kB Without provenance Details for slapd-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slapd 0.1.6
File Interpreter ABI Platform Actions
slapd-0.1.6-py3-none-any.whl Python 3 none any Details for slapd-0.1.6-py3-none-any.whl

Total release size: 49.0 kB

Release files / slapd-0.1.6.tar.gz

Download URL slapd-0.1.6.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a54cb7507b52144c43ae57f0cbf0df487cb4d7704c2b2cfee328fe92adbf8564
BLAKE2b-256 checksum
How to use checksums
c0d7c56f7f8831943e484f6c3463e182cc16e3c4c0e2643597bf53e54bec82b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Release files / slapd-0.1.6-py3-none-any.whl

Download URL slapd-0.1.6-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
387d2c904c88c39318cc8a23575458199b78396924b15d2f6298701c1d5970ca
BLAKE2b-256 checksum
How to use checksums
a328bc5fc773780b31b0f65fed94b0d16a163ab7e98c0b8f8b30e80a04cd3595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Security for slapd 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page