Leave pwdPolicySubEntry user-modifiable for now

This commit is contained in:
Howard Chu 2005-08-26 00:19:08 +00:00
parent 939831921e
commit d7122627fa
2 changed files with 8 additions and 2 deletions

View 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 }
};

View file

@ -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