selftest: make autorid the default idmap backend in admember_rfc2307
authorRalph Boehme <slow@samba.org>
Fri, 24 Jun 2016 16:33:01 +0000 (18:33 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 28 Jun 2016 05:27:18 +0000 (07:27 +0200)
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>
selftest/target/Samba3.pm

index 2ac953d89a8c48a9c053db5675b455a4f38668e0..61ec9860d42b7b0355873f628bd524ec407fb4b0 100755 (executable)
@@ -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