Das Problem wurde aus Bug #25387 extrahiert: 2. Wird kein "Shared Subnet" angelegt, stürzt der DHCPd ab, da dessen Konfiguration damit ungültig ist: /var/log/daemon.log Dec 9 02:52:26 backup33 dhcpd: LDAP line 11: empty shared-network decl Dec 9 02:52:26 backup33 dhcpd: } Dec 9 02:52:26 backup33 dhcpd: ^ Dec 9 02:52:26 backup33 dhcpd: LDAP: cannot parse dhcpService entry 'cn=phahn.qa,cn=dhcp,dc=phahn,dc=qa' Dec 9 02:52:26 backup33 dhcpd: Configuration file errors encountered -- exiting
Still valid?
Yes, still in UCS-4.4 univention-install univention-dhcp udm dhcp/shared create --position "$(udm dhcp/service list|sed -ne 's/^DN: //p;T;q')" --set name=bug26258 systemctl restart isc-dhcp-server.service > LDAP line 3: empty shared-network decl > } > ^ ucr set dhcpd/ldap/debug=yes # Bug #49281 cat /var/log/dhcp-ldap-startup.log > #DHCP Service > shared-network "bug26258" { > } ... This is an upstream bug in server/ldap.c:2387 ldap_generate_config_string(), where oc:dhcpSharedNetwork is parsed and emitted by ldap_parse_shared_network() even when it does not contain at least one required oc:dhcpSubnet.
This issue has been filed against UCS 4.4. UCS 4.4 is out of general maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.