David Mulder
2021-Nov-04 13:41 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
On 11/3/21 6:49 AM, Rowland Penny via samba wrote:>> >> I'm not seeing "leave" in the samba-tool domain subcommands > > 'net ads leave' > > Though, thinking about it, that is another reason not use the samba- > tool method, bit like hotel California, you can 'join' but never > 'leave' :-D >Ugh, do we really not have a samba-tool domain leave? I'll look at adding that. -- *David Mulder* Labs Software Engineer, Samba SUSE 1800 Novell Place Provo, UT 84606 (P)+1 801.861.6571 dmulder at suse.com <http://www.suse.com/>
Rowland Penny
2021-Nov-04 13:47 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
On Thu, 2021-11-04 at 07:41 -0600, David Mulder via samba wrote:> > On 11/3/21 6:49 AM, Rowland Penny via samba wrote: > > > I'm not seeing "leave" in the samba-tool domain subcommands > > > > 'net ads leave' > > > > Though, thinking about it, that is another reason not use the > > samba- > > tool method, bit like hotel California, you can 'join' but never > > 'leave' :-D > > > > Ugh, do we really not have a samba-tool domain leave? I'll look at > adding that.No, we have 'samba-tool domain demote' which demotes a DC. Remember that samba-tool couldn't create a Unix domain member, so why would it have a subcommand to remove a Unix domain member ? Rowland
Patrick Goetz
2021-Nov-04 14:47 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
On 11/4/21 08:41, David Mulder via samba wrote:> > > On 11/3/21 6:49 AM, Rowland Penny via samba wrote: >>> >>> I'm not seeing "leave" in the samba-tool domain subcommands >> >> 'net ads leave' >> >> Though, thinking about it, that is another reason not use the samba- >> tool method, bit like hotel California, you can 'join' but never >> 'leave' :-D >> > > Ugh, do we really not have a samba-tool domain leave? I'll look at > adding that. >No! No, you don't. It's way better to have one way to do things, but have it work correctly. There's nothing wrong with net ads leave other than it doesn't take care of cleaning up DNS.