How do you build things like smbtorture in the source4 tree in, say, Samba 3.6.x?

Richard Sharpe realrichardsharpe at gmail.com
Sun Nov 4 08:01:37 MST 2012


On Sun, Nov 4, 2012 at 3:03 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Sat, 2012-11-03 at 07:20 -0700, Richard Sharpe wrote:
>> Hi folks,
>>
>> While it is clear how to build source4 and source 3 in master, it is
>> not clear how to build the source4 stuff in Samba 3.6.x.
>>
>> How do I do it?
>
> In general, you don't.  However, the build of a smbtorture4 binary is
> supported, just run 'make smbtorture4' in source3, and it will do the
> magic required.

Ahhh, OK. Thanks.

> The reason it's like this is to avoid folks expecting to find a current
> or useful AD DC snapshot in the source4 directory - so we removed the
> configure and Makefile wrappers.  (Yes, we did get folks using 3.x
> releases as Samba4 snapshots).
>
> If you want smbtorture, you really are best to build it from master.
> Running the old smbtorture may be simpler, but any test that it fails
> when master's smbtorture is run against 3.6 is a real issue you should
> consider the impact of.  (But I agree that may create work).

Yes, I agree, however, QA gets annoyed if we keep changing things on
them. I am personally using smbtorture from source4 in master.

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


More information about the samba-technical mailing list