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

Reading all the OU's from an LDAP database for upgrading to 2.2.18



Thanks for reading this mail:

We currently have running openldap 2.0.27 and would like to migrate to 
the latest (2.2.18).
Because the "syntaxes" have changed a bit, I have to migrate all the 
entries. 
What I would like to do is to get all the OU= entries, change them to 
the new "syntax", so the structure is in place, and then add all the 
users.
All the CN= entries must be omitted.

Question is: how can I get through a perl-script only the ou's without 
the cn's ?
 
Thanks for any reply,


-- 
Freerk J. Bosscha

Networkadministrator
Noordelijke Hogeschool Leeuwarden
Tesselschadestraat 12
8913 HB  Leeuwarden
The Netherlands

Phone : xx-31-(0)58 2961 875
fax   : xx-31-(0)58 2961 874
Mobile: xx-31-(0)6 231 28 068
e-mail: f.j.bosscha@nhl.nl
url   : http://www.fac.nhl.nl/~bosscha