LDAP Wrapper for Python
This module provides an LDAP API to Python in the spirit of RFC1823.
Some cool things people have done with ldapmodule
* LANL phone book (source)
* Michael Stroeder's web2ldap (previously ldap-client-cgi.py).
* LDAP support for Zope (see also Zope)
WWW: http://www.python-ldap.org/
===> The following configuration options are available for py27-ldap2-2.4.19:
SASL=off: SASL authentication support
===> Use 'make config' to modify these settings
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD
databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip
databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample
(Only the first 15 lines of the commit message are shown above )
- update to 2.4.13
- turn WITH_SASL into an OPTION
changelog:
* ldapobject.ReconnectLDAPObject._apply_last_bind() now sends
anonymous simple bind request even if the calling application
did not to provoke ldap.SERVER_DOWN in method reconnect()
* ldapobject.ReconnectLDAPObject.reconnect() now also catches
ldap.TIMEOUT exception after reconnection attempt
* Several other fixes for ldapobject.ReconnectLDAPObject
(thanks to Jonathan Giannuzzi)
Update to 2.4.1;
Add dependency on devel/py-asn1-modules (required for
ldap.controls.sessiontrack)
PR: ports/158701
Submitted by: Ruslan Mahmatkhanov <cvs-src yandex.ru>
Update to 2.3.9.
Changes since 2.3.8:
Lib/
* All modules (ldap, ldif, dsml and ldapurl) have common version number now
* Non-exported function ldif.needs_base64() was abandoned and is now
implemented as method LDIFWriter._needs_base64_encoding().
This allows sub-classes of LDIFWriter to implement determining whether
attribute values have to be base64-encoded in a different manner and is
the same approach like in class dsml.DSMLWriter.
* LDAPUrlExtension._parse() now gracefully handles LDAP URL extensions
without explicit exvalue as being set with implicit value None.
Modules/
* New LDAP option constant ldap.OPT_X_SASL_NOCANON supported
in LDAPObject.get/set_option()
Submitted by: bsam
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
Correct path for the sasl includes, to fix build for WITH_SASL case.
Submitted by: Boris B. Samorodov <bsam ipt ru>
PR: ports/97474
Approved by: sem (mentor)
- Update to 2.0.11
- Do not depend on OpenLDAP 2.2, this port works fine with 2.3.x series.
- Reorganize REPLACE_ARGS
PR: ports/94725
Submitted by: delphij
Approved by: maintainer timeout (2 weeks)
The version of web2ldap in ports/www/web2ldap is incompatible with the
revision of the python ldap bindings in ports (in net/py-ldap2)
because some of the function interfaces have changed.
Update to 2.0.0pre04
Additional fixes in pkg-plist
PR: 38423
Submitted by: jdunn@verticalscope.com