Hello,

Deprecate configuration without persistent search.

https://fedorahosted.org/bind-dyndb-ldap/ticket/120

--
Petr^2 Spacek
From 316918a5b8ffec4f5db97cc0c44a9445b55e5d13 Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Tue, 28 May 2013 15:54:24 +0200
Subject: [PATCH] Deprecate configuration without persistent search.

https://fedorahosted.org/bind-dyndb-ldap/ticket/120

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/ldap_helper.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/ldap_helper.c b/src/ldap_helper.c
index 0de62025e67d466a5c656ce8a5d6b3042fadce67..424bc4b8afef924e92524ceca620e047380d70a4 100644
--- a/src/ldap_helper.c
+++ b/src/ldap_helper.c
@@ -386,6 +386,10 @@ validate_local_instance_settings(ldap_instance_t *inst, settings_set_t *set) {
 		/* watcher needs one and update_*() requests second connection */
 		CLEANUP_WITH(ISC_R_RANGE);
 	}
+	if (!psearch)
+		log_info("configuration without persistent search is deprecated "
+			 "and the support for zone_refresh will be removed "
+			 "in the future");
 
 	CHECK(setting_get_bool("serial_autoincrement", set, &serial_autoincrement));
 	if (serial_autoincrement && !psearch) {
-- 
1.7.11.7

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to