mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
selftest: Allow "netbios name" to be overriden in Samba3::provision()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
b36376fcf6
commit
7598b9069d
@ -1460,6 +1460,7 @@ sub provision($$)
|
||||
my $dc_server_ip = $args{dc_server_ip};
|
||||
my $dc_server_ipv6 = $args{dc_server_ipv6};
|
||||
my $no_delete_prefix= $args{no_delete_prefix};
|
||||
my $netbios_name = $args{netbios_name} // $server;
|
||||
|
||||
##
|
||||
## setup the various environment variables we need
|
||||
@ -1735,7 +1736,7 @@ sub provision($$)
|
||||
print CONF "
|
||||
[global]
|
||||
dcesrv:fuzz directory = $cachedir/fuzz
|
||||
netbios name = $server
|
||||
netbios name = $netbios_name
|
||||
interfaces = $interfaces
|
||||
bind interfaces only = yes
|
||||
panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY)
|
||||
|
Loading…
Reference in New Issue
Block a user