Bug 31040 - DDNS Policy leads to broken dhcp configuration
DDNS Policy leads to broken dhcp configuration
Status: RESOLVED DUPLICATE of bug 16798
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-12 11:05 CEST by Janis Meybohm
Modified: 2018-04-13 13:40 CEST (History)
1 user (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 Janis Meybohm univentionstaff 2013-04-12 11:05:22 CEST
Definition of a basic DDNS policy leads to a broken config an prevents dhcpd from starting:

# udm policies/dhcp_dnsupdate list

DN: cn=default-settings,cn=policies,dc=s4lish,dc=qa
ARG: None
  ddnsDomainname: s4lish.qa
  emptyAttributes: None
  ddnsUpdateStyle: ad-hoc
  clientUpdates: allow
  ddnsDoForwardUpdate: true
  ddnsHostname: None
  ddnsRevDomainname: None
  fixedAttributes: None
  name: default-settings
  ddnsUpdates: on
  prohibitedObjectClasses: None
  requiredObjectClasses: None
  updateStaticLeases: true


Apr 12 11:03:09 master dhcpd: LDAP line 7: semicolon expected.
Apr 12 11:03:09 master dhcpd: ddns-domainname s4lish.
Apr 12 11:03:09 master dhcpd:                        ^
Apr 12 11:03:09 master dhcpd: LDAP line 7: expecting a parameter or declaration
Apr 12 11:03:09 master dhcpd: ddns-domainname s4lish.qa;
Apr 12 11:03:09 master dhcpd:                           ^
Apr 12 11:03:09 master dhcpd: LDAP line 18: semicolon expected.
Apr 12 11:03:09 master dhcpd: ddns-domainname s4lish.
Apr 12 11:03:09 master dhcpd:                        ^
Apr 12 11:03:09 master dhcpd: LDAP line 18: expecting a parameter or declaration
Apr 12 11:03:09 master dhcpd: ddns-domainname s4lish.qa;
Apr 12 11:03:09 master dhcpd:                           ^
Apr 12 11:03:09 master dhcpd: LDAP: cannot parse dhcpService entry 'cn=s4lish.qa,cn=dhcp,dc=s4lish,dc=qa'
Apr 12 11:03:09 master dhcpd: Configuration file errors encountered -- exiting



# ucr search ^version
version/erratalevel: 0
version/patchlevel: 1
version/releasename: Findorff
version/security-patchlevel: <empty>
version/version: 3.1
Comment 1 Philipp Hahn univentionstaff 2013-04-12 11:34:43 CEST
Not a bug, but a feature of DHCPd: See Bug #16798 for details on why the ddnsDomainname must be quoted manually.

*** This bug has been marked as a duplicate of bug 16798 ***