summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2016-06-24 18:33:01 +0200
committerRalph Boehme <slow@samba.org>2016-06-28 07:27:18 +0200
commitaa54fa4e88cc80bc7841beba3a5561ad2c83dc80 (patch)
tree4829d8e4611c830ba29bf7241ba91859b853ff88 /selftest/target
parent9be918116e356c358ef77cc2933e471090088293 (diff)
downloadsamba-aa54fa4e88cc80bc7841beba3a5561ad2c83dc80.tar.gz
selftest: make autorid the default idmap backend in admember_rfc2307
This is needed for a new test in the next commit. Exisiting tests aren't affected by this, at least a private autobuild passed with this change. Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 2ac953d89a8..61ec9860d42 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -464,6 +464,9 @@ sub setup_admember_rfc2307($$$$)
security = ads
workgroup = $dcvars->{DOMAIN}
realm = $dcvars->{REALM}
+ idmap config * : backend = autorid
+ idmap config * : range = 1000000-1999999
+ idmap config * : rangesize = 100000
idmap config $dcvars->{DOMAIN} : backend = rfc2307
idmap config $dcvars->{DOMAIN} : range = 2000000-2999999
idmap config $dcvars->{DOMAIN} : ldap_server = ad