andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

Blame SOURCES/0008-Issue-4773-Enable-interval-feature-of-DNA-plugin.patch

6d0b66
From 40e9a4835a6e95f021a711a7c42ce0c1bddc5ba4 Mon Sep 17 00:00:00 2001
6d0b66
From: Mark Reynolds <mreynolds@redhat.com>
6d0b66
Date: Fri, 21 May 2021 13:09:12 -0400
6d0b66
Subject: [PATCH 08/12] Issue 4773 - Enable interval feature of DNA plugin
6d0b66
6d0b66
Description:  Enable the dormant interval feature in DNA plugin
6d0b66
6d0b66
relates: https://github.com/389ds/389-ds-base/issues/4773
6d0b66
6d0b66
Review by: mreynolds (one line commit rule)
6d0b66
---
6d0b66
 ldap/servers/plugins/dna/dna.c | 2 --
6d0b66
 1 file changed, 2 deletions(-)
6d0b66
6d0b66
diff --git a/ldap/servers/plugins/dna/dna.c b/ldap/servers/plugins/dna/dna.c
6d0b66
index bf6b74a99..928a3f54a 100644
6d0b66
--- a/ldap/servers/plugins/dna/dna.c
6d0b66
+++ b/ldap/servers/plugins/dna/dna.c
6d0b66
@@ -1023,7 +1023,6 @@ dna_parse_config_entry(Slapi_PBlock *pb, Slapi_Entry *e, int apply)
6d0b66
     /* Set the default interval to 1 */
6d0b66
     entry->interval = 1;
6d0b66
 
6d0b66
-#ifdef DNA_ENABLE_INTERVAL
6d0b66
     value = slapi_entry_attr_get_charptr(e, DNA_INTERVAL);
6d0b66
     if (value) {
6d0b66
         entry->interval = strtoull(value, 0, 0);
6d0b66
@@ -1032,7 +1031,6 @@ dna_parse_config_entry(Slapi_PBlock *pb, Slapi_Entry *e, int apply)
6d0b66
 
6d0b66
     slapi_log_err(SLAPI_LOG_CONFIG, DNA_PLUGIN_SUBSYSTEM,
6d0b66
                   "dna_parse_config_entry - %s [%" PRIu64 "]\n", DNA_INTERVAL, entry->interval);
6d0b66
-#endif
6d0b66
 
6d0b66
     value = slapi_entry_attr_get_charptr(e, DNA_GENERATE);
6d0b66
     if (value) {
6d0b66
-- 
6d0b66
2.26.3
6d0b66