You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Martin Marcher (JIRA)" <ji...@apache.org> on 2007/05/10 13:20:15 UTC

[jira] Created: (DIRSERVER-925) apacheds allows multible structural objectClasses

apacheds allows multible structural objectClasses
-------------------------------------------------

                 Key: DIRSERVER-925
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
             Project: Directory ApacheDS
          Issue Type: Bug
         Environment: apacheds 1.5.0
amd64 xen domU
128MB ram java 16u1
            Reporter: Martin Marcher


This can be added with LDAPStudio to a directory tree:

dn: ou=auto.master,dc=example,dc=com
objectClass: automountMap
objectClass: organizationalUnit
objectClass: top
ou: auto.master

howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Reopened: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ersin Er reopened DIRSERVER-925:
--------------------------------


RFC 4512 (http://tools.ietf.org/html/rfc4512#section-2.4) states that this is not an allowed condition. Here is a snippet:

"An object or alias entry is characterized by precisely one
      structural object class superclass chain which has a single
      structural object class as the most subordinate object class.
      This structural object class is referred to as the structural
      object class of the entry."

"Each entry is said to belong to its structural object class as well
   as all classes in its structural object class's superclass chain."



> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Assigned: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu reassigned DIRSERVER-925:
---------------------------------------

    Assignee: Alex Karasulu

> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>            Assignee: Alex Karasulu
>             Fix For: 1.5.1
>
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Resolved: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-925.
-----------------------------------------

    Resolution: Invalid

RFC 2252 states :

"4.4. Object Classes

   The format for representation of object classes is defined in X.501
   [3]. In general every entry will contain an abstract class ("top" or
   "alias"), *at least one structural object class*...

So having more than one structural ObjectClass is not forbiden.

> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Commented: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521379 ] 

Emmanuel Lecharny commented on DIRSERVER-925:
---------------------------------------------

To be clear, a STRUCTURAL OC can inherit from another STRUCTURAL OC. We can have this inheritance chain :
STRUCTURAL --> (STRUCTURAL)* --> (ABSTRACT)* --> 'top' 

In the previous sample, we have two disjointed structural objects :
automountMap --> top
and
organizationalUnit -> top

This is plain wrong, and should be detected by the server.


> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>             Fix For: 1.5.1
>
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Closed: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu closed DIRSERVER-925.
-----------------------------------

    Resolution: Fixed

Fixed in the following commit revision:

     http://svn.apache.org/viewvc?view=rev&revision=569879

All integration tests passed.

> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>            Assignee: Alex Karasulu
>             Fix For: 1.5.1
>
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Commented: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494760 ] 

Emmanuel Lecharny commented on DIRSERVER-925:
---------------------------------------------

Damn!!!

I was wrong !

Ok, this is a clear bug...

> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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


[jira] Updated: (DIRSERVER-925) apacheds allows multible structural objectClasses

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-925:
----------------------------------------

        Fix Version/s: 1.5.1
    Affects Version/s: 1.5.0

> apacheds allows multible structural objectClasses
> -------------------------------------------------
>
>                 Key: DIRSERVER-925
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-925
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: apacheds 1.5.0
> amd64 xen domU
> 128MB ram java 16u1
>            Reporter: Martin Marcher
>             Fix For: 1.5.1
>
>
> This can be added with LDAPStudio to a directory tree:
> dn: ou=auto.master,dc=example,dc=com
> objectClass: automountMap
> objectClass: organizationalUnit
> objectClass: top
> ou: auto.master
> howeber automountMapt and organizationalUnit are both structural objectClasses, I think that is a violation of the LDAP RFC

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