Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
O
OpenLDAP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Bugzilla
    • Bugzilla
  • Labels
  • Merge Requests 16
    • Merge Requests 16
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • openldap
  • OpenLDAP
  • Merge Requests
  • !197

Merged
Opened Oct 30, 2020 by Ondřej Kuzník@ondraOwner

ITS#9363 Zero out value on config delete

  • Overview 6
  • Commits 4
  • Pipelines 6
  • Changes 5

This lets back-config reset values for non-magic ARG_TYPES values to zero.

There are 89 cases of this across openldap+contrib, most of them are ok (default is 0/NULL or the value is a MUST), the following have a non-zero default and would be affected:

  • back-sql/ndb fields
  • index_substr_any_*
  • localSSF
  • sockbuf_max_incoming*
  • rtxnsize (in back-mdb)
  • sssvlv-maxkeys and sssvlv-maxperconn

All of the above could be fixed by adding a default parameter in the config table, maybe dropping the notify field there while we're at it, since it's never been implemented. That's what I intend to do here in the next version of this MR.

Edited Oct 30, 2020 by Ondřej Kuzník
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: openldap/openldap!197
Source branch: its9363