These are harmless. This lastKnownParent is mostly just metadata for
forensics, the old value is probably the best regardless Samba re-
calculates the string value if it points at something it can resolve at
runtime.
Andrew,
On Wed, 2023-08-09 at 06:57 +0200, Dirk Laurenz via samba
wrote:> Hi,
>
> So everything worked and both DCs are running now on bullseye 64bit.
> So these are the last problems. How do i solve them? Simply delete?
> root at dc01:~# samba-tool dbcheck --cross-ncsChecking 3688 objectsNOTE:
> old (due to rename or delete) DN string component for
> lastKnownParentin object CN=NTDSSettings\0ADEL:4adb764b-36d4-4276-
> 92e1-36aef50520d7,CN=DC02\0ADEL:e706c1e1-0c2e-4b74-b525-
> 17d4b0fa4fff,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba
> ,DC=laurenz,DC=ws
> -CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC>
laurenz,DC=wsNot fixing old string componentNOTE: old (due to rename
> or delete) DN string component for lastKnownParentin
> objectCN=cd4cd8e3-ea9a-4dda-929f-70413c9323d0\0ADEL:ff4bd7bd-84a2-
> 4f3d-8277-2febc74bee3b,CN=Deleted
> Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws
> -CN=NTDSSettings,CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configurat
> ion,DC=samba,DC=laurenz,DC=wsNot fixing old string componentNOTE: old
> (due to rename or delete) DN string component for lastKnownParentin
> objectCN=3d2379a1-a17c-4088-93ce-1bc32a1b2ec5\0ADEL:37ada2d6-f865-
> 4f35-88d8-83d35ee81ee5,CN=Deleted
> Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws
> -CN=NTDSSettings,CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configurat
> ion,DC=samba,DC=laurenz,DC=wsNot fixing old string componentNOTE: old
> (due to rename or delete) DN string component for lastKnownParentin
> object CN=NTDSSettings\0ADEL:011bab7b-5812-481a-99b8-
> 33fc2cba2638,CN=DC01\0ADEL:203569c6-2c83-41b5-b599-
> e2c32e3d734f,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba
> ,DC=laurenz,DC=ws
> -CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC>
laurenz,DC=wsNot fixing old string componentNOTE: old (due to rename
> or delete) DN string component for lastKnownParentin object
> CN=NTDSSettings\0ADEL:b34e65ff-becb-479b-a101-
> f9670c845365,CN=DC01\0ADEL:d7eb2e4b-81db-4d35-826e-
> 302bed160515,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba
> ,DC=laurenz,DC=ws
> -CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC>
laurenz,DC=wsNot fixing old string componentNOTE: old (due to rename
> or delete) DN string component for lastKnownParentin
> objectCN=355c61cd-513f-4e60-9741-037d36e787ca\0ADEL:49c768df-8f4d-
> 4058-99cd-5aba3e21e830,CN=Deleted
> Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws
> -CN=NTDSSettings,CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configurat
> ion,DC=samba,DC=laurenz,DC=wsNot fixing old string componentNOTE: old
> (due to rename or delete) DN string component for lastKnownParentin
> object CN=NTDSSettings\0ADEL:cd9cba21-d4d4-4704-8714-
> fa803d0e1511,CN=DC02\0ADEL:f5452801-dc3f-4c47-b011-
> a0560de2934f,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba
> ,DC=laurenz,DC=ws
> -CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC>
laurenz,DC=wsNot fixing old string componentNOTE: old (due to rename
> or delete) DN string component for lastKnownParentin object CN=RID
> Set\0ADEL:36eab6d3-04ac-4c9b-a2f9-
> 3795515e7a2b,CN=DeletedObjects,DC=samba,DC=laurenz,DC=ws -
> CN=DC01,OU=DomainControllers,DC=samba,DC=laurenz,DC=wsNot fixing old
> string componentNOTE: old (due to rename or delete) DN string
> component for rIDSetReferencesin object
> CN=DC03,CN=Computers,DC=samba,DC=laurenz,DC=ws -
> CN=RIDSet,CN=DC03,OU=Domain Controllers,DC=samba,DC=laurenz,DC=wsNot
> fixing old string componentNOTE: old (due to rename or delete) DN
> string component for lastKnownParentin object CN=RID
> Set\0ADEL:ea3d7b75-9a93-46ec-bf5d-
> c64b5a6d4842,CN=DeletedObjects,DC=samba,DC=laurenz,DC=ws
> -CN=DC02,CN=Computers,DC=samba,DC=laurenz,DC=wsNot fixing old string
> componentChecked 3688 objects (0 errors)
> -----Urspr?ngliche Nachricht-----Von: samba <
> samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny
> viasambaGesendet: Montag, 7. August 2023 13:00An:
> samba at lists.samba.org
> Cc: Rowland Penny <rpenny at samba.org>Betreff: Re: [Samba] Best
Update
> Strategy
>
>
> On 07/08/2023 11:52, Dirk Laurenz via samba wrote:
> > Hi,
> >
> > due to the fact that i need to upgrade from 32bit Debian 10 to
> > 64bit Debian11 (on Raspberry PI) i have to completly reinstall both
> > DCs and a crossgrade is not supported.
> >
> > So i would do the following:
> >
> > Remove a DC from the Domain
> > Install new 64 bit Raspberry OS
> > Install Samba
> > Rejoin the Domain with newer Samba Version
>
> I used the same method when I upgraded, except I did the upgrade on
> RPI4'susing a USB drive to install the OS to an SSD.
> Rowland
>
> --To unsubscribe from this list go to the following URL and read
> theinstructions: https://lists.samba.org/mailman/options/samba
>
>
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/Samba Team Member
(since 2001) https://samba.orgSamba Team Lead
https://catalyst.net.nz/services/sambaCatalyst.Net Ltd
Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group
company
Samba Development and Support: https://catalyst.net.nz/services/samba
Catalyst IT - Expert Open Source Solutions