net ads dns and self tests ...

Richard Sharpe realrichardsharpe at gmail.com
Thu May 5 19:26:40 UTC 2016


On Thu, May 5, 2016 at 12:06 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Mon, 2016-04-25 at 08:54 -0700, Richard Sharpe wrote:
>> On Mon, Apr 25, 2016 at 8:51 AM, Richard Sharpe
>> <realrichardsharpe at gmail.com> wrote:
>> > 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 ...
>>
>> Then again, a quick test shows that the admin account and password
>> work but I cannot figure out what account $PASSWORD applies to ...
>> time to dig into the code.
>
> Richard,
>
> Can you please let me know if you are still stuck on this?  I'm glad to
> help out if you get me a few more details.

Not so much stuck as too lethargic. I will probably do some more on it
this afternoon.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list