[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: How to clear out an Org Unit?

you are right that first all the children have to be deleted (recursively)

it is easy to write the program in java (you can get it readymade in books
like Java Enterprise in a Nutshell)


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Mike Coughlan
Sent: Saturday, 17 February 2001 1:08 AM
To: openldap-software@OpenLDAP.org
Subject: How to clear out an Org Unit?

I need to clear out an Org Unit every Friday, and refresh the data from a
tab delimed file (exported from Act), using a Perl import scrpt.

Can someone suggest a simple way to delete all stale entries in that org
unit? Am I mistaken in thinking that I must first delete all the children?
Or can I just wipe out that parent ou?

Mike Coughlan

3 West 18th Street
NYC 10011

Tel: + ext 310
Fax: +
email: mcoughlan@gothambroadband.com