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

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