[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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
1.3.6.1.4.1.1466.115.121.1.15)
slapadd: could not parse entry (line=102853)
slapadd shutdown: initiated
====> bdb_cache_release_all
slapadd shutdown: freeing system resources.
the entry in the ldiff file which corresponds to this uid is :
# id=00000d65
dn: uid=ddmartin,o=trac
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: tracperson
cn: Douglas Martin
uid: ddmartin
userPassword:: e1NIQX04RVFZWnRjaUFZZXU4OXhWTkhBYzAyemdaYTA9
clearpassword: warhol
givenName: Douglas
middlename: D
sn: Martin
clientorg:: TXVzc2VsaGH8cyBQcm9kdWN0aW9ucw==
affiliation: business
mailPreferenceOption: 0
l: Dallas
st: TX
postalCode: 75221
regsite: IRS
regdate: 05AUG97:23:43:01
regip: dalmodemc12.ticnet.com
structuralObjectClass: tracperson
entryUUID: 531bb19a-74d8-102a-86ea-90f8caf384a9
creatorsName: cn=nsadmin
modifiersName: cn=nsadmin
createTimestamp: 20060511012215Z
modifyTimestamp: 20060511012215Z
entryCSN: 20060511012215Z#000002#00#000000
Thanks & Regards
Naufal
On 10/20/07, Dieter Kluenter <dieter@dkluenter.de> wrote:
> "Naufal Sheikh" <naufalzamir@gmail.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?
>
> -Dieter
>
> > On 10/19/07, Dieter Kluenter <dieter@dkluenter.de> wrote:
> >> "Naufal Sheikh" <naufalzamir@gmail.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
> http://www.dkluenter.de
> GPG Key ID:8EF7B6C6
>