I got a response from sernet:
The scripts are not compatible to other Samba 4 setups out of the box.There is a lot of code in the scripts that depends on other installedtools and configurations in the appliance. But the main part is writtenwith the option to getting them to work with other setups withoutchanging or rewriting significant parts of these scripts. But in summary I think, that it is easier to refer to the Samba 4 howto.It's very detailed and each step is described at full length. A lot ofthe points are optional. The typical, initial installation can be donewith a few steps.
http://wiki.samba.org/index.php/Samba4/HOWTO