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