[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
str2entry: invalid value for attributeType userCertificate #0 (syntax 1.3.6.1.4.1.1466.115.121.1.8) ???
- To: <openldap-software@openldap.org>
- Subject: str2entry: invalid value for attributeType userCertificate #0 (syntax 1.3.6.1.4.1.1466.115.121.1.8) ???
- From: "Marcum, Bob" <Bob.Marcum@telecheck.com>
- Date: Wed, 11 Jul 2007 15:38:38 -0600
- Content-class: urn:content-classes:message
- In-reply-to: <46952C09.70904@sys-net.it>
- Thread-index: AcfD8I4b0bjzzXaiQfuhs0wBoaoU8AAEYPjA
- Thread-topic: str2entry: invalid value for attributeType userCertificate #0 (syntax 1.3.6.1.4.1.1466.115.121.1.8) ???
I am attempting to add some records to an ldap using slapadd and an ldif
file.
Here is the ldif entry:
objectclass: inetorgperson
objectclass: person
objectclass: top
dn: uid=12382227,ou=merchant,dc=telecheck,dc=com
ou: merchant
cn: 1238227
sn: 12382227
uid: 12382227
userPassword: xxxxxx
userCertificate: -----BEGIN PUBLIC KEY-----
MIHxMIGoBgcqhkjOOAQBMIGcAkEA/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII
864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9xD7nN1kuFwIVAJYu3cw2nLqO
uyYO5rahJtk0bjjFAkBnhHGyepz0TukaScUUfbGpqvJE8FpDTWSGkx0tFCcbnjUD
C3H9c9oXkGmzLik1Yw4cIGI1TQ2iCmxBblC+eUykA0QAAkEAtySSO449SjAuEKHQ
cJYtD1LQMjxz96soVwXdpwLYbExhxGte4SLfexYXAaN1bdA43xV8AVlujuCr9lNc
ZVB4jQ==
-----END PUBLIC KEY-----
displayName: " "
businessCategory: " "
description: " "
When I execute slapadd I get the error message shown above in the
subject line and the report that "slapadd: could not parse entry
(line=59)", which is the line after the compete entry, that is, after
'description: "" '.
I do not understand what is going on. I have done this before
successfully many times with the very same ldif file (I am sure!) What
is happening?
I have tried several formats for the userCertificate value: 1) using
Unicode representatons of the newlines (that is the one that has worked
in the past) 2) using ascii \n representations of the newlines.
None of these approaches now seem to work. Please help. Thanks!!
-----------------------------------------
The information in this message may be proprietary and/or
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify First Data
immediately by replying to this message and deleting it from your
computer.