Re: [389-users] Issue with schema replication

2012-05-10 Thread Rich Megginson

On 05/10/2012 06:37 AM, Moisés Barba Pérez wrote:

Hi,

I'm upgrading one 389DS machine from 1.2.5 to 1.2.10.7 and I have 
found a problem when replicate the schema from another 1.2.5 DS machine.


I had created an attribute like this:

attributeTypes: (

  NAME 'x'
  DESC 'y'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
  SINGLE-VALUE
  )

and at replication time get this error:

[10/May/2012:14:35:31 +0200] attr_syntax_create - Error: the EQUALITY 
matching rule [caseIgnoreIA5Match] is not compatible with the syntax 
[1.3.6.1.4.1.1466.115.121.1.15] for the attribute [x]


   Is there a default equality matching rule for this manual attributes???


Yes, but by default 1.3.6.1.4.1.1466.115.121.1.15 (DirectoryString) 
should use caseIgnoreMatch, not caseIgnoreIA5Match - not sure what's 
going on here, why it is trying to use IA5 with DirectoryString.


Have I to modify the attribute with a equality matching rule for it in 
the original 1.2.5 DS to be able to replicate???


Should you have to do this?  No.  Is there a bug that is preventing this 
from working correctly, and if you add a valid matching rule to your 
schema definition, will that make schema replication work?  Possibly.



Is it a problem between versions??? If someone could help me i will 
appreciate it.


Regards,
Moses.


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

[389-users] Issue with schema replication

2012-05-10 Thread Moisés Barba Pérez
Hi,

I'm upgrading one 389DS machine from 1.2.5 to 1.2.10.7 and I have found a
problem when replicate the schema from another 1.2.5 DS machine.

I had created an attribute like this:

attributeTypes: (
  
  NAME 'x'
  DESC 'y'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
  SINGLE-VALUE
  )

and at replication time get this error:

[10/May/2012:14:35:31 +0200] attr_syntax_create - Error: the EQUALITY
matching rule [caseIgnoreIA5Match] is not compatible with the syntax
[1.3.6.1.4.1.1466.115.121.1.15] for the attribute [x]

   Is there a default equality matching rule for this manual attributes???
Have I to modify the attribute with a equality matching rule for it in the
original 1.2.5 DS to be able to replicate??? Is it a problem between
versions??? If someone could help me i will appreciate it.

Regards,
Moses.
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users