Bug 33205

Summary: Broken DHCP representation for Shared networks and subnets
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UMC - DHCPAssignee: UMC maintainers <umc-maintainers>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: best, gohmann, klaeser, wiesenthal
Version: UCS 3.2   
Target Milestone: UCS 3.2-x   
Hardware: All   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=25281
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:
Bug Depends on: 32381    
Bug Blocks: 33181    
Attachments: UMC screenshot

Description Philipp Hahn univentionstaff 2013-11-07 16:30:41 CET
Created attachment 5580 [details]
UMC screenshot

+++ This bug was initially created as a clone of Bug #32381 +++
shared subnets are broken now; this would be correct:

# univention-ldapsearch  -xLLLb "cn=dhcp,$(ucr get ldap/base)" '(!(objectClass=univentionDhcpHost))' dn
dn: cn=dhcp,dc=phahn,dc=pt
  dn: cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=mas40,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.200.17.0,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.0.17.0,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
  dn: cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=mas40,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
      dn: cn=10.0.17.0,cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
      dn: cn=10.200.17.0,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.1.17.0,cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt

Instead the "Shared network" "testing" is shown at the same level as the services in the tree view.
Also the service shows a flat list of all entries (including the "Shared subnet"s, which are children of the "Shared network")
Comment 1 Alexander Kläser univentionstaff 2013-11-08 10:21:38 CET
Could it be that a truly recursive representation is not supported?
I mark it as a feature request.
Comment 2 Dirk Wiesenthal univentionstaff 2013-11-08 10:42:37 CET
This is not a feature request. Shared network are shown in the tree as "DHCP/Service". When selecting this shared network it is shown in the grid as its own child. Yes, recursive trees are not supported (would be nice). But currently it is broken.
Comment 3 Dirk Wiesenthal univentionstaff 2014-01-14 11:51:29 CET
If the subnet is selected in the tree and the parent DHCP service is deleted by right clicking in the tree, the following traceback shows up:

  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 485, in _thread
    raise UMC_OptionTypeError( _( 'Could not find an UDM module for the superordinate object %s' ) % superordinate )

UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt cn=XX,cn=dev.local,cn=dhcp,dc=dwiesent,dc=ucs32,dc=dev gefunden werden
Comment 4 Florian Best univentionstaff 2016-10-11 18:48:54 CEST

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