--- a/usr/lib/univention-install/97univention-s4-connector.inst 2011-12-01 17:14:05.000000000 +0100 +++ b/usr/lib/univention-install/97univention-s4-connector.inst 2012-01-31 16:02:09.000000000 +0100 @@ -50,7 +50,9 @@ connector/s4/ldap/protocol?ldapi \ connector/s4/ldap/socket?/var/lib/samba/private/ldap_priv/ldapi -s4connectorservicehost_dns="$(univention-directory-manager computers/computer list "$@" --filter "(&(univentionService=${NAME})(!(cn=$hostname)))" | sed -ne 's|^DN: ||p')" +if ! is_ucr_true 'connector/s4/allow/secondary'; then + s4connectorservicehost_dns="$(univention-directory-manager computers/computer list "$@" --filter "(&(univentionService=${NAME})(!(cn=$hostname)))" | sed -ne 's|^DN: ||p')" +fi if [ -n "$s4connectorservicehost_dns" ]; then ## there already is a system providing this service