directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Adamson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1625) Cannot modify a prescriptiveAci on a subEntry
Date Mon, 20 Jun 2011 08:39:47 GMT
Cannot modify a prescriptiveAci on a subEntry
---------------------------------------------

                 Key: DIRSERVER-1625
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1625
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
            Reporter: Mike Adamson


Attempting to replace an aci on a subEntry using a user session with the following:

ModifyRequest modifyRequest = new ModifyRequestImpl().setName(subEntryDn).replace(aciAttribute);
session.modify(modifyRequest);

results in a LdapSchemaViolationException

I have tracked this down to this block of code at the bottom of the AciAuthorizationInterceptor.modify
method:

        Entry modifiedEntry = modifyContext.lookup( dn, ByPassConstants.LOOKUP_BYPASS );
        tupleCache.subentryModified( dn, mods, modifiedEntry );
        groupCache.groupModified( dn, mods, entry, schemaManager );


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message