SHA256
1
0
forked from pool/python-ldap

64 Commits

Author SHA256 Message Date
3a887b6307 - update to 3.4.4:
* Reconnect race condition in ReconnectLDAPObject is now fixed
  * Socket ownership is now claimed once we've passed it to
    libldap LDAP_set_option string formats are now compatible
    with Python 3.12
- use sasl2
- LDAP_FILT_MAXSIZ isn't defined in libldap anymore
- changed for openldap2
- fixed neededforbuild (added ldaplib)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=135
2023-12-14 21:15:27 +00:00
3e12ce9b0a Accepting request 1103789 from home:firstyear:branches:devel:languages:python
- Re-run source download due to file differences.

OBS-URL: https://build.opensuse.org/request/show/1103789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=133
2023-08-14 11:57:35 +00:00
09c6155ffd Accepting request 1003980 from home:firstyear:branches:devel:languages:python
- up to upstream release 3.4.3
  This is a minor release to bring back the removed OPT_X_TLS option.
  Please note, it's still a deprecated option and it will be removed in 3.5.0.
  The following deprecated option has been brought back:
  * OPT_X_TLS
  * Fixes:
  - Sphinx documentation is now successfully built
  _ pypy3 tests stability was improved
  _ setup.py deprecation warning is now resolved

OBS-URL: https://build.opensuse.org/request/show/1003980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=131
2022-09-16 08:30:58 +00:00
d8ffa4dd30 Accepting request 990896 from home:stroeder:branches:devel:languages:python
- update to upstream release 3.4.2
  minor release to provide out-of-the-box compatibility with the merge
  of libldap and libldap_r that happened with OpenLDAP's 2.5 release.

OBS-URL: https://build.opensuse.org/request/show/990896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=129
2022-07-25 15:57:22 +00:00
cd8ff01dfa Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=127
2022-03-17 18:28:21 +00:00
16c8daa6ef Accepting request 939167 from home:stroeder:iam
- skip Python 2 builds
- set PATH when running tests
- update to upstream release 3.4.0
  * Security fixes:
    - Fix inefficient regular expression which allows denial-of-service attacks
    - when parsing specially-crafted LDAP schema.
    - (GHSL-2021-117)
  * Changes:
    - On MacOS, remove option to make LDAP connections from a file descriptor
    - when built with the system libldap (which lacks the underlying function,
    - ldap_init_fd)
    - Attribute values of the post read control are now bytes
    - instead of ISO8859-1 decoded str
    - LDAPUrl now treats urlscheme as case-insensitive
    - Several OpenLDAP options are now supported:
        - OPT_X_TLS_REQUIRE_SAN
        - OPT_X_SASL_SSF_EXTERNAL
        - OPT_X_TLS_PEERCERT
  * Fixes:
    - The copy() method of cidict was added back. It was unintentionally
    - removed in 3.3.0
    - Fixed getting/setting SASL options on big endian platforms
    - Unknown LDAP result code are now converted to LDAPexception,
    - rather than raising a SystemError.
  * slapdtest:
    - Show stderr of slapd -Ttest
    - SlapdObject uses directory-based configuration of slapd
    - SlapdObject startup is now faster

OBS-URL: https://build.opensuse.org/request/show/939167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=126
2021-12-10 19:21:11 +00:00
eea80aba69 Accepting request 918915 from home:pgajdos:python
- %check: use %pyunittest_arch rpm macro

OBS-URL: https://build.opensuse.org/request/show/918915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=125
2021-09-14 15:17:06 +00:00
Tomáš Chvátal
27d629b472 Accepting request 838140 from home:firstyear:branches:devel:languages:python
- update to upstream release 3.3.1:
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

OBS-URL: https://build.opensuse.org/request/show/838140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=123
2020-09-28 06:36:33 +00:00
Tomáš Chvátal
16f23de5ca - Reduce the runtime dependencies to match the actual needs
* User can use either openldap or 389-ds or anything else
- Run the tests on the package
- Fix the fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=121
2018-12-10 12:24:48 +00:00
Tomáš Chvátal
9241d70d2d - Do not add version dependency to devel requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=119
2018-12-07 09:20:41 +00:00
Tomáš Chvátal
75759d82db - Add this package to SLE wrt fate#325747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=118
2018-12-07 09:20:23 +00:00
Tomáš Chvátal
764204f70b - Require openldap2-client as some of the binaries are called
on the runtime

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=115
2018-08-14 07:01:27 +00:00
Tomáš Chvátal
0a0d889f13 - update to upstream release 3.1.0:
* Long-deprecated functions `ldap.open()` and `ldap.init()` are removed
  * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1
  * Tons of changes see CHANGES file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=113
2018-08-08 11:47:38 +00:00
Tomáš Chvátal
9e7a346d1d Accepting request 627947 from home:stroeder:branches:devel:languages:python
- update to upstream release 3.1.0

OBS-URL: https://build.opensuse.org/request/show/627947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=112
2018-08-08 11:41:40 +00:00
Tomáš Chvátal
c398cdfacb Accepting request 567662 from home:bergmannf:branches:devel:languages:python
Reworked changes file to be more concise.

OBS-URL: https://build.opensuse.org/request/show/567662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=110
2018-01-19 12:11:12 +00:00
233d43305a Accepting request 543962 from home:stroeder:branches:devel:languages:python
update to upstream release 2.5.2

OBS-URL: https://build.opensuse.org/request/show/543962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=108
2017-11-21 08:15:54 +00:00
Michael Ströder
873f202d40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=106 2017-11-12 17:49:32 +00:00
Michael Ströder
4167dd865d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=105 2017-11-12 17:49:22 +00:00
Michael Ströder
287565aa10 Accepting request 541096 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.5.1
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject

OBS-URL: https://build.opensuse.org/request/show/541096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=103
2017-11-12 17:41:56 +00:00
Michael Ströder
335dde0bb0 Accepting request 532813 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.45
  * fixed error handling

OBS-URL: https://build.opensuse.org/request/show/532813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=101
2017-10-09 15:16:04 +00:00
Michael Ströder
0a3fa17a6f Accepting request 522189 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.44
  * GIL fix

OBS-URL: https://build.opensuse.org/request/show/522189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=99
2017-09-07 22:24:58 +00:00
Michael Ströder
485b8ea52a Accepting request 521904 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.43
  * SASL bind fix

OBS-URL: https://build.opensuse.org/request/show/521904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=98
2017-09-07 08:00:08 +00:00
Michael Ströder
746d85b971 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=96 2017-09-04 13:23:51 +00:00
Michael Ströder
1d34cde0ed Accepting request 520611 from home:stroeder:branches:devel:languages:python
- update to upstream release 2.4.42

OBS-URL: https://build.opensuse.org/request/show/520611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=95
2017-09-04 09:01:35 +00:00
Michael Ströder
4d5b082bd9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=90 2017-07-12 18:07:29 +00:00
Michael Ströder
e746f18b2b Accepting request 506526 from home:stroeder:branches:devel:languages:python
update to upstream release 2.4.40

OBS-URL: https://build.opensuse.org/request/show/506526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=86
2017-06-27 18:43:17 +00:00
Michael Ströder
5228b54120 Accepting request 500226 from home:stroeder:branches:devel:languages:python
update to 2.4.39

OBS-URL: https://build.opensuse.org/request/show/500226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=84
2017-05-31 20:07:25 +00:00
Jan Matejek
b5b55938e4 - provide python2-ldap to support singlespec packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=83
2017-05-18 15:06:32 +00:00
Michael Ströder
909e658df7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=82 2017-04-28 09:06:49 +00:00
Michael Ströder
69d1169675 Accepting request 491443 from home:stroeder:branches:devel:languages:python
update to 2.4.37

OBS-URL: https://build.opensuse.org/request/show/491443
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=76
2017-04-27 08:50:05 +00:00
Michael Ströder
1a90320b6e Accepting request 455457 from home:stroeder:branches:devel:languages:python
update to 2.4.30 (needed for pyasn1 0.2.x)

OBS-URL: https://build.opensuse.org/request/show/455457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=74
2017-02-08 10:01:35 +00:00
Michael Ströder
ba3b5394fa Accepting request 452486 from home:stroeder:branches:devel:languages:python
update to 2.4.29

OBS-URL: https://build.opensuse.org/request/show/452486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=72
2017-01-25 20:14:59 +00:00
Michael Ströder
95d18268f5 Accepting request 440799 from home:stroeder:branches:devel:languages:python
update to 2.4.28 (tested)

OBS-URL: https://build.opensuse.org/request/show/440799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=70
2016-11-18 07:36:22 +00:00
Michael Ströder
6f189e9bb5 Accepting request 416375 from home:stroeder:branches:devel:languages:python
update to 2.4.27

OBS-URL: https://build.opensuse.org/request/show/416375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=69
2016-08-01 10:52:00 +00:00
Michael Ströder
f40f76510c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=68 2016-07-24 16:45:22 +00:00
Michael Ströder
c19a53360e Accepting request 414895 from home:stroeder:branches:devel:languages:python
update to 2.4.26

OBS-URL: https://build.opensuse.org/request/show/414895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=66
2016-07-24 16:39:37 +00:00
Michael Ströder
0a394c64f0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=65 2016-02-23 10:33:40 +00:00
Michael Ströder
0fdf049ea5 Accepting request 358760 from home:stroeder:branches:devel:languages:python
removed obsolete stuff

OBS-URL: https://build.opensuse.org/request/show/358760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=62
2016-02-10 17:20:20 +00:00
Michael Ströder
35e9e8a181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=60 2016-01-18 21:28:34 +00:00
Michael Ströder
97338eafa7 Accepting request 354621 from home:stroeder:branches:devel:languages:python
update to 2.4.25

OBS-URL: https://build.opensuse.org/request/show/354621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=59
2016-01-18 15:26:21 +00:00
Michael Ströder
7a3c13711d Accepting request 354389 from home:stroeder:branches:devel:languages:python
update to 2.4.23

OBS-URL: https://build.opensuse.org/request/show/354389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=58
2016-01-17 15:29:20 +00:00
Michael Ströder
11a229b890 Accepting request 340767 from home:stroeder:branches:devel:languages:python
update to 2.4.22 (successfully tested)

OBS-URL: https://build.opensuse.org/request/show/340767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=56
2015-10-24 16:40:16 +00:00
Michael Ströder
5e0847df9c Accepting request 333792 from home:stroeder:branches:devel:languages:python
update to 2.4.21

OBS-URL: https://build.opensuse.org/request/show/333792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=54
2015-09-25 16:46:34 +00:00
Michael Ströder
c6b5f502a0 Accepting request 315477 from home:stroeder:branches:devel:languages:python
update to 2.4.20, tested (with web2ldap) on Tumbleweed x86_64

OBS-URL: https://build.opensuse.org/request/show/315477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=52
2015-07-07 13:40:45 +00:00
Michael Ströder
de2d110296 Accepting request 280783 from home:stroeder:branches:devel:languages:python
Update to upstream release 2.4.19

OBS-URL: https://build.opensuse.org/request/show/280783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=50
2015-01-11 13:32:08 +00:00
Michael Ströder
36612cc0cb OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=48 2014-10-09 08:26:30 +00:00
Michael Ströder
f7c7a8559f Accepting request 252584 from home:stroeder:branches:devel:languages:python
Update to upstream release 2.4.17

OBS-URL: https://build.opensuse.org/request/show/252584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=45
2014-09-27 10:11:45 +00:00
Michael Ströder
b68e6f3934 Accepting request 248354 from home:stroeder:branches:devel:languages:python
Update to new upstream release 2.4.16

OBS-URL: https://build.opensuse.org/request/show/248354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=43
2014-09-10 13:51:02 +00:00
Sascha Peilicke
19a8de9ff6 - Set license ot Python-2.0 (according to legal)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=41
2014-03-28 13:50:51 +00:00
Michael Ströder
86f4947e7f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=38 2014-03-24 10:29:22 +00:00