[Samba] Best Update Strategy

samba at laurenz.ws samba at laurenz.ws
Wed Aug 9 04:57:54 UTC 2023


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-ncs
Checking 3688 objects
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=NTDS
Settings\0ADEL:4adb764b-36d4-4276-92e1-36aef50520d7,CN=DC02\0ADEL:e706c1e1-0
c2e-4b74-b525-17d4b0fa4fff,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,D
C=samba,DC=laurenz,DC=ws -
CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC=laurenz,
DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object
CN=cd4cd8e3-ea9a-4dda-929f-70413c9323d0\0ADEL:ff4bd7bd-84a2-4f3d-8277-2febc7
4bee3b,CN=Deleted Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws -
CN=NTDS
Settings,CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC
=laurenz,DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object
CN=3d2379a1-a17c-4088-93ce-1bc32a1b2ec5\0ADEL:37ada2d6-f865-4f35-88d8-83d35e
e81ee5,CN=Deleted Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws -
CN=NTDS
Settings,CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC
=laurenz,DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=NTDS
Settings\0ADEL:011bab7b-5812-481a-99b8-33fc2cba2638,CN=DC01\0ADEL:203569c6-2
c83-41b5-b599-e2c32e3d734f,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,D
C=samba,DC=laurenz,DC=ws -
CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC=laurenz,
DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=NTDS
Settings\0ADEL:b34e65ff-becb-479b-a101-f9670c845365,CN=DC01\0ADEL:d7eb2e4b-8
1db-4d35-826e-302bed160515,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,D
C=samba,DC=laurenz,DC=ws -
CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC=laurenz,
DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object
CN=355c61cd-513f-4e60-9741-037d36e787ca\0ADEL:49c768df-8f4d-4058-99cd-5aba3e
21e830,CN=Deleted Objects,CN=Configuration,DC=samba,DC=laurenz,DC=ws -
CN=NTDS
Settings,CN=DC01,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC
=laurenz,DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=NTDS
Settings\0ADEL:cd9cba21-d4d4-4704-8714-fa803d0e1511,CN=DC02\0ADEL:f5452801-d
c3f-4c47-b011-a0560de2934f,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,D
C=samba,DC=laurenz,DC=ws -
CN=DC02,CN=Servers,CN=ZuHause,CN=Sites,CN=Configuration,DC=samba,DC=laurenz,
DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=RID Set\0ADEL:36eab6d3-04ac-4c9b-a2f9-3795515e7a2b,CN=Deleted
Objects,DC=samba,DC=laurenz,DC=ws - CN=DC01,OU=Domain
Controllers,DC=samba,DC=laurenz,DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for rIDSetReferences
in object CN=DC03,CN=Computers,DC=samba,DC=laurenz,DC=ws - CN=RID
Set,CN=DC03,OU=Domain Controllers,DC=samba,DC=laurenz,DC=ws
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for lastKnownParent
in object CN=RID Set\0ADEL:ea3d7b75-9a93-46ec-bf5d-c64b5a6d4842,CN=Deleted
Objects,DC=samba,DC=laurenz,DC=ws -
CN=DC02,CN=Computers,DC=samba,DC=laurenz,DC=ws
Not fixing old string component
Checked 3688 objects (0 errors)

-----Ursprüngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny via
samba
Gesendet: Montag, 7. August 2023 13:00
An: 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 
> Debian
> 11 (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's
using a USB drive to install the OS to an SSD.

Rowland


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list