• Joined on 2026-06-06
ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 20:17:51 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

done. it has its own three tests now and is mocked in the build_* tests. I kept one test per builder with the mock returning ('-d', '256'), just so the splat into the command stays pinned.

ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 20:13:05 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

done. Three of them stub it out; in the skip test it's a .never(), since that path returns before the builder is reached.

ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 20:11:53 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

Checked the manual for this (slapd-config(5)): the root is hardcoded to cn=config with cn=Schema under it, so schema is in the dump…

ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 20:08:51 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

I added it to the involved example, right after sqlite_databases , that hook is local-only too, so a local hook in that block has precedent. Used cn=config plus a data suffix, since that's the…

ebuzerdrmz44 pushed to openldap-hook at ebuzerdrmz44/borgmatic 2026-09-07 20:06:58 +00:00
2324556229 more code review fixes for the openldap database hook
ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 12:02:48 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

I guess jsonschema can't attach a custom message to not, so a better one means checking it in apply_logical_validation(), which puts LDAP knowledge in config/validate.py. Your call. Happy to…

ebuzerdrmz44 commented on pull request borgmatic-collective/borgmatic#1346 2026-09-07 11:56:41 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).

Added, modeled on repo_create.py. There's a make_debug_flags() helper now, and both command builders splat it in:

ebuzerdrmz44 pushed to openldap-hook at ebuzerdrmz44/borgmatic 2026-09-07 11:52:40 +00:00
b2d97c27ef code review fixes for the openldap database hook
ebuzerdrmz44 pushed to openldap-hook at ebuzerdrmz44/borgmatic 2026-09-04 01:14:08 +00:00
d46a664955 Update NEWS
ebuzerdrmz44 created pull request borgmatic-collective/borgmatic#1346 2026-09-04 01:12:57 +00:00
Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).
ebuzerdrmz44 pushed to openldap-hook at ebuzerdrmz44/borgmatic 2026-09-04 01:12:03 +00:00
b8f1ff23b8 Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).
ebuzerdrmz44 created branch openldap-hook in ebuzerdrmz44/borgmatic 2026-09-04 00:48:55 +00:00
ebuzerdrmz44 pushed to openldap-hook at ebuzerdrmz44/borgmatic 2026-09-04 00:48:55 +00:00
4cf78d7e34 Add an OpenLDAP database hook for dumping and restoring OpenLDAP databases with slapcat and slapadd (#1137).
ebuzerdrmz44 commented on issue borgmatic-collective/borgmatic#1137 2026-09-02 12:37:07 +00:00
Add database dump hook support for OpenLDAP

Thanks, this unblocks most of it. I agree with the four precedent items, and with local only.

ebuzerdrmz44 commented on issue borgmatic-collective/borgmatic#1137 2026-09-01 22:23:11 +00:00
Add database dump hook support for OpenLDAP

Root slapcat/slapadd break file ownership

ebuzerdrmz44 commented on issue borgmatic-collective/borgmatic#1137 2026-08-31 18:21:07 +00:00
Add database dump hook support for OpenLDAP

Hi Dan , thank you for helping me picking up this as a GSoC project.

ebuzerdrmz44 created repository ebuzerdrmz44/borgmatic 2026-08-31 14:37:23 +00:00