Bug 42659 - dhcp range: enforce low-address <= high-address
dhcp range: enforce low-address <= high-address
Status: CLOSED DUPLICATE of bug 36648
Product: UCS
Classification: Unclassified
Component: UMC - DHCP
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-12 10:43 CEST by Philipp Hahn
Modified: 2016-11-01 10:58 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-10-12 10:43:28 CEST
univention-install univention-dhcp
DN1 () { sed -ne 's/^DN: //p;T;q';}
service="$(udm dhcp/service list|DN1)"
subnet="$(udm dhcp/subnet list --superordinate "$service"|DN1)"
net="$(udm dhcp/subnet list --superordinate "$service"|sed -ne 's/^  subnet: //;T;s/\.[0-9]*$//p;q')"
udm dhcp/subnet modify --dn "$subnet" --append range="$net.254 $net.2"

dhcpd doesn't complain, but the range is actually empty. UMC should detect this and warn <admin/handlers/dhcp/subnet.py#_ldap_modlist>.
BTW: high-address is optional.
Comment 1 Philipp Hahn univentionstaff 2016-10-31 13:56:49 CET

*** This bug has been marked as a duplicate of bug 36648 ***
Comment 2 Florian Best univentionstaff 2016-11-01 10:58:55 CET
OK: duplicate