15
0
forked from pool/python-ldap

66 Commits

Author SHA256 Message Date
58aa8f3f3a Accepting request 1289231 from home:glaubitz:branches:devel:languages:python
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1289231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=139
2025-06-30 12:57:58 +00:00
a6e2ecc31f Accepting request 1201622 from home:mcalabkova:branches:devel:languages:python:django
- Enable sle15_python_module_pythons (boo#1229549)

OBS-URL: https://build.opensuse.org/request/show/1201622
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=137
2024-09-17 13:11:46 +00:00
0ee29cba2e - 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
4bbb8f0328 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
cf13833966 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
12498bb69c 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
5253ee3ab8 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
752d953a34 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
e282293b96 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
246533b1c4 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
d155978421 - 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
4986d13f7c - 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
3c1eeb0869 - 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
d0efe8dc34 - 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
a7c643211b - 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
fac9e8ac0f 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
58f65a7410 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
2bbcf2c394 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
61d8b94364 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
9e26bbe32f 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
188ff9cd09 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
b4589e29e1 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
393f8a9b54 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
e25e01e549 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
7fa5a4d7f7 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
cf80f55cbe 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
4c32a76d09 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
c25b3582a3 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
fed8d23f32 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
78eb531617 - 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
ba2b0c4626 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
5d6fd22c90 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
26eb45ca84 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
5474983794 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
0c494cdac1 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
a7274d779c 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
63cb8cfb3e 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
70fab7cd47 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
7cd495d008 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
21f2aff79d 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
0feb4859fd 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
54cc7f902d 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
4de3a01b28 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
8262c5695d 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
78da8afeee 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
49eb5968c4 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
ec9fb262b8 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
6c2cc32f23 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
f028f5d124 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
cd898c122f 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