]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Aug 2016 09:19:13 +0000 (11:19 +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>
(cherry picked from commit aa54fa4e88cc80bc7841beba3a5561ad2c83dc80)

selftest/target/Samba3.pm

index 9e5d699b2a09ae792f25de668642850f27163866..319d00bf64f483295f0b4901c9569a98198546de 100755 (executable)
@@ -460,6 +460,9 @@ sub setup_admember_rfc2307($$$$)
        server signing = on
         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