]> git.sur5r.net Git - openldap/commitdiff
Leave pwdPolicySubEntry user-modifiable for now
authorHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 00:19:08 +0000 (00:19 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 26 Aug 2005 00:19:08 +0000 (00:19 +0000)
servers/slapd/overlays/ppolicy.c
tests/scripts/test022-ppolicy

index 115529014b3d6812e51fc149c3a8153472486eab..006631cb8a4dff972240fe430afca9df38653281 100644 (file)
@@ -155,7 +155,12 @@ static struct schema_info {
                "DESC 'The pwdPolicy subentry in effect for this object' "
                "EQUALITY distinguishedNameMatch "
                "SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 "
-               "SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )",
+               "SINGLE-VALUE "
+#if 0
+               /* Not until MANAGEDIT control is released */
+               "NO-USER-MODIFICATION "
+#endif
+               "USAGE directoryOperation )",
                &ad_pwdPolicySubentry },
        { NULL, NULL }
 };
index f78e257cd1b9af20caf483e5fd115a18ac43040c..e1aac0c336ca17da07ece1ce89296a63cae93419 100755 (executable)
@@ -54,7 +54,8 @@ if test $RC != 0 ; then
 fi
 
 echo "Using ldapadd to populate the database..."
-$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD -e manageDIT < \
+# may need -e manageDIT for draft 09, but not yet.
+$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
        $LDIFPPOLICY > $TESTOUT 2>&1
 RC=$?
 if test $RC != 0 ; then