[Samba] samba AD problem after re-join domain

Rowland penny rpenny at samba.org
Mon Oct 12 08:06:45 UTC 2020


On 12/10/2020 02:54, Jason Keltz via samba wrote:
> I've been working on a Samba AD setup with a bunch of test machines - 
> the one DC, and a bunch of clients.  Last night, I ended up switching 
> the name of the test machines temporarily (except the DC), and 
> re-joining the domain (that's for another e-mail later). When things 
> didn't work the way I had planned,  I switched the hostnames back, and 
> re-joined the domain today on all the test machines.  I was shocked to 
> find that I am only able to login to the domain on one of my hosts.  
> It fails on all the other ones.  I ensured that I deleted the machine 
> entries from AD.  I haven't changed my Samba config in months which 
> Rowland had last verified was fine.  I haven't changed my 
> /etc/krb5.conf Kerberos config in months.  I even did a complete 
> rebuild of one of the machines since I automated the installation 
> process, and that rebuild was working perfectly many many times, but 
> now it is failed.  In winbind log every time I try to login I'm mostly 
> seeing:

Did you leave the domain before you changed the hostname ?

Why did you change the hostnames ? In a case like this, I would have set 
up a new computer, joined this to the domain and then removed the old 
computer from the domain.

Rowland






More information about the samba mailing list