So, you do snap an LDIF backup of your LDAP directory every night, right?
If you don’t, start. Tonight. If you do, this bit of code may come in handy. It lets you do a point restore of a specific LDAP entry from that big LDIF.
#!/usr/bin/perl
use strict;
use Net::LDAP;
use Net::LDAP::Entry;
use Net::LDAP::LDIF;
#
my $HOME = $ENV{’HOME’};
my $DSHOME = “/opt/sun/directory5.1″;
my [...]