[ 
https://issues.apache.org/jira/browse/DIRSERVER-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478593
 ] 

Stefan Seelmann commented on DIRSERVER-865:
-------------------------------------------

I was able to import this LDIF without an error, I tested it successfully with 
LDAP Studio and with JXplorer.

As far as i know you have to specify some attribute types for selfValue. For 
example "protectedItems { selfValue { mail } }, ". Here is the grammar of ACIs: 
http://docs.safehaus.org/display/APACHEDS/ABNF+syntax+for+LDAP+ACIItem

BTW: We a working on an editor for ACIs, both a GUI and a source editor with 
syntax highlighting. I think it will be available with the next LDAP Studio 
release.


> errors when importing ACI from LDIF file containing tabs
> --------------------------------------------------------
>
>                 Key: DIRSERVER-865
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-865
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: Windows XP
> Java 5.0 (Sun)
> JXplorer
>            Reporter: Marek
>         Attachments: allow John to read his name-space.error, allow John to 
> read his name-space.ldif, allow John to read his name-tab.error, allow John 
> to read his name-tab.ldif
>
>
> When I import "allow John to read his name-tab.ldif" file which contains tabs 
> I receive the following error in JXplorer and nothing is actually imported:
> javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 
> 17 - failed to add entry 
> cn=allowJohnToReadHisName_ACI12,o=sevenSeas,dc=example,dc=com:         
> itemoruserfirst userfirst not found in attribute registry!:
> org.apache.directory.shared.ldap.exception.LdapInvalidAttributeIdentifierException:
>    itemoruserfirst userfirst not found in attribute registry!
>       at 
> org.apache.directory.server.core.schema.SchemaService.check(SchemaService.java:1598)
> When I change tabs to spaces i receive the following error, but everything is 
> imported correctly:
> javax.naming.NamingException: [LDAP: error code 54 - failed to add entry 
> cn=allowJohnToReadHisName_ACI13,o=sevenSeas,dc=example,dc=com: Unexpected 
> exception.:
> org.apache.directory.server.core.interceptor.InterceptorException: Unexpected 
> exception. [Root exception is java.lang.NullPointerException]
>       at 
> org.apache.directory.server.core.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1510)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to