mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#10086 - Fix incorrect configurations in test
Fix test to be valid
This commit is contained in:
parent
5677a410e6
commit
52ee3e23a4
2 changed files with 24 additions and 10 deletions
|
|
@ -155,7 +155,7 @@ olcOverlay: syncprov
|
|||
dn: cn=config,cn=consumer
|
||||
changetype: add
|
||||
objectClass: olcGlobal
|
||||
cn: consumerconfig
|
||||
cn: config
|
||||
|
||||
dn: olcDatabase={0}config,cn=config,cn=consumer
|
||||
changetype: add
|
||||
|
|
@ -303,11 +303,11 @@ cn: module
|
|||
olcModulePath: ../servers/slapd/back-$BACKEND
|
||||
olcModuleLoad: back_$BACKEND.la
|
||||
|
||||
dn: cn=module,cn=config,cn=consumer
|
||||
dn: cn=module{0},cn=config,cn=consumer
|
||||
objectClass: olcModuleList
|
||||
cn: module
|
||||
cn: module{0}
|
||||
olcModulePath: ../servers/slapd/back-$BACKEND
|
||||
olcModuleLoad: back_$BACKEND.la
|
||||
olcModuleLoad: {0}back_$BACKEND.la
|
||||
EOF
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
|
|
@ -364,7 +364,14 @@ dn: olcDatabase={2}$BACKEND,cn=config
|
|||
changetype: modify
|
||||
add: olcDbIndex
|
||||
olcDbIndex: objectClass,entryUUID,entryCSN eq
|
||||
olcDbIndex: cn,uid pres,eq,sub
|
||||
olcDbIndex: cn,uid,sn pres,eq,sub
|
||||
|
||||
dn: olcDatabase={1}$BACKEND,cn=config,cn=consumer
|
||||
changetype: modify
|
||||
add: olcDbIndex
|
||||
olcDbIndex: default eq
|
||||
olcDbIndex: objectClass,entryUUID,entryCSN eq
|
||||
olcDbIndex: cn,uid,sn pres,eq,sub
|
||||
EOF
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ $LDAPMODIFY -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >> $TESTOUT 2>&1
|
|||
dn: cn=config,cn=consumer
|
||||
changetype: add
|
||||
objectClass: olcGlobal
|
||||
cn: consumerconfig
|
||||
cn: config
|
||||
|
||||
dn: olcDatabase={0}config,cn=config,cn=consumer
|
||||
changetype: add
|
||||
|
|
@ -446,11 +446,11 @@ test $BACKEND = null && nullExclude="# " nullOK="OK"
|
|||
|
||||
if [ "$BACKENDTYPE" = mod ]; then
|
||||
$LDAPADD -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >>$TESTOUT 2>&1
|
||||
dn: cn=module,cn=config,cn=consumer
|
||||
dn: cn=module{0},cn=config,cn=consumer
|
||||
objectClass: olcModuleList
|
||||
cn: module
|
||||
cn: module{0}
|
||||
olcModulePath: ../servers/slapd/back-$BACKEND
|
||||
olcModuleLoad: back_$BACKEND.la
|
||||
olcModuleLoad: {0}back_$BACKEND.la
|
||||
EOF
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
|
|
@ -507,7 +507,14 @@ dn: olcDatabase={2}$BACKEND,cn=config
|
|||
changetype: modify
|
||||
add: olcDbIndex
|
||||
olcDbIndex: objectClass,entryUUID,entryCSN eq
|
||||
olcDbIndex: cn,uid pres,eq,sub
|
||||
olcDbIndex: cn,uid,sn pres,eq,sub
|
||||
|
||||
dn: olcDatabase={1}$BACKEND,cn=config,cn=consumer
|
||||
changetype: modify
|
||||
add: olcDbIndex
|
||||
olcDbIndex: default eq
|
||||
olcDbIndex: objectClass,entryUUID,entryCSN eq
|
||||
olcDbIndex: cn,uid,sn pres,eq,sub
|
||||
EOF
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue