one more thing.
who owns the dns record and the ad computer name record?
one more, gpresult output?
Greetz
Louis
Op 4 jun. 2019, om 13:58, Rowland penny via samba <samba at
lists.samba.org> schreef:
On 04/06/2019 12:21, L.P.H. van Belle via samba wrote:
i just arrived in italie, there is a bug report on renamed pc's.
i suspect the same problem.
If the computer has been renamed from windows, then the DN, cn, name and
distinguishedname attributes don't get changed, that is the bug. If you
change a computers name in AD on Linux with ldbrename, exactly the
opposite happens and you cannot tell the difference.
If this is the case and the computers name has been changed, the fix is
easy, just use ldbrename on the DC, this will change the attributes that
didn't get changed.
There is however one possible problem, was the new PC joined with its
'old' name and then changed ?, if so, you may have two computer objects
in AD, one with the DN of the dead PC and all its attributes and another
with the DN of the new PC's old name, but with the attributes of the
dead DC. I think you need to check AD.
Rowland