openbsd-ports/databases/py-ldap/pkg/DESCR
sturm 5564337ce6 Initial import of py-ldap 2.0.0pre14
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

WWW: http://python-ldap.sourceforge.net/

from Marc Balmer <marc@msys.ch>
2003-11-01 15:24:06 +00:00

16 lines
511 B
Plaintext

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=*")