"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.
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
Hi,
"Naufal Sheikh" naufalzamir@gmail.com writes:
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)
clientorg:: TXVzc2VsaGH8cyBQcm9kdWN0aW9ucw==
And slapadd is right here as the attribute value for clientorg is not pure ascii 'Musselha� Productions', there is a strange character in the value.
-Dieter
"Dieter Kluenter" dieter@dkluenter.de writes:
Hi,
"Naufal Sheikh" naufalzamir@gmail.com writes:
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)
clientorg:: TXVzc2VsaGH8cyBQcm9kdWN0aW9ucw==
And slapadd is right here as the attribute value for clientorg is not pure ascii 'Musselha� Productions', there is a strange character in the value.
sorry some misinterpretation on my side, syntax of clientorg is directory string, not IA5string, but still there is a strange character in the value which cannot be read. My working environment is UTF-8 but still my system cannot display this character.
-Dieter
ok, so what are my options here. I am very new at ldap, and am doing this migration by installing the software and copying the config files. Is there any module or library which needs to be installed to get this resolved, because this thing is working on the current production system. If you can just point me to the right direction..
Thanks and Regards Naufal
On 10/25/07, Dieter Kluenter dieter@dkluenter.de wrote:
"Dieter Kluenter" dieter@dkluenter.de writes:
Hi,
"Naufal Sheikh" naufalzamir@gmail.com writes:
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)
clientorg:: TXVzc2VsaGH8cyBQcm9kdWN0aW9ucw==
And slapadd is right here as the attribute value for clientorg is not pure ascii 'Musselha� Productions', there is a strange character in the value.
sorry some misinterpretation on my side, syntax of clientorg is directory string, not IA5string, but still there is a strange character in the value which cannot be read. My working environment is UTF-8 but still my system cannot display this character.
-Dieter
-- Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:8EF7B6C6
--On Thursday, October 25, 2007 10:08 AM -0400 Naufal Sheikh naufalzamir@gmail.com wrote:
ok, so what are my options here. I am very new at ldap, and am doing this migration by installing the software and copying the config files. Is there any module or library which needs to be installed to get this resolved, because this thing is working on the current production system. If you can just point me to the right direction..
You need to fix the data.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Naufal Sheikh naufalzamir@gmail.com writes:
ok, so what are my options here. I am very new at ldap, and am doing this migration by installing the software and copying the config files. Is there any module or library which needs to be installed to get this resolved, because this thing is working on the current production system. If you can just point me to the right direction..
On 10/25/07, Dieter Kluenter dieter@dkluenter.de wrote:
"Dieter Kluenter" <dieter@dkluenter.de> writes:
> "Naufal Sheikh" <naufalzamir@gmail.com > writes:
>> 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) >> >> clientorg:: TXVzc2VsaGH8cyBQcm9kdWN0aW9ucw== > 'Musselha� Productions', there is a strange character in > the value.
As I mentioned already the attribute value of clientorg is somehow corrupted or contains a character that is not valid in accordance with the syntax description of directory string. For more information on directory string syntax see RFC 4517 section 3.6, RFC 4512 section 1.4 and RFC 3629. just reenter the correct value and you are done.
-Dieter
openldap-software@openldap.org