> It kind of works, but it deletes only a part of the entries. :-(
> Why?

You're probably exceeding the server's limit on the number of search 
results
it is willing to send for a single op, ie the administrative sizelimit.

No, it's not that. I've removed the limit, and I can actually see how all 
the entries are found, and presumably deleted. Then I run it again, and 
see that part of the data is still around. (Wow, I just killed the DB. I 
see, bdb doesn't like the idea of not being able to read its config file. 
How peculiar! .-)

OK, I'm back. 

#       $entry->delete;
#       $entry->update($KMLdap);
        my $msg2=$KMLdap->delete($entry);
        $msg2->code && warn $msg2->error;

Now I replaced the entry->delete, entry->update(handle) with 
handle->delete(entry), and delete went perfectly OK. Does this make sense?

Reply via email to