[Samba] Linux workstations lose relationship with domain

Rowland penny rpenny at samba.org
Mon Mar 22 18:22:47 UTC 2021

On 22/03/2021 17:41, Denis Morejon via samba wrote:
> Hi:
> I have two domain controllers. dc1 and dc2. They both with debian 10 
> and samba 4.7.4 installed from source. 

Got to ask why 4.7.4 ? Debian 10 come with 4.9.5

> And working find since a long time. Since a month ago some time a 
> group of linux workstations lost domain's computer account a we had to 
> re-join It. This have been happing each two weeks. I don't know what's 
> the error. samba-tool dbcheck returns some warning:
> root at dc2:~# samba-tool dbcheck
> Checking 7283 objects
> NOTE: old (due to rename or delete) DN string component for 
> lastKnownParent in object CN=SRVFACT-HP LaserJet 1200 
> 0016448924\0ADEL:ff58fad6-9740-46a2-9387-13ae3adc7e0c,CN=Deleted 
> Objects,DC=dtcf,DC=etecsa,DC=cu - 
> <GUID=6c10d77d-fedc-4931-a01b-28d4a5e2484f>;<SID=S-1-5-21-1294415360-3796152602-1730644256-3104>;CN=SRVFACT,OU=Servers,DC=dtcf,DC=etecsa,DC=cu
> Not fixing old string component

they are deleted objects

I would suggest you update Samba on the DC's (probably best to do this 
by adding new DC's and demoting  the old ones after). You can find the 
latest Samba here: https://apt.van-belle.nl/

Can you post your smb.conf files, one from a DC and another from one of 
the Unix domain members.


More information about the samba mailing list