summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-07-01 21:44:38 +1200
committerStefan Metzmacher <metze@samba.org>2017-07-02 17:35:20 +0200
commiteb26522a5265ea9be4e31beb5cd819fb15316f28 (patch)
tree2a5c710a274172f5583cbbe09e25be5ce6b01b7c /selftest
parent8b97a0af326edc275eb6ede9b2edc7720dc808ff (diff)
downloadsamba-eb26522a5265ea9be4e31beb5cd819fb15316f28.tar.gz
selftest: Bind rfc2307 tests to exactly one server
The tests make changes to the DC, do not wait for replication, then expect those to be reflected in the client. If they bind to another server this will not hold true. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 68b98287f22..abf1b7b2e40 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -530,6 +530,8 @@ sub setup_admember_rfc2307($$$$)
idmap config $dcvars->{DOMAIN} : ldap_server = ad
idmap config $dcvars->{DOMAIN} : bind_path_user = ou=idmap,dc=samba,dc=example,dc=com
idmap config $dcvars->{DOMAIN} : bind_path_group = ou=idmap,dc=samba,dc=example,dc=com
+
+ password server = $dcvars->{SERVER}
";
my $ret = $self->provision($prefix, $dcvars->{DOMAIN},