On Mon, Apr 22, 2002 at 12:49:17PM -0400, Fozia Zaidi wrote: > 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 ( 126.96.36.199.2 NAME 'rootkey' > DESC 'root key' > SYNTAX 188.8.131.52.4.1.14184.108.40.206.40 ) > > objectclass ( 220.127.116.11.2 NAME 'rootcert' > DESC 'root certificate' > SUP top AUXILIARY > MUST rootkey ) > Hello I'd try to give them different numbers e.g. if rootkey is 18.104.22.168.2, I'd give rootcert 22.214.171.124.3, rather than as here 126.96.36.199.2. You are loading this file correctly via an appropriate "include" line in slapd.conf? Bob -- Q: What is purple and commutes? A: An Abelian grape.
Description: PGP signature