./databases/py-ldap, LDAP client API for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.3.1, Package name: py39-ldap-3.3.1, Maintainer: pkgsrc-users

Provide an LDAP client API for Python in the spirit of RFC1823.

* C wrapper module around OpenLDAP
* an object-oriented API for X.500 directories


Required to run:
[databases/openldap-client] [security/cyrus-sasl] [security/openssl] [devel/py-setuptools] [security/py-asn1] [security/py-asn1-modules] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: c0ee3c8a6a9d998538fdde8a92d18e3c0286f560
Filesize: 370.908 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2021-01-14 12:41:03 by Nia Alarie | Files touched by this commit (1)
Log message:
py-ldap: Force pkgsrc version on NetBSD where version detection fails

PR pkg/55902
   2021-01-13 10:55:42 by Nia Alarie | Files touched by this commit (1)
Log message:
py-ldap: Require a version of openldap-client that has openldap.h

Might help with PR pkg/55902.
   2020-07-07 07:29:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap: updated to 3.3.1

Changes 3.3.1:
* On MacOS, remove option to make LDAP connections from a file descriptor
  when built wit the system libldap (which lacks the underlying function,
  ``ldap_init_fd``)
   2020-06-18 18:58:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ldap: updated to 3.3.0

Release 3.3.0:

Highlights:
* ``LDAPError`` now contains additional fields, such as ctrls, result, msgid
* ``passwd_s`` can now extract the newly generated password
* LDAP connections can now be made from a file descriptor

This release is tested on Python 3.8, and the beta of Python 3.9.

The following undocumented functions are deprecated and scheduled for removal:
- ``ldap.cidict.strlist_intersection``
- ``ldap.cidict.strlist_minus``
- ``ldap.cidict.strlist_union``

Modules/
* Ensure ReconnectLDAPObject is not left in an inconsistent state after
  a reconnection timeout
* Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet
* Release GIL around global get/set option call
* Do not leak serverctrls in result functions
* Don't overallocate memory in attrs_from_List()
* Fix thread support check for Python 3
* With OpenLDAP 2.4.48, use the new header openldap.h

Lib/
* Fix some edge cases regarding quoting in the schema tokenizer
* Fix escaping a single space in ldap.escape_dn_chars
* Fix string formatting in ldap.compare_ext_s
* Prefer iterating dict instead of calling dict.keys()

Doc/
* Clarify the relationship between initialize() and LDAPObject()
* Improve documentation of TLS options
* Update FAQ to include Samba AD-DC error message
  "Operation unavailable without authentication"
* Fix several incorrect examples and demos
  (but note that these are not yet tested)
* Update Debian installation instructions for Debian Buster
* Typo fixes in docs and docstrings

Test/
* Test and document error cases in ldap.compare_s
* Test if reconnection is done after connection loss
* Make test certificates valid for the far future
* Use slapd -Tt instead of slaptest

Infrastructure:
* Mark the LICENCE file as a license for setuptools
* Use "unittest discover" rather than "setup.py test" to run \ 
tests
   2020-03-27 17:34:58 by David H. Gutteridge | Files touched by this commit (3)
Log message:
py-ldap: add build fixes

This package requires cyrus-sasl to build. Separately, it had a test(1)
invocation that's non-portable.
   2020-01-18 22:51:16 by Jonathan Perkin | Files touched by this commit (1836)
Log message:
*: Recursive revision bump for openssl 1.1.1.
   2019-04-09 13:51:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap: updated to 3.2.0

Release 3.2.0:

Lib/
* Add support for X-ORIGIN in ldap.schema's ObjectClass
* Make initialize() pass extra keyword arguments to LDAPObject
* ldap.controls.sss: use str instead of basestring on Python 3
* Provide ldap._trace_* atributes in non-debug mode

Doc/
* Fix ReST syntax for links to set_option and get_option

Tests/
* Use intersphinx to link to Python documentation
* Correct type of some attribute values to bytes
* Use system-specific ENOTCONN value

Infrastructure:
* Add testing and document support for Python 3.7
* Add Python 3.8-dev to Tox and CI configuration
* Add Doc/requirements.txt for building on Read the Docs