Bug 16798 - ddns: Quoting von Domänennamen
ddns: Quoting von Domänennamen
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UCS maintainers
:
: 31040 43516 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-09 15:26 CET by Philipp Hahn
Modified: 2018-04-13 13:40 CEST (History)
3 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 Philipp Hahn univentionstaff 2009-12-09 15:26:57 CET
Die beiden Angaben "DDNS Domänenname" (ddns-domainname) und "DDNS Reverse Domänenname" (ddns-rev-domainname) funktionieren derzeit nur, wenn man die Domänennamen in doppelten Anführungszeichen angibt. Die Namen werden 1:1 an die dhcpd.conf weitergegeben, dort werden aber Zeichenketten mit Anführungszeichen erwartet.

dhcpd: object class univentionPolicyReference
dhcpd: Sending config line 'subnet 10.200.17.0 netmask 255.255.255.0 { ... ddns-domainname forward-ddns.univention.test.; ddns-rev-domainname reverse-ddns.univention.test.; ... } '
dhcpd: LDAP line 16: semicolon expected.
dhcpd: ddns-domainname forward-ddns.
dhcpd:                              ^
dhcpd: LDAP line 16: expecting a parameter or declaration
dhcpd: ddns-domainname forward-ddns.univention.test.;
dhcpd:                                              ^
Comment 1 Philipp Hahn univentionstaff 2010-08-25 23:48:20 CEST
Bezüglich "ddns-hostname", "ddns-domainname" und "ddns-rev-domainname" macht das fehlende Quoting sogar Sinn, denn man kann dort auch komplexere Ausdrücke zur Berechnung dieser Einstellungen benutzen, z.B.:
 ddns-hostname = concat ("dhcp-", binary-to-ascii (10, 8, "-", leased-address));
Von daher sollte das nur dokumentiert werden.
Comment 2 Philipp Hahn univentionstaff 2013-04-12 11:34:43 CEST
*** Bug 31040 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Gohmann univentionstaff 2013-04-15 07:19:13 CEST
(In reply to comment #1)
> Bezüglich "ddns-hostname", "ddns-domainname" und "ddns-rev-domainname" macht
> das fehlende Quoting sogar Sinn, denn man kann dort auch komplexere Ausdrücke
> zur Berechnung dieser Einstellungen benutzen, z.B.:
>  ddns-hostname = concat ("dhcp-", binary-to-ascii (10, 8, "-",
> leased-address));
> Von daher sollte das nur dokumentiert werden.

Solange das den DHCP Server zum Absturz bringt, sollten wir die Syntax anpassen. Wenn man komplexere Ausdrücke verwenden will, so kann die Syntax überschrieben werden.
Comment 4 Moritz Muehlenhoff univentionstaff 2013-05-31 10:43:01 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 5 Stefan Gohmann univentionstaff 2015-02-24 21:15:00 CET
This issue has been filed against UCS 2.3.

UCS 2.3 is out of maintenance and many UCS components have vastly changed in
later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug".
In this case please provide detailed information on how this issue is affecting
you.
Comment 6 Philipp Hahn univentionstaff 2017-02-08 13:58:14 CET
*** Bug 43516 has been marked as a duplicate of this bug. ***