[Samba] DCs from 4.10.x to 4.11.x

L.P.H. van Belle belle at bazuin.nl
Fri Mar 6 09:04:42 UTC 2020


Aah..   Sorry typo. 

systemctl unmask samba-ad-dc  (umask / unmask ) 
systemctl enable samba-ad-dc 
systemctl start samba-ad-dc 

Im very buzy, so slow in responce atm, but if a service fails to upgrade and starts it gets masked.
Unmasking is needed then. To make sure its all enable i also run extra enable. 
 

> -----Oorspronkelijk bericht-----
> Van: Stefan G. Weichinger [mailto:lists at xunil.at] 
> Verzonden: vrijdag 6 maart 2020 9:54
> Aan: L.P.H. van Belle; samba at lists.samba.org
> Onderwerp: Re: [Samba] DCs from 4.10.x to 4.11.x
> 
> Am 06.03.20 um 09:52 schrieb L.P.H. van Belle:
> > systemctl umask samba-ad-dc 
> > systemctl enable samba-ad-dc 
> > systemctl start samba-ad-dc 
> 
> Yeah, thanks ;-)
> 
> and that will again cause issues in the domain until that DB is rewritten?
No, at start indexing is done, start : top and wait untill indexing is done. 

The upgrade fail, is one i need to adress in the packaging. ( sorry bit late ) 
My steps when i upgrade my DC's. 

samba-tool dbcheck (--cross-nc) ( check for errors ) 
samba-tool dbcheck --reindex	( re-index the samba-ad ) 
apt dist-upgrade -dy (get all files, download only) 
apt dist-upgrade --autoremove --purge ( !dist-upgrade..,  because if packages are new added you need it. so dist-upgrade ) 
	--autoremove, example libldb1 gets replaced by libldb2, without autoremove is not upgrade and removed and samba errors. 
	--purge, remove and delete old not used packages. ( like libldb1 )
If you now look in the logs you seel lots of samba errors, this is correct, because your are from the upgrades while samba is running.
Not a problem at all. 
And last, after the upgrade i always cleanup logs and reboot, it thats no options for you. 
Not fixed at this point and samba not starting. 

apt --fix-broken install
systemctl unmask samba-ad-dc
systemctl stop samba-ad-dc 
systemctl start samba-ad-dc 

And now your done, more DC's, wait untill indexing is done then next. 


Greetz, 

Louis








More information about the samba mailing list