]> git.sur5r.net Git - openldap/commitdiff
Add case to 009
authorKurt Zeilenga <kurt@openldap.org>
Thu, 29 Aug 2002 02:55:39 +0000 (02:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 29 Aug 2002 02:55:39 +0000 (02:55 +0000)
tests/scripts/test009-referral

index bf295ea656c46ae833a17ad84634c155b7b31e50..aab5a45356f3bd90a1b18d6f25c7550006e81547 100755 (executable)
@@ -127,6 +127,18 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
+echo "Testing objectClass/attributeType inheritance ..."
+$LDAPSEARCH -M -a never -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \
+       '(&(objectClass=inetorgperson)(userid=uham))' \
+       "2.5.4.0" "userid" >> $SEARCHOUT 2>&1
+RC=$?
+if test $RC != 0 ; then
+       echo "ldapsearch failed ($RC)!"
+       kill -HUP $PID
+       exit $RC
+fi
+
+
 kill -HUP $PID $SLAVEPID
 
 LDIF=$SEARCHOUTMASTER