Univention Bugzilla – Full Text Bug Listing |
Summary: | LDAP inconsistency/UDM traceback if network object gets removed | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Networks | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | ebersbach, gohmann, klaeser, petersen, philipp.wollschlegel, schwardt, walkenhorst, wiesenthal |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 4.0-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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): | Error handling, External feedback | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 37377, 37668, 37769 | ||
Attachments: | dirty patch |
Description
Florian Best
2014-06-11 09:35:41 CEST
Happens when (auto) assigning a network object to a computer and then manually deleting this network. Seems that the DN is still present in the computer object and points to nowhere, hence the error message. Could be handled in the school lib, should be handled in UDM (In reply to Dirk Wiesenthal from comment #1) > Happens when (auto) assigning a network object to a computer and then > manually deleting this network. > > Seems that the DN is still present in the computer object and points to > nowhere, hence the error message. ACK Removed network object in UDM and the host object still contains the following attribute: univentionNetworkLink: \ cn=gsmitte-10.200.98.0,cn=networks,ou=gsmitte,dc=example,dc=com > Could be handled in the school lib, should be handled in UDM → moved bug to UCS/UDM Reported again And again... Reported at 2014082721000487 Created attachment 6490 [details]
dirty patch
attached is a starting point for a patch. Please replace the computer.open()…computer.modify() thing with another fast LDAP thing.
Does removing the network influences MAC-Adress or DNS settings?
Please also back port the solution to 3.2 (cf. Bug 37377). Comment on attachment 6490 [details]
dirty patch
svn r57320 contains a clean patch (which does not use computer.open()).
Merged changed to UCS 4.0-0: svn r57366 Package: univention-directory-manager-modules Version: 10.0.29-13.1276.201501191442 Branch: ucs_4.0-0 Scope: errata4.0-0 YAML: 2014-11-28-univention-directory-manager-modules.yaml Works and advisory is ok. Reported again, 4.0-0 errata31 (Walle) Remark: einfacher Aufruf dieses Moduls führte zu dieser Fehlersituation |