Univention Bugzilla – Bug 49958
Windows computers without univentionServerRole=windows_client aren't found via UDM anymore
Last modified: 2019-10-01 12:24:44 CEST
A regression caused that computers/windows and computers/domaincontroller_windows is not found anymore in UDM if it doesn't have the univentionServerRole attribute set. This is the case for computer objects created before UCS 3.0. +++ This bug was initially created as a clone of Bug #41659 +++ There is a lot of redundant code in the computers/* UDM handlers. Especially the open/_ldap_addlist/_ldap_modlist/_ldap_{pre,post}_{create,modify,delete} methods are nearly the same in every handler. We should outsource that code into external classes/methods/functions.
Patch in git:fbest/49958-fix-windows-lookup branch.
It's acutally Bug #48390 (git: b0a692935f7733fcae4ff1c4c5b8649e6d1db115) which caused this.
Wouldn't it be better to add the attribute to the computers? At least additionally?
(In reply to Christian Völker from comment #3) > Wouldn't it be better to add the attribute to the computers? At least > additionally? Yes, this would be more future proof. But we definately should fix it, too.
Probably also the reason for: https://help.univention.com/t/mdb-database-full-and-stops-replication/12648/6
1ad741b3a4 | New diagnostic plugin 30f91a9c73 | Fix typos 46438288f3 | Advisory
eff08e603c | Fixes in response to core review feedback 3b1948fe60 | Advisory
What I tested: computers/windows and computers/domaincontroller_windows with univentionServerRole -> No warning -> OK computers/windows and computers/domaincontroller_windows without univentionServerRole -> Warning -> OK Fix computers/windows and computers/domaincontroller_windows without univentionServerRole -> OK Reopen: If fixable and unfixable objects exists both are counted for the migrate button.
b8280a4b18 | More qa feedback 417627991a | Advisory Update
Looks good now :) YAML -> OK -> Verified
<http://errata.software-univention.de/ucs/4.4/251.html>