Quoting Quanah Gibson-Mount <[EMAIL PROTECTED]>:
--On Tuesday, December 05, 2006 2:28 PM -0500
[EMAIL PROTECTED] wrote:
Sorry,
Yes, file is created using ldapsearch called via a .sh scripteverynight
through cron. How do I add > <= str2entry:str2ad(version): attribute
type undefined?
You are totally and utterly confused at this point, I can tell. You do
not need, nor should you add, the str2entry bit. That's the name of
the function that is taking a string and converting it to an entry.
What you need to do first, is to stop your old LDAP server and use
slapcat to generate the LDIF, and stop munging it. Then try to slapadd
that, and see if you actually get any errors. It looks like the source
of your problems is caused by munging the LDIF file created by
ldapsearch in the first place.
Slaptest shows no errors in slapd.conf, but I will edit line 107. I'll
try slapadd from a slapcat file. That isnt a problem.
slaptest does not report all errors. However, your debug log clearly
showed line 107 or around there as not being correct.
Quite right. I am quite confused. But I did stop my ldap server and
did a slapcat so I would have a good .ldif file. It didnt import
either. I do have an error at line 107, and I will fix it in the
morning. Slapadd complains about not being able to parse lines such
and such. The line is a blank space in the .ldif file. But after
reading man ldif and openldap.org about the .ldif file blank spaces
should be ok. I'll hammer on it some more in the morning. Really do
appreciate the help.
ddh
--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
---
You are currently subscribed to ldap@umich.edu as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.