mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
add was failing because not compliant with schema
This commit is contained in:
parent
43a8dc824f
commit
4117b4d44e
1 changed files with 8 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ $LDAPADD -D "$REFINTDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
|
|||
$TESTOUT 2>&1 << ETEST
|
||||
dn: uid=special,ou=users,o=refint
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: extensibleObject
|
||||
uid: special
|
||||
sn: special
|
||||
cn: special
|
||||
|
|
@ -171,6 +172,13 @@ givenName: special
|
|||
member: uid=alice,ou=users,o=refint
|
||||
ETEST
|
||||
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapadd failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Testing delete when referential attribute is a MUST..."
|
||||
$LDAPMODIFY -v -D "$REFINTDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
|
||||
$TESTOUT 2>&1 << EDEL
|
||||
|
|
|
|||
Loading…
Reference in a new issue