Commit Graph

37 Commits

Author SHA1 Message Date
Benjamin Dauvergne 491fd26df5 run pre-commit hooks (#86510)
Remove isort which seem incompatible with ruff.
2024-02-07 12:58:19 +01:00
Benjamin Dauvergne 92f622d9c4 ci: add pre-commit hooks 2024-02-03 14:59:05 +01:00
Paul Marillonnet 7511765128 slapd: drop hdb backend (#63945)
as it is no longer part of openldap>=2.5, see the release note
    https://www.openldap.org/doc/admin25/appendix-changes.html
2022-04-14 17:49:15 +02:00
Benjamin Dauvergne 58759b3e78 misc: close file descriptors in clean() 2020-04-25 09:28:49 +02:00
Benjamin Dauvergne 72c488b4c7 misc: do not use create_process() for slapadd 2020-04-25 09:27:58 +02:00
Benjamin Dauvergne a76ad19afe misc: fix bytes-mode warning from python-ldap 2020-04-25 09:27:13 +02:00
Benjamin Dauvergne bc6424cbbd misc: do not leak file descriptors 2020-04-25 08:55:15 +02:00
Benjamin Dauvergne 6fcf32fabe py3: fix conversion of text to bytes in LDIF parser 2019-03-15 00:19:04 +01:00
Benjamin Dauvergne 50da2340fb slapd: stop slapd if error occurs during __init__ 2019-03-14 22:00:26 +01:00
Benjamin Dauvergne 5c633dc55f slapd: quote unix socket path in ldap:// URL 2019-03-14 22:00:26 +01:00
Paul Marillonnet 7d8c8e9429 add python3 compatibility (#29418) 2019-03-06 15:03:46 +01:00
Benjamin Dauvergne c3c0f1dcb7 slapd: add support for testing with TLS 2018-12-04 14:25:10 +01:00
Benjamin Dauvergne 9c475a9118 filter objectclass from sources, keep only known ones 2016-09-05 13:59:41 +02:00
Benjamin Dauvergne 43b76b2ab3 improve PEP8ness 2016-09-05 13:59:16 +02:00
Benjamin Dauvergne 5bb324180c report dn in errors from get_pivot_attribute() 2016-09-05 13:58:08 +02:00
Benjamin Dauvergne d3236aacff modify ldif fragment to conform to grammar in python-ldap 2.4.26 2016-07-25 15:54:51 +02:00
Benjamin Dauvergne df374f9b0a slapd: fix default olcAccess 2016-06-24 12:44:55 +02:00
Benjamin Dauvergne 7325e9821a limit synchronization to records of targeted objectclasses 2016-05-23 16:12:23 +02:00
Benjamin Dauvergne 8ac3094cc2 add __eq__ and __ne__ operator to idict 2016-05-23 15:54:39 +02:00
Benjamin Dauvergne a7a316b6a3 when stopping wait for real stopping of the daemon 2016-04-26 00:27:23 +02:00
Benjamin Dauvergne 957d55d3aa remove debugging statement 2016-03-23 16:14:34 +01:00
Benjamin Dauvergne 19922faaf8 redirect all fd of slapd instances to /dev/null 2016-03-18 14:23:01 +01:00
Benjamin Dauvergne 4adfa74fac add an integer db parameter to slapadd 2016-03-18 14:22:22 +01:00
Benjamin Dauvergne 6fa48fbeb5 report entry dn when an error occur in ListLDIFParser.add() 2016-03-18 14:20:12 +01:00
Benjamin Dauvergne 6333c06f92 paged: fix paged search when the response contains no paged result extended control 2016-03-02 13:27:45 +01:00
Benjamin Dauvergne aaca0125ba improve display of actions and errors 2016-02-19 16:32:36 +01:00
Benjamin Dauvergne 3f7c3376b0 lowercase attributes in dn of LDIF sources 2016-02-19 16:32:36 +01:00
Benjamin Dauvergne 7feabe70e7 fix bug when removing attributes from source outside the permitted attributes 2016-02-19 16:30:27 +01:00
Benjamin Dauvergne 6e0e7a360e allow specifying case insensitive attributes for compare 2016-02-19 16:30:27 +01:00
Benjamin Dauvergne 9797c45ead ldapsync: add a --source-filter parameter 2016-02-17 18:00:43 +01:00
Benjamin Dauvergne d3d8d3e8f5 add empty attribute to new entry if attribute is present in target entry 2016-02-16 16:05:58 +01:00
Benjamin Dauvergne 3ea1ac3263 remove attributes outside of the specified attributes from source entries 2016-02-16 16:04:37 +01:00
Benjamin Dauvergne 588b948046 return an empty list of target base DN does no exist 2016-02-16 16:03:40 +01:00
Benjamin Dauvergne a0d4d7b871 convert attribute names to istr 2016-02-16 16:03:23 +01:00
Benjamin Dauvergne b2851b32b6 fix typo 2016-02-16 16:01:42 +01:00
Benjamin Dauvergne 09a115b37e remove debugging print 2016-02-16 11:14:52 +01:00
Benjamin Dauvergne 2c30289acf initial release 2016-02-16 01:19:55 +01:00