[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problems adding
- To: openldap-software@OpenLDAP.org
- Subject: problems adding
- From: Fozia Zaidi <fzaidi@karthika.com>
- Date: Mon, 22 Apr 2002 12:49:17 -0400
- Organization: Karthika Technologies: www.karthika.com
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214
Hi,
I'm having problems using ldapadd in adding this DER file to the ldap
directory.
I've also made sure to kill and restart slapd after changing the schema
file.
I tried using both binary and octet syntax for the attribute, but both
give me this error:
ldap_add: Undefined attribute type
additional info: root cert: attribute type undefined
Can anyone help me out with what I may be doing wrong?
Do I need to encode the DER file using base 64 or is there an error in
the way I pointed to the file?
here's my ldif file:
dn: cn=jennifer,dc=karthika,dc=com
objectclass: person
objectclass: rootcert
cn: jennifer
sn: jones
rootcert: file:///home/project/rsaX509.der
Here is the schema file read into slapd.conf
attributetype ( 4.3.3.1.2 NAME 'rootkey'
DESC 'root key'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
objectclass ( 4.3.2.1.2 NAME 'rootcert'
DESC 'root certificate'
SUP top AUXILIARY
MUST rootkey )
--
Fozia Zaidi
Software Designer
Karthika Technologies
Toronto, ON, Canada
Phone: (416) 214-2609, Ext 38
Email: fzaidi@karthika.com Web: http://www.karthika.com