net ads dns and self tests ...
realrichardsharpe at gmail.com
Mon Apr 25 15:51:06 UTC 2016
On Mon, Apr 25, 2016 at 6:55 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
> I have been trying to write a self test (testprogs/blackbox) to test
> the net ads dns commands.
> It seemed like I needed to do the following:
> 1. Create privileged (an admin) and an unprivileged accounts.
> 2. Run the commands from with both sets of creds and test that the
> correct things happen.
> However, if I run the test an an ad_dc_ntvfs style test, the first
> part work but the second part fails with errors like Client not found
> in kerberos database. If I run it as a local test nothing works :-(
> Are there pre-existing creds I can use in a test like this?
Hmmm, looking at what a make testenv provides, it seems that
everything I need is there ...
More information about the samba-technical