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

Andrew Bartlett abartlet at samba.org
Sun Nov 4 04:03:28 MST 2012


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.

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).

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list