https://bugs.openldap.org/show_bug.cgi?id=10501
Issue ID: 10501 Summary: slapadd should ignore SLAP_AT_DYNAMIC attributes from input Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
We say a backup should be done with slapcat (preferably) or `ldapsearch -MM '*' +`, but the latter will include attributes that should never be stored. Admins don't always know which those are and then they pollute the DB copy if present.
slapadd should just silently skip them on load.
https://bugs.openldap.org/show_bug.cgi?id=10501
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS Assignee|bugs@openldap.org |ondra@mistotebe.net
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/875
https://bugs.openldap.org/show_bug.cgi?id=10501
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.6.14
https://bugs.openldap.org/show_bug.cgi?id=10501
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |TEST
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 382711fe by Ondřej Kuzník at 2026-05-11T10:43:33+01:00 ITS#10501 slapadd: Skip dynamic attributes
RE26:
• be3bde6a by Ondřej Kuzník at 2026-05-15T15:22:18+00:00 ITS#10501 slapadd: Skip dynamic attributes