X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Ftest057-memberof-refint;h=35e450176e93b24cf39b41bfad1e39c5b8bcb722;hb=fc1396fa2e94ee2e752fd7c3ea5bb22f6592398a;hp=46d940bae03d42b6dd42b80fcb963d46e7c86254;hpb=966cef8c9a3238efe0c482ad0ee08fd98944d112;p=openldap diff --git a/tests/scripts/test057-memberof-refint b/tests/scripts/test057-memberof-refint index 46d940bae0..35e450176e 100755 --- a/tests/scripts/test057-memberof-refint +++ b/tests/scripts/test057-memberof-refint @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2011 The OpenLDAP Foundation. +## Copyright 1998-2012 The OpenLDAP Foundation. ## Portions Copyright 2008 Red Hat, Inc. ## All rights reserved. ## @@ -66,7 +66,9 @@ fi cat /dev/null > $TESTOUT -bdbInclude="# " nullExclude="" +indexInclude="" mainInclude="" bdbInclude="# " nullExclude="" +test $INDEXDB = indexdb || indexInclude="# " +test $MAINDB = maindb || mainInclude="# " case $BACKEND in bdb | hdb) bdbInclude="" ;; null) nullExclude="# " ;; @@ -103,11 +105,11 @@ olcRootPW:: c2VjcmV0 olcMonitoring: TRUE ${nullExclude}olcDbDirectory: $TESTDIR/db.1.a/ ${bdbInclude}olcDbCacheSize: 1000 -${bdbInclude}olcDbIndex: objectClass eq -${bdbInclude}olcDbIndex: cn pres,eq,sub -${bdbInclude}olcDbIndex: uid pres,eq,sub -${bdbInclude}olcDbIndex: sn pres,eq,sub -${bdbInclude}olcDbMode: 384 +${indexInclude}olcDbIndex: objectClass eq +${indexInclude}olcDbIndex: cn pres,eq,sub +${indexInclude}olcDbIndex: uid pres,eq,sub +${indexInclude}olcDbIndex: sn pres,eq,sub +${mainInclude}olcDbMode: 384 # {0}memberof, {1}$BACKEND, config dn: olcOverlay={0}memberof,olcDatabase={1}$BACKEND,cn=config