On 12/11/04 7:14 am, Mike Jackson <[EMAIL PROTECTED]> wrote:
> ext Relho de Couro ([EMAIL PROTECTED]) wrote:
>> Hi,
>>
>> Does anyone know how to define (in a LDAP schema) an attribute of any kind?
>> I would like to create an attribute that supports any kind of symbol
>> contained in a keyboard or even binary data.
>>
>> Example of values for the desired attribute:
>>
>> attr: { anything } + { anything};
>> attr: binary data
>> attr: normal text
>> attr: any kind of programming source code
>>
>> Is there a way to do so?
>
> Hi,
> When you create the new attribute, just define it's syntax as
>
> DirectoryString -> 1.3.6.1.4.1.1466.115.121.1.15
[...]
> You can put anything you want into that type. It allows matching rules of:
No, you can only put in legal UTF-8 strings. You cannot use it with
arbitrary sequences of bytes unless...
> Note that you will need to encode binary data as base64 before adding it to
> the directory.
Cheers,
Chris