Thanks for your answer.
In fact, the problem was that the
file I was trying to import had the file format PC, so I had to change all
linebreaks from DOS CRLFs to UNIX linefeeds...
I am now trying to understand why a
ldapsearch -x -b 'dc=sib,dc=fr'
'(objectclass=*)'
give me only the new entrees in my
directory (the entrees I've created today) whereas a more precise request such
as
ldapsearch -x -b 'dc=sib,dc=fr'
'(objectclass=person)'
give me all the entrees concerned (old and new )....
----- Original Message -----
Sent: Thursday, March 14, 2002 5:47
PM
Subject: Re: ldap_add: No such
object
what's the ldif file that you're inserting?
I would
assume that you're trying to do something like
dn: uid=me@me.com,dc=domain,dc=com objectClass:
blah objectClass: more blah uid: me@me.com
etc...
check your ldif
file ... and I think you'll have to add ou's in there (though I'm not too sure
if its a prerequisite)
At 03:45 PM 3/14/2002 +0100, you
wrote:
Hi,
I have the "ldap_add: No such object" message when I try to insert things in my
directory. I read in the FAQ
that the "ldap_add: No such
object" error is commonly returned if parent of the entry being added does
not exist. I did "ldapsearch -b 'dc=domain,dc=com' -s base
'(objectclass=*)'" and I saw that it was OK for that. The other explanation can be that you are trying to add a DN which is not
within the "dc=domain,dc=com" directory tree... I verified also,
and it isn't the problem. Does anybody
know what can be the raison of such an error? Thanks, Claudie
|