[PATCH] Traffic replay emulator tool (load generator)

Andrew Bartlett abartlet at samba.org
Tue Jul 4 07:12:01 UTC 2017

On Tue, 2017-07-04 at 17:35 +1200, Andrew Bartlett via samba-technical
> On Mon, 2017-07-03 at 10:54 +1200, Garming Sam via samba-technical
> wrote:
> > Updated patchset with some additional documentation and fixes.
> Here is another updated patch set.  I did already push this to
> autobuild, but a difference between our internal test environment and
> sn-devel (missing dnspython) meant that the additional patch I include
> below is needed. 
> (A more important autobuild, with the ntlm and netlogon fixes, it
> currently underway). 
> Please review that simple patch and push the otherwise already reviewed
> traffic-emulator.patch.txt.

Actually, it looks like there is more to do, the 'make --workgroup and
--realm mandatory part needs work.  Sadly this means it won't make

ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'workgroup'
  File "./bin/samba-tool", line 44, in <module>
    retval = cmd._run("samba-tool", subcommand, *args)
  File "bin/python/samba/netcmd/__init__.py", line 203, in _run
    "%s %s" % (myname, subcommand), *args)
  File "bin/python/samba/netcmd/__init__.py", line 203, in _run
    "%s %s" % (myname, subcommand), *args)
  File "bin/python/samba/netcmd/__init__.py", line 203, in _run
    "%s %s" % (myname, subcommand), *args)
  File "bin/python/samba/netcmd/__init__.py", line 150, in _run
    del kwargs[option.dest]
Failed to create trust 
1/st/dns_host_file"  KRB5_CONFIG="/home/abartlet/samba-
1/st/fl2008r2dc/etc/krb5.conf" KRB5CCNAME="/home/abartlet/samba-
1/st/fl2008r2dc/krb5_ccache"  ./bin/samba-tool domain trust create --
type=forest ADDOM.SAMBA.EXAMPLE.COM  --configfile=/home/abartlet/samba-
1/st/fl2008r2dc/etc/smb.conf -UADDOMAIN\\Administrator%locDCpass1 at
/home/abartlet/samba-1/selftest/target/Samba4.pm line 397.
failed to start up environment 'fl2008r2dc' at /home/abartlet/samba-
1/selftest/target/Samba.pm line 49.
samba can't start up known environment 'fl2008r2dc' at
/home/abartlet/samba-1/selftest/selftest.pl line 935.
samba: EOF on stdin - PID 99044 terminating


Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list