Do not force named connections on upgrades

We used to set connections argument for bind-dyndb-ldap even when
the attribute was not in named.conf. This is not necessary as
the bind-dyndb-ldap plugin chooses a sane default instead of us.
This commit is contained in:
Martin Kosek authored and Rob Crittenden committed 2013-03-14 10:50:24 -04:00
1 parent 7a2d3804af
commit c4ab8dae35
1 file changed
+1 -1
+1 -1
View File
@@ -383,7 +383,7 @@ def named_enable_psearch():
# "connections" option, bail out
pass
else:
if connections is None or connections < minimum_connections:
if connections is not None and connections < minimum_connections:
try:
bindinstance.named_conf_set_directive('connections',
minimum_connections)