[Samba] Pc's not added (shown) to AD after remove and re-add.

L.P.H. van Belle belle at bazuin.nl
Mon Feb 24 13:27:47 UTC 2020


Hai Rowland, 

samba-tool domain tombstones expunge --tombstone-lifetime=1
Removed 37 objects and 13 links successfully 

:-) Your the man.. again.. :-) 

Why o why did i not check : 
samba-tool domain tombstones expunge -h 

Thank Rowland for re-freshing my mind. ;-) 


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Rowland penny via samba
> Verzonden: maandag 24 februari 2020 14:19
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Pc's not added (shown) to AD after 
> remove and re-add.
> 
> On 24/02/2020 12:44, L.P.H. van Belle via samba wrote:
> > Hai,
> >   
> > After some "strange" pc problems with pc-domain trust i did 
> some digging.
> > Im pretty sure this is a samba bug, if someone can verify this.
> Possibly, but then again it might be a Windows bug.
> > My steps.
> >   
> > - Setup a win10 pc, static ip.
> > - Join the domain.
> >   
> > And its shown in AD and DNS.
> > Turn of the pc.
> >   
> > but, now next, set a new pc, use the same name but a different IP.
> > join the domain.
> > login and turn the pc offf
> >   
> > Back to pc1. turn it on, your unable to login, the pc 
> compains about its domain trust.
> > Login as admin, remove the pc from the domain.
> If there is a bug, this is where it is. You shouldn't be able to join 
> two machines with the same name (even if they do have different IPs).
> > So, i wanted to clean up AD.
> > samba-tool domain tombstones expunge
> > Removed 0 objects and 0 links successfully
> >
> > ? 0 removed... and im pretty sure i remove about 5 pc's 
> from the domain today.
> >   
> 
> Try adding '--tombstone-lifetime=1' to the expunge command.
> 
> Rowland
> 
> 
> 
> -- 
> 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