[Date Prev][Date Next]
Re: extended characterset/binary/base64 support
Hi Sorry Dieter,
I have been trying to redo everything from the beginning, and now I
have got everything right except the same problem. Here is the error
which slapadd generates:
>>> dnPrettyNormal: <uid=ddmartin,o=trac>
<<< dnPrettyNormal: <uid=ddmartin,o=trac>, <uid=ddmartin,o=trac>
str2entry: invalid value for attribute clientorg (syntax
slapadd: could not parse entry (line=102853)
slapadd shutdown: initiated
slapadd shutdown: freeing system resources.
the entry in the ldiff file which corresponds to this uid is :
cn: Douglas Martin
Thanks & Regards
On 10/20/07, Dieter Kluenter <firstname.lastname@example.org> wrote:
> "Naufal Sheikh" <email@example.com> writes:
> > Nah,
> > when i import my ldif, it cannot parse all the entryies which have
> > extended chatacter set in their clientOrg attribute
> Do you get any error messages?
> Could you give an example?
> > On 10/19/07, Dieter Kluenter <firstname.lastname@example.org> wrote:
> >> "Naufal Sheikh" <email@example.com> writes:
> >> > Hello,
> >> >
> >> > I used slapcat command to create an ldiff file. Now ehen I am using
> >> > slapadd to import that ldiff file into my new server. it cannot parse
> >> > entries wchih have an attribute (clientOrg) value in extended
> >> > characterset/base64/binary... I am not sure what it is called. In
> >> > ldiff file those attribute and attribute values are seperated by
> >> > double colons, which I think is also pointing to the fact that the
> >> > value is a extended character set.
> >> This is base64 which you can easily read with a tool like mmencode.
> >> >
> >> > The original ldap server is running fine. Do i need to compile my new
> >> > ldap server with some additional support module, or is their any
> >> > option with slapaddd which I can use to convert the enrties in ldiff
> >> > or some thing..... If some can pleae point me to the right
> >> > direction. I have been reading many emails and articles, but I am
> >> > still not sure what to do.
> >> Just import the ldif file with slapadd, base64 coded attribute values
> >> are properly recognized.
> Dieter Klünter | Systemberatung
> GPG Key ID:8EF7B6C6