databases/py-ldap 3.4.8 OpenBSD
LDAP client API for Python
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
5100a7a76c- Categories
- databases, lang/python
Description
python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. Mainly it wraps the OpenLDAP 2.x libs for that purpose.
Additionally the package contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.).
Not included: Direct BER support
Quick usage example: import ldap l = ldap.open("my_ldap_server.my_domain") l.simple_bind_s("","") l.search_s("o=My Organisation, c=AU", ldap.SCOPE_SUBTREE, "objectclass=*")
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | databases/py-ldap | 3.4.8 |
| NetBSD | databases/py-ldap | 3.4.7 |
Install
Binary package:
pkg_add py3-ldap
From the ports tree:
cd /usr/ports/databases/py-ldap && make install
Dependencies
Build dependencies 6
Run dependencies 3
No port depends on this one.