I referenced both the section 4.3 and 6.27 of the rfc2252 and tried the following:
However, none of the above worked. What is the correct way of doing the escape? Your help will be much appreciated!
----- Original Message ----
From: Dieter Kluenter <firstname.lastname@example.org>
Sent: Wednesday, April 23, 2008 6:37:33 AM
Subject: Re: AW: Invalid syntax (21)
Luke Lee <email@example.com
> Hi Claus,
> Thank you for your valuable opinion.
> I tried to "fix" the syntax problem by removing the _ from the username. It
> worked! However, I want to use the _ because this is my company's user naming
> convention. I have to point out that when I ran the early version of OpenLDAP
> (version 2.2-13), there were no syntax problems when I used the ldif with the
> nisNetgroupTriple that was defined. I just did a custom build of OpenLDAP
> (version 2.3-39).
Then, I immediately encountered the invalid syntax problem
> when I triled to load the same ldif.
RFC-2307 defines the attribute elements of syntax 'keystring,
keystring, as defined in rfc2252, does not allow underscores, if you
do require underscores you may escape this character.
Dieter Klünter | Systemberatunghttp://www.dkluenter.de
GPG Key ID:8EF7B6C6