You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Andreas Eternach (JIRA)" <ji...@apache.org> on 2008/06/24 11:06:45 UTC
[jira] Created: (DIRSTUDIO-346) Export of Array-Attribute-Types for
Apache-DS not working correctly
Export of Array-Attribute-Types for Apache-DS not working correctly
-------------------------------------------------------------------
Key: DIRSTUDIO-346
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
Project: Directory Studio
Issue Type: Bug
Components: studio-apacheds-configuration
Affects Versions: 1.1.0
Reporter: Andreas Eternach
Hi there,
i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: 2.5.4.5
m-name: serialNumber
m-description: RFC2256: serial number of the entity
m-equality: caseIgnoreMatch
m-substr: caseIgnoreSubstringsMatch
m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: 2.5.4.5
m-name: serialNumber
m-description: RFC2256: serial number of the entity
m-equality: caseIgnoreMatch
m-substr: caseIgnoreSubstringsMatch
m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
m-singleValue=FALSE
<attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
<aliases>
<alias>serialNumber</alias>
</aliases>
<description>RFC2256: serial number of the entity</description>
<usage>USER_APPLICATIONS</usage>
<syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
<equality>caseIgnoreMatch</equality>
<substring>caseIgnoreSubstringsMatch</substring>
</attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-346) Export of Array-Attribute-Types
for Apache-DS not working correctly
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763906#action_12763906 ]
Stefan Seelmann commented on DIRSTUDIO-346:
-------------------------------------------
I tested with ApacheDS 1.5.2 and the current 1.5.5:
I added three attribute types using LDIF:
1. one with explicit "m-singleValue: TRUE"
2. one with explicit "m-singleValue: FALSE"
3. one without any "m-singleValue"
Afterwards I created an entry, it works as expected:
- the 1st attribute is single-valued, only one value could be added
- the 2nd and 3rd attribute are multi-valued, multiple values could be added
So the 3rd attribute type without an explicit "m-singleValue" defaults to multi-valued.
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-346) Export of Array-Attribute-Types
for Apache-DS not working correctly
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607560#action_12607560 ]
Emmanuel Lecharny commented on DIRSTUDIO-346:
---------------------------------------------
Sounds like a bug in ADS 1.5.2 ...
Let me double-check.
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-346) Export of Array-Attribute-Types
for Apache-DS not working correctly
Posted by "Andreas Eternach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607546#action_12607546 ]
Andreas Eternach commented on DIRSTUDIO-346:
--------------------------------------------
Thanks for your reply.
I am working with ADS 1.5.2 and this version defaults to singleValue, i.e. each created attribute-type gets the default-attribute "m-singleValue=TRUE".
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSTUDIO-346) Export of Array-Attribute-Types for
Apache-DS not working correctly
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot closed DIRSTUDIO-346.
--------------------------------------------
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSTUDIO-346) Export of Array-Attribute-Types
for Apache-DS not working correctly
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seelmann resolved DIRSTUDIO-346.
---------------------------------------
Resolution: Cannot Reproduce
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-346) Export of Array-Attribute-Types
for Apache-DS not working correctly
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607528#action_12607528 ]
Emmanuel Lecharny commented on DIRSTUDIO-346:
---------------------------------------------
I'm not sure I get your point?
The SerialNumber attributeType is found in OpenLdap core-schema, and is not Single valued :
attributetype ( 2.5.4.5 NAME 'serialNumber' EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )
ADS default to multi-valued attributeType, not to single-valued, AFAIK.
> Export of Array-Attribute-Types for Apache-DS not working correctly
> -------------------------------------------------------------------
>
> Key: DIRSTUDIO-346
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-346
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds-configuration
> Affects Versions: 1.1.0
> Reporter: Andreas Eternach
>
> Hi there,
> i detected a problem related to array-attribute-types. When i export the core-schema to format Apache-DS i get following LDIF-Output for attribute serialNumber (which is actually an array type):
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> IMHO the Schama-Exporter sould add 'm-singleValue=FALSE' in case the xml-attribute, because the ApacheDS generates default-value m-singleValue=TRUE:
> dn: m-oid=2.5.4.5, ou=attributeTypes, cn=core, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 2.5.4.5
> m-name: serialNumber
> m-description: RFC2256: serial number of the entity
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.44
> m-singleValue=FALSE
>
> <attributetype oid="2.5.4.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
> <aliases>
> <alias>serialNumber</alias>
> </aliases>
> <description>RFC2256: serial number of the entity</description>
> <usage>USER_APPLICATIONS</usage>
> <syntax>1.3.6.1.4.1.1466.115.121.1.44</syntax>
> <equality>caseIgnoreMatch</equality>
> <substring>caseIgnoreSubstringsMatch</substring>
> </attributetype>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.