[PATCH] libads - Add net ads leave --keep-account option
asn at samba.org
Fri Jul 6 15:13:42 UTC 2018
On Friday, 6 July 2018 17:02:47 CEST Ralph Böhme via samba-technical wrote:
> On Fri, Jun 29, 2018 at 10:26:13AM -0400, Justin Stephenson via samba-
> >Please see attached patch to add the --keep-account net ads leave argument,
> >allowing to leave the domain without removing the machine account object.
> I'm not sure I understand how the test can work. It uses local ldbsearch to
> check the account is still there after an net ads leave --keep-account. How
> can the ldbsearch work on a member?
[os.path.join(bbdir, "test_net_ads.sh"), '$DC_SERVER', '$DC_USERNAME',
The env is an 'ad_dc' client. So we have access to the ad_dc ldb files because
we are in the matrix! ;-)
Better ideas to verify that the account exits are welcome.
Andreas Schneider asn at samba.org
Samba Team www.samba.org
More information about the samba-technical