Univention Bugzilla – Full Text Bug Listing |
Summary: | DHCP Hosts + DNS alias created without univentionObjectType | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - DHCP | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, schwardt |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.1-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=37504 https://forge.univention.org/bugzilla/show_bug.cgi?id=40839 |
||
What kind of report is it?: | Development Internal | 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): | Cleanup | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 38075 | ||
Attachments: | patch |
In Bug #37504 this has already been fixed for DNS pointer and host records. Also writing of ucs-test scripts were affected as they could not use the attribute. Applied this patch. univention-directory-manager-modules (11.0.3-36): r73171 | Bug #38073: add missing univentionObject object class univention-directory-manager-modules (12.0.4-2): r73159 | Bug #38073: add missing univentionObject object class OK: r73171 OK: r73159 OK: aptitude install '?source-package(univention-directory-manager-modules)~i' # 11.0.3-36.1430.201610131831 OK: udm computers/memberserver create --set name=testa --set network=$(udm networks/network list|sed -ne 's/^DN: //p;T;q') --set mac='00:11:22:33:44:55' --set dnsEntryZoneAlias="$(ucr get domainname) $(udm dns/forward_zone list|sed -ne 's/^DN: //p;T;q') testb" OK: univention-ldapsearch -LLLo ldif-wrap=no dhcpHWAddress='ethernet 00:11:22:33:44:55' univentionObjectType OK: univention-ldapsearch -LLLo ldif-wrap=no relativeDomainName=testb univentionObjectType OK: univention-directory-manager-modules.yaml TBD: errata-announce -V --only univention-directory-manager-modules.yaml |
Created attachment 6769 [details] patch If a DHCP host or DNS alias is created by modifying/adding the entry at a computer object no univentionObjectType attribute is added. When using the regular DNS/DHCP module it is. The created DHCP objects e.g. only have the objectClass univentionDhcpHost which is also used by the identify() method but this maybe fail if in some rare cases UMC-UDM identifies objects by their univentionObjectType attribute which then does not exists. Attached patch fixes this for newly created objects.