[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: encoding format for comments/notes/info attributes
ramana writes:
> What encoding generally used for comments/notes/info type attributes. I
> mean for newlines chars.
>
> Its like postal address encoding i.e. '$' for newline character?
It depends on the attribute type's syntax. '$' is specific for the
Postal Address syntax and some other syntaxes. For most attributes,
which have the Directory String syntax (1.3.6.1.4.1.1466.115.121.1.15),
'$' has no special meaning - you just use CRLF (hex 0D 0A). Or maybe
just LF (hex 0A) if your LDAP directory is used for Unix only or read by
C programs only.
If you are writing this in an LDIF file, you need to use the
'attribute:: <base64-encoded value>' format.
--
Hallvard