L.P.H. van Belle
2018-May-14 14:46 UTC
[Samba] Delete machine account from AD to fix The trust relationship
Hai, Thanks for the reply. For the fix, i believe, there is work in progress for that as far i've seen. But i think Rowland knows this better. An other other options is rejoin again, but often only works if the "computer" password was expired and not updated. Then an simple rejoin works also. If this happens, ( i had this about 3 times ). 1) try a simple rejoin from windows - computer properties, change network ( where the domain name is) 2) if 1 fails, try with only removing the computer objects from the AD DB. 3) if 1 and 2 fails, clean up dns and ad, then rejoin. There is one more option, but that can messup you ADDB, so im not posting that. :-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Paul > Littlefield via samba > Verzonden: maandag 14 mei 2018 16:23 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Delete machine account from AD to fix > The trust relationship > > On 14/05/18 13:51, L.P.H. van Belle via samba wrote: > > With RSAT tools, check if everything is removed of the PC > from the domain. > > Yes, that worked. > > However, it would be nice for someone to chirp in the command > line for removing a machine trust account with samba-tool? > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Paul Littlefield
2018-May-14 15:51 UTC
[Samba] Delete machine account from AD to fix The trust relationship
Hello List, It does seem a little odd that Samba can do all this great stuff and add MACHINE$ to the AD but not have the tool to remove it again... ...did I miss the documentation on that? Yours, :-/ Confused (and using a Windows GUI to fix the issue)
Rowland Penny
2018-May-14 16:26 UTC
[Samba] Delete machine account from AD to fix The trust relationship
On Mon, 14 May 2018 15:51:41 +0000 Paul Littlefield via samba <samba at lists.samba.org> wrote:> Hello List, > > It does seem a little odd that Samba can do all this great stuff and > add MACHINE$ to the AD but not have the tool to remove it again... > > ...did I miss the documentation on that?No, there isn't any documentation, mainly because at the moment there isn't anything to do what you want, but it is coming. The required code is in samba-master, so it will probably appear when 4.9.0 is released. Rowland