[Samba] Upgrading samba and OS - can I rejoin ?

Joachim Lindenberg samba at lindenberg.one
Mon Aug 26 11:52:17 UTC 2019


I ran across this several times during my experimentation and assumed it is safe to remove secrets.*db.
Actually I would prefer if the tool would just prompt whether this is a rejoin attempt and then does whatever is needed to clean up.
Regards, Joachim

-----Ursprüngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von L.P.H. van Belle via samba
Gesendet: Monday, 26 August 2019 13:44
An: samba at lists.samba.org
Cc: Andrew Bartlett <abartlet at samba.org>
Betreff: Re: [Samba] Upgrading samba and OS - can I rejoin ?

Hai Andrew, 

I just tested this on 4.10.7
Which resulted in : 

ERROR(<class 'samba.join.DCJoinException'>): uncaught exception - Can't join,
error: Not removing account DC1$ which looks like a Samba DC account matching the password we already have.  
To override, remove secrets.ldb and secrets.tdb

The wiki does not say we have to remove the old the secrets. 

Report it as bug? Or add the info on the wiki to remove the secrets files?

Greetz, 

Louis


 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens gizmo via 
> samba
> Verzonden: maandag 26 augustus 2019 13:15
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Upgrading samba and OS - can I rejoin ?
> 
> > But for practical, humans scale operations it is fine. We delete all 
> > the other objects involved (server objects, DC objects etc). If 
> > something isn't being cleaned up then that's a bug, a
> rejoin with the
> > same name is normal in Samba.
> 
> > I trust this clarifies things,
> 
> Just to be 100% sure I got it, I can
> 
> 1. stop all services on a DC
> 2. install a new OS and new samba version 3. join the DC with same 
> name and IP again
> 
> right ?
> 
> thank you
> 
> 
> 
> 
>  
> 
> --
> 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




More information about the samba mailing list