diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-15 10:20:37 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-15 10:53:43 +1000 |
commit | 0800c9e6f19f7905159ac3ab457ce8cd1899c995 (patch) | |
tree | a79009c8ff6b22fb29376b812e5790f09edc8ae3 /selftest | |
parent | 982f688c02aae76e362d9c310284f1c830565759 (diff) | |
download | samba-0800c9e6f19f7905159ac3ab457ce8cd1899c995.tar.gz samba-0800c9e6f19f7905159ac3ab457ce8cd1899c995.tar.xz samba-0800c9e6f19f7905159ac3ab457ce8cd1899c995.zip |
s4:selftest Remove unused basedn specification in selftest env setup
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/target/Samba4.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index e82ccfdfab2..343834cb453 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -472,8 +472,7 @@ sub provision_raw_prepare($$$$$$$) $ctx->{username} = "Administrator"; $ctx->{domain} = "SAMBADOMAIN"; $ctx->{realm} = "SAMBA.EXAMPLE.COM"; - $ctx->{dnsname} = "samba.example.com"; - $ctx->{basedn} = "dc=samba,dc=example,dc=com"; + $ctx->{dnsname} = lc($ctx->{realm}); $ctx->{sid_generator} = "internal"; my $unix_name = ($ENV{USER} or $ENV{LOGNAME} or `whoami`); @@ -501,9 +500,6 @@ sub provision_raw_prepare($$$$$$$) $ctx->{ipv4} = "127.0.0.$swiface"; $ctx->{interfaces} = "$ctx->{ipv4}/8"; - $ctx->{localbasedn} = $ctx->{basedn}; - $ctx->{localbasedn} = "CN=$netbiosname" if $server_role eq "member server"; - push(@{$ctx->{directories}}, $ctx->{privatedir}); push(@{$ctx->{directories}}, $ctx->{etcdir}); push(@{$ctx->{directories}}, $ctx->{piddir}); |