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 2013-03-13 10:55:48 +01:00 committed by Rob Crittenden
parent 7a2d3804af
commit c4ab8dae35

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)