[Samba] Join new DC to domain - advice to upgrade Samba 4.

L.P.H. van Belle belle at bazuin.nl
Thu Apr 9 07:09:13 UTC 2020


im thinking..
Re-checked the output of the script. 

And can you run this script on both the samba AD-DC's. 
https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh

Im missing something in your output, @Rowland, can you send me a copy of your script, i'll merge the changes in this one. 


Also, after the FSMO transfer from DC1 to DC2, did you reboot DC2? 
If not, backup old logs/clear them, reboot, check the logs of its all ok.

Then, exact as shown, this is/should be sufficient or at least should be. 

samba-tool domain level show  ( handy to know also for us ) 

kinit Administrator
samba-tool domain join test.example.domain.br DC --realm=TEST.EXAMPLE.DOMAIN.BR --prepare-oldjoin -k yes  -d6 


Greetz, 

Louis



________________________________

	Van: Daniel Lopes de Carvalho [mailto:daniel at cepetro.unicamp.br] 
	Verzonden: woensdag 8 april 2020 22:52
	Aan: L.P.H. van Belle
	CC: sambalist
	Onderwerp: Re: [Samba] Join new DC to domain - advice to upgrade Samba 4.
	
	
	I was wondering if is possible to install a new fresh updated Debian in a new host and transfer (copy with cp or something like that) the samba files and database from old ADC02 Samba DC to this new host? 

	Thanks

	Em qua, 8 de abr de 2020 08:47, Daniel Lopes de Carvalho <daniel at cepetro.unicamp.br> escreveu:
	

		Hi Louis, 

		I installed the acl and edited resolv.conf as you suggested, but the error persist, unfortunately.

		This weekend I'll take a snapshot of the working DC and try to update Debian and Samba.

		If there is some other thing to do before the update, let me know, please.

		Thanks and best regards

		On Wed, Apr 8, 2020 at 4:09 AM L.P.H. van Belle via samba <samba at lists.samba.org> wrote:
		

			All i see a missing acl package. 
			But that had nothing todo with not being able to join. 
			
			But try this. 
			
			Add in resolv.conf the ip of DCS02 and DCS03 in this order. 
			Try to join a gain. 
			
			As i see now, your trying to join a server and that uses itself as resolving server, that does not work when you joining.
			
			
			Greetz, 
			
			Louis
			
			
			> -----Oorspronkelijk bericht-----
			> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
			> Rowland penny via samba
			> Verzonden: dinsdag 7 april 2020 20:56
			> Aan: sambalist
			> Onderwerp: Re: [Samba] Join new DC to domain - advice to 
			> upgrade Samba 4.
			> 
			> On 07/04/2020 15:59, Daniel Lopes de Carvalho wrote:
			> > Hi Rowland,
			> >
			> > I'll consider the update. But I need to backup this host (adc02) 
			> > before, because it the only and the main DC on my network... =(
			> >
			> > Find attached below the output of the script:
			> >
			> Nothing wrong there, is a firewall running on either machine ?
			> 
			> Rowland
			> 
			> 
			> 
			> -- 
			> To unsubscribe from this list go to the following URL and read the
			> instructions:  https://lists.samba.org/mailman/options/samba
			> 
			> 
			
			
			-- 
			To unsubscribe from this list go to the following URL and read the
			instructions:  https://lists.samba.org/mailman/options/samba
			



		-- 
		
		Daniel Lopes de Carvalho
		http://www.unisim.cepetro.unicamp.br
		daniel at cepetro.unicamp.br
		19 3521-1221
		





More information about the samba mailing list