Bug 24602 - In der DHCP-Lease-Richtlinie aus 3.0 fehlt die Standard-Lease-Zeit
In der DHCP-Lease-Richtlinie aus 3.0 fehlt die Standard-Lease-Zeit
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - DHCP
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0 - RC
Assigned To: Andreas Büsching
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-14 16:04 CET by Moritz Muehlenhoff
Modified: 2011-12-13 15:49 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Moritz Muehlenhoff univentionstaff 2011-11-14 16:04:29 CET
In der DHCP-Lease-Richtlinie aus 2.4 lassen sich drei Werte konfigurieren:

Standard Lease-Zeit
Maximale Lease-Zeit
Minimale Lease-Zeit

In 3.0 fehlt die Standard-Lease-Zeit.
Comment 1 Moritz Muehlenhoff univentionstaff 2011-11-14 16:06:23 CET
(In reply to comment #0)
> In der DHCP-Lease-Richtlinie aus 2.4 lassen sich drei Werte konfigurieren:
> 
> Standard Lease-Zeit
> Maximale Lease-Zeit
> Minimale Lease-Zeit
> 
> In 3.0 fehlt die Standard-Lease-Zeit.

Außerdem fehlen die Formatangaben, in 2.4 konnte man zwischen Sekunden, Minuten, Stunden und Tagen wählen, in 3.0 ist das ohne Wert angegeben.
Comment 2 Stefan Gohmann univentionstaff 2011-11-14 16:14:28 CET
Sollte zu 3.0 nochmal geprüft werden.
Comment 3 Stefan Gohmann univentionstaff 2011-11-15 22:54:35 CET
Die Standard Leasetime ist jetzt wieder da. Die Zeitauswahl gehört eher ins Frontend.
Comment 4 Andreas Büsching univentionstaff 2011-11-17 11:14:33 CET
(In reply to comment #3)
> Die Standard Leasetime ist jetzt wieder da. Die Zeitauswahl gehört eher ins
> Frontend.

Die Syntax wird jetzt unterstützt. betroffen sind folgende Module:


M      modules/univention/admin/handlers/settings/sambaconfig.py
M      modules/univention/admin/handlers/settings/sambadomain.py
M      modules/univention/admin/handlers/dns/alias.py
M      modules/univention/admin/handlers/dns/forward_zone.py
M      modules/univention/admin/handlers/dns/reverse_zone.py
M      modules/univention/admin/handlers/dns/srv_record.py
M      modules/univention/admin/handlers/dns/host_record.py
M      modules/univention/admin/handlers/dns/txt_record.py
M      modules/univention/admin/handlers/policies/dhcp_leasetime.py
Comment 5 Stefan Gohmann univentionstaff 2011-11-24 08:15:37 CET
Wird angezeigt und funktioniert, auch per CLI:

udm policies/dhcp_leasetime modify \
   --dn "cn=lease1,cn=leasetime,cn=dhcp,cn=policies,dc=deadlock6,dc=local" \
   --set lease_time_default="10 minutes"

univention-ldapsearch -x cn=lease1 -LLL univentionDhcpLeaseTimeDefault
dn: cn=lease1,cn=leasetime,cn=dhcp,cn=policies,dc=deadlock6,dc=local
univentionDhcpLeaseTimeDefault: 600
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:49:02 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"