[jira] Commented: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-06 Thread Marek (JIRA)

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

Marek commented on DIRSERVER-865:
-

Before I exected "the ldif file with spaces", I executed other file contining 
something like this

dn: o=sevenSeas,dc=example,dc=com
changetype: modify
add: administrativeRole
administrativeRole: accessControlSpecificArea


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



[jira] Commented: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-06 Thread Marek (JIRA)

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

Marek commented on DIRSERVER-865:
-

I also get NPE while importing such an ACI, which I copy pasted (and changed a 
little bit) from "ApacheDS Access Control Administration; The X.500 Way", 
Presented by Ersin Er

dn: 
cn=sevenSeasAuthorizationRequirementsACISubentry,o=sevenSeas,dc=example,dc=com
objectclass: top
objectclass: subentry
objectclass: accessControlSubentry
cn: sevenSeasAuthorizationRequirementsACISubentry
subtreeSpecification: {}
prescriptiveACI: {
 identificationTag 
"allowAllUsersToSubscribeToUnsubscribeFromAMailingList_ACI",
 precedence 14, 
 authenticationLevel simple,
 itemOrUserFirst userFirst: 
 {
 userClasses 
 {
allUsers
 },
 userPermissions 
 {
 { 
   protectedItems { entry },
   grantsAndDenials { grantModify }
 },
 { 
   protectedItems { selfValue },
   grantsAndDenials { grantRemove, grantAdd }
 }
 }
  }
  }

I discovered, that if I change selfValue->entry, everything works fine. 
Otherwise I get NPE while importing this by JXplorer.


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



[jira] Commented: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek commented on DIRSERVER-865:
-

I have noticed that NullPointerException happens when the last line looks like 
this: 
"}"

When the last line looks like this:
"  }" 
there is no NPE.


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



[jira] Commented: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek commented on DIRSERVER-865:
-

The error affects version 1.0.

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



[jira] Updated: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek updated DIRSERVER-865:


Attachment: allow John to read his name-space.error

Error after importing ldif containing spaces. Error eccures in JXplorer, but 
everything is imported correctly, so not a big ussue.

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



[jira] Updated: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek updated DIRSERVER-865:


Attachment: allow John to read his name-space.ldif

file containing spaces instead of tabs

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



[jira] Updated: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek updated DIRSERVER-865:


Attachment: allow John to read his name-tab.error

error after importing ldif file containing tabs

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



[jira] Updated: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)

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

Marek updated DIRSERVER-865:


Attachment: allow John to read his name-tab.ldif

File containing tabs.

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



[jira] Created: (DIRSERVER-865) errors when importing ACI from LDIF file containing tabs

2007-03-05 Thread Marek (JIRA)
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-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.



[jira] Updated: (DIRSERVER-860) javax.naming.NamingException when filter contains negation operation and value of attribute is specified

2007-02-27 Thread Marek (JIRA)

 [ 
https://issues.apache.org/jira/browse/DIRSERVER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marek updated DIRSERVER-860:


Attachment: foo-test.zip

> javax.naming.NamingException when filter contains negation operation and 
> value of attribute is specified
> 
>
> Key: DIRSERVER-860
> URL: https://issues.apache.org/jira/browse/DIRSERVER-860
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.0.1
> Environment: Windows XP
> jre1.5.0_10
>Reporter: Marek
> Attachments: foo-test.zip
>
>
> I get javax.naming.NamingException when filter contains negation operation 
> and value of attribute is specified. Below are filters for which everything 
> works fine and for which it is not.
> (!(ou=Marek)) OK
> (!(cn=*)) OK
> (!(cn=Marek)) FAILS
> (!(description=*)) OK
> (!(description=Marek)) FAILS

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



[jira] Created: (DIRSERVER-860) javax.naming.NamingException when filter contains negation operation and value of attribute is specified

2007-02-27 Thread Marek (JIRA)
javax.naming.NamingException when filter contains negation operation and value 
of attribute is specified


 Key: DIRSERVER-860
 URL: https://issues.apache.org/jira/browse/DIRSERVER-860
 Project: Directory ApacheDS
  Issue Type: Bug
Affects Versions: 1.0.1
 Environment: Windows XP
jre1.5.0_10
Reporter: Marek


I get javax.naming.NamingException when filter contains negation operation and 
value of attribute is specified. Below are filters for which everything works 
fine and for which it is not.

(!(ou=Marek)) OK
(!(cn=*)) OK
(!(cn=Marek)) FAILS
(!(description=*)) OK
(!(description=Marek)) FAILS


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