Thanks a lot for the reference how to make the regtest. One last question please, if understand this correctly, the --use-ntvfs isnot available by default when installing the Debian package, so I need to compile samba with --with-ntvfs-fileserver to make the option available? On 11/14/19 8:52 AM, Andrew Bartlett wrote:> On Thu, 2019-11-14 at 07:30 +0000, Ghassan Elrayah wrote: >> Hi, >> >> I am trying to get some integration tests running in CI with a >> software uses samba4 AD for authentication. So basically I would like >> spin up a build and provision a samba4 AD with some test users and >> groups non-interactively and test commits and pull requests against >> the AD. > Then --use-ntvfs and compile with --with-ntvfs-fileserver is the easy > option. > > That will go away some day, then you can follow the examples from our > how we set up our selftest stuff. run 'make testenv' and look in > st/ad_dc/lib/server.conf. > > You may need --enable-developer for this to work. > > Thanks for using Samba and all the best! > > Andrew Bartlett >-- Beste Gr??e Ghassan Elrayah Mail: ghassan.elrayah at live.de
Yeah, you will need to do that. Even for the supported default fileserver, the module we use in testing 'vfs_fake_acls' is only provided to developers, so that will be the easiest route to start. When we eventually remove it, come back and we will find a way to keep this working for you. Andrew Bartlett On Thu, 2019-11-14 at 07:59 +0000, Ghassan Elrayah via samba wrote:> Thanks a lot for the reference how to make the regtest. > One last question please, if understand this correctly, the --use-ntvfs isnot available by default when installing the Debian package, so I need to compile samba with --with-ntvfs-fileserver to make the option available? > > > On 11/14/19 8:52 AM, Andrew Bartlett wrote: > > On Thu, 2019-11-14 at 07:30 +0000, Ghassan Elrayah wrote: > > > Hi, > > > > > > I am trying to get some integration tests running in CI with a > > > software uses samba4 AD for authentication. So basically I would like > > > spin up a build and provision a samba4 AD with some test users and > > > groups non-interactively and test commits and pull requests against > > > the AD. > > Then --use-ntvfs and compile with --with-ntvfs-fileserver is the easy > > option. > > > > That will go away some day, then you can follow the examples from our > > how we set up our selftest stuff. run 'make testenv' and look in > > st/ad_dc/lib/server.conf. > > > > You may need --enable-developer for this to work. > > > > Thanks for using Samba and all the best! > > > > Andrew Bartlett > > > > -- > > Beste Gr??e > > Ghassan Elrayah > Mail: ghassan.elrayah at live.de >-- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Fantastic. I appreciate it. Thanks a bunch On 11/14/19 9:05 AM, Andrew Bartlett wrote:> Yeah, you will need to do that. > > Even for the supported default fileserver, the module we use in testing > 'vfs_fake_acls' is only provided to developers, so that will be the > easiest route to start. > > When we eventually remove it, come back and we will find a way to keep > this working for you. > > Andrew Bartlett > > On Thu, 2019-11-14 at 07:59 +0000, Ghassan Elrayah via samba wrote: >> Thanks a lot for the reference how to make the regtest. >> One last question please, if understand this correctly, the --use-ntvfs isnot available by default when installing the Debian package, so I need to compile samba with --with-ntvfs-fileserver to make the option available? >> >> >> On 11/14/19 8:52 AM, Andrew Bartlett wrote: >>> On Thu, 2019-11-14 at 07:30 +0000, Ghassan Elrayah wrote: >>>> Hi, >>>> >>>> I am trying to get some integration tests running in CI with a >>>> software uses samba4 AD for authentication. So basically I would like >>>> spin up a build and provision a samba4 AD with some test users and >>>> groups non-interactively and test commits and pull requests against >>>> the AD. >>> Then --use-ntvfs and compile with --with-ntvfs-fileserver is the easy >>> option. >>> >>> That will go away some day, then you can follow the examples from our >>> how we set up our selftest stuff. run 'make testenv' and look in >>> st/ad_dc/lib/server.conf. >>> >>> You may need --enable-developer for this to work. >>> >>> Thanks for using Samba and all the best! >>> >>> Andrew Bartlett >>> >> -- >> >> Beste Gr??e >> >> Ghassan Elrayah >> Mail: ghassan.elrayah at live.de >>-- Beste Gr??e Ghassan Elrayah Mail: ghassan.elrayah at live.de