Michael Ströder wrote:
Howard Chu wrote:
> Please use plaintext email only. This thread is mostly unreadable due to the
> multiple escapes and other garbage.
>
> michael(a)stroeder.com wrote:
>> You're talking about QQ (single quote ' mentioned in comment as %x27)
an=
>> d QS
>> (back-slash mentioned in comment as %x5C).
>>
>> AFAICS the double quote is %x22 and is included in QUTF1.
>
> Yes, DQUOTE is included in QUTF1 but that is not the issue here. The
> slapd.conf(5) syntax says explicitly that double quote is used to enclose
> arguments containing white space. Single quote has no significance to the
> slapd.conf parser. Arguments containing double quote that are meant to be
> taken literally must escape the quote with a backslash.
But then I would expect slapd to remove the backslash(es) used for quoting:
Good point. OK, there's some more work needed in here somewhere.
In slapd.conf:
---------------------------------- snip ----------------------------------
attributetype ( 1.3.6.1.4.1.5427.1.389.42.3
DESC 'Test attribute type with \"double quotes\" in DESC'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
---------------------------------- snip ----------------------------------
Returned via LDAP in subschema subentry (as LDIF):
attributeTypes: ( 1.3.6.1.4.1.5427.1.389.42.3 DESC 'Test attribute type with
\"double quotes\" in DESC' EQUALITY booleanMatch SYNTAX
1.3.6.1.4.1.1466.1
Ciao, Michael.
--
-- Howard Chu
CTO, Symas Corp.
http://www.symas.com
Director, Highland Sun
http://highlandsun.com/hyc/
Chief Architect, OpenLDAP
http://www.openldap.org/project/