[jira] Created: (DIRSERVER-912) prescriptivACI OID is not registred
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] Created: (DIRSERVER-912) prescriptivACI OID is not registred




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

    [jira] Created: (DIRSERVER-912) prescriptivACI OID is not registred  
Emmanuel Lecharny (JIRA)


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


 
04-24-07 12:11 AM

prescriptivACI OID is not registred in registries
-------------------------------------------------

Key: DIRSERVER-912
URL: https://issues.apache.org/jira/browse/DIRSERVER-912
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Emmanuel Lecharny
Fix For: 1.5.1


When doing a attributeTypeRegistry.lookup( "2.5.24.4" ), we obtain a NPE, wh
ile attributeTypeRegistry.lookup( "prescriptiveACI" ) just return the correc
t AttributeType.

The problem is that the prescriptiveACI's OID is set to 1.3.6.1.4.1.18060.0.4.1.2.12, w
hen it should be 2.5.24.4 (as stated here : http://www.alvestrand.no/objectid/2.5.
24.4.html). Here are the declaration in the apache.schema file :

attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.12 NAME 'prescriptiveACI'
DESC 'Access control information that applies to a set of entries'
EQUALITY directoryStringFirstComponentMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.1
USAGE directoryOperation )

attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.13 NAME 'entryACI'
DESC 'Access control information that applies to a single entry'
EQUALITY directoryStringFirstComponentMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.1
USAGE directoryOperation )

attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.14 NAME 'subentryACI'
DESC 'Access control information that applies to a single subentry'
EQUALITY directoryStringFirstComponentMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.1
USAGE directoryOperation )

We can found RFC draft where those elements have a different OID (this draft
 was a previous version of RFC 2252)
http://tools.ietf.org/html/draft-ie...3-attributes-01 states :

"3.4. Standard Operational Attributes


These attributes are defined in X.501(1993) Annexes B through E.  All
servers must recognize the attributes "createTimestamp",
"modifyTimestamp", "creatorsName", "modifiersName", "attributeTypes",
"objectClasses" and "subschemaSubentry".  Servers implementing X.500
protocols must recognize all of the attributes listed here.

Attribute Type Name        OID          Syntax
====================       ============ ================
...
accessControlScheme        2.5.24.1     OID
prescriptiveACI            2.5.24.4     ACIItem
entryACI                   2.5.24.5     ACIItem
subentryACI                2.5.24.6     ACIItem"

I would sugggest we switch to those OID numbers, to avoid potential problem 
later (OID are unique if we use Apache OIDs, but as name should not collide 
either, better fixing this now.)


--
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 12:38 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