[jira] Commented: (DIRSERVER-865) errors when importing ACI from
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-865) errors when importing ACI from




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-865) errors when importing ACI from  
Marek (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-07 12:11 PM


[ https://issues.apache.org/jira/brow...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=sevenSeasAuthorizationRequirementsACI
Subentry,o=sevenSeas,dc=example,
dc=com
objectclass: top
objectclass: subentry
objectclass: accessControlSubentry
cn:  sevenSeasAuthorizationRequirementsACISub
entry
subtreeSpecification: {}
prescriptiveACI: {
identificationTag " allowAllUsersToSubscribeToUnsubscribeFro
mAMailingList_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. Othe
rwise 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 t
o read his name-space.ldif, allow John to read his name-tab.error, allow Joh
n to read his name-tab.ldif
>
>
> When I import "allow John to read his name-tab.ldif" file which contains t
abs I receive the following error in JXplorer and nothing is actually import
ed:
> javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: err
or code 17 - failed to add entry  cn=allowJohnToReadHisName_ACI12,o=sevenS
eas
,dc=example,dc=com: 	itemoruserfirst userfirst not found in attribute regist
ry!:
> org.apache.directory.shared.ldap.exception.LdapInvalidAttributeIdentifierE
xception: 	itemoruserfirst userfirst not found in attribute registry!
> 	at org.apache.directory.server.core.schema.SchemaService.check(SchemaServ
ice.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 ent
ry  cn=allowJohnToReadHisName_ACI13,o=sevenS
eas,dc=example,dc=com: Unexpected
 exception.:
> org.apache.directory.server.core.interceptor.InterceptorException: Unexpec
ted exception. [Root exception is java.lang.NullPointerException]
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.throwInterceptor
Exception(InterceptorChain.java:1510)

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:20 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register