[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: upgrade a ldapV2 base to ldapV3 : incompatibility



RFC 2252 defines attribute, objectclass definition. 

that document wrote as follows.

1. AttributeTypeDescription = "(" whsp
            numericoid whsp              ; AttributeType identifier
          [ "NAME" qdescrs ]             ; name used in AttributeType
          ..........

2.      ; object descriptors used as schema element names
     qdescrs         = qdescr / ( whsp "(" qdescrlist ")" whsp )

3. qdescr          = whsp "'" descr "'" whsp
4. descr           = keystring
5. keystring       = a [ anhstring ]
6. anhstring       = 1*k
7. k               = a / d / "-" / ";"
8.     a     = "a" / "b" / "c" / "d" / "e" / "f" / "g" / "h" / "i" /
            "j" / "k" / "l" / "m" / "n" / "o" / "p" / "q" / "r" /
            "s" / "t" / "u" / "v" / "w" / "x" / "y" / "z" / "A" /
            "B" / "C" / "D" / "E" / "F" / "G" / "H" / "I" / "J" /
            "K" / "L" / "M" / "N" / "O" / "P" / "Q" / "R" / "S" /
            "T" / "U" / "V" / "W" / "X" / "Y" / "Z"

    d               = "0" / "1" / "2" / "3" / "4" /
                      "5" / "6" / "7" / "8" / "9"

---------------------------------------------------------------

so attribute name can contains alphabet character, digit number, "-", ";"

>
>
Hello all,

My aim is to upgrade a ldap V2 base (openldap 1.2.7) to ldap V3 using 
openldap (2.0.7)
I found a problem with european accents and now I find another problem:

Some caracters are forbidden for attribute description

With ldap V2 I used "_" in some attributes definition (ex: my_photo)

Obviously ldap V3 (openldap 2.0.7) refuse this description (when I rename it 
into myphoto that functions).

Is anyone knows the list of forbidden caracters which cannot be used in 
attribut description ?

Thanks,
Fabrice

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



-----------------------------------------------------
Mail beyond Mail Mailution
http://www.mailution.com
-----------------------------------------------------
Yunhwan Kang
GRTG Corporation. Development Dept. Technical Staff
http://www.grtg.com
mail:  vanora@korea.com, 강윤환@grtg.com, vanora@grtg.com, vanora@mailution.com
personal hompage : http://vanora.pe.kr
-----------------------------------------------------