diff options
Diffstat (limited to 'ldap/admin/src/scripts')
| -rwxr-xr-x | ldap/admin/src/scripts/template-cl-dump.pl | 17 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrate50to51 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrate5to6 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrate5to7 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrate6to7 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrateInstance5 | 10 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrateInstance6 | 10 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrateInstance7 | 10 | ||||
| -rwxr-xr-x | ldap/admin/src/scripts/template-migrateTo5 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrateTo6 | 16 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-migrateTo7 | 16 | ||||
| -rwxr-xr-x | ldap/admin/src/scripts/template-ns-newpwpolicy.pl | 16 | ||||
| -rwxr-xr-x | ldap/admin/src/scripts/template-repl-monitor-cgi.pl | 8 | ||||
| -rwxr-xr-x | ldap/admin/src/scripts/template-repl-monitor.pl | 32 | ||||
| -rw-r--r-- | ldap/admin/src/scripts/template-verify-db.pl | 13 |
15 files changed, 185 insertions, 43 deletions
diff --git a/ldap/admin/src/scripts/template-cl-dump.pl b/ldap/admin/src/scripts/template-cl-dump.pl index 009e6416..747a306a 100755 --- a/ldap/admin/src/scripts/template-cl-dump.pl +++ b/ldap/admin/src/scripts/template-cl-dump.pl @@ -96,6 +96,23 @@ # DSHOME/bin/slapd/admin/scripts # ################################################################################ +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} + $usage="Usage: $0 [-h host] [-p port] [-D bind-dn] [-w bind-password | -P bind-cert] [-r replica-roots] [-o output-file] [-c] [-v]\n\n $0 -i changelog-ldif-file-with-base64encoding [-o output-file] [-c]"; use Getopt::Std; # Parse command line arguments diff --git a/ldap/admin/src/scripts/template-migrate50to51 b/ldap/admin/src/scripts/template-migrate50to51 index 518a978b..768860e8 100644 --- a/ldap/admin/src/scripts/template-migrate50to51 +++ b/ldap/admin/src/scripts/template-migrate50to51 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a 5.0 directory server to a 5.1 directory server ####################################################################################################### diff --git a/ldap/admin/src/scripts/template-migrate5to6 b/ldap/admin/src/scripts/template-migrate5to6 index 63c5774d..9a8b2577 100644 --- a/ldap/admin/src/scripts/template-migrate5to6 +++ b/ldap/admin/src/scripts/template-migrate5to6 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a 5.x directory server to a 6.2 directory server ####################################################################################################### diff --git a/ldap/admin/src/scripts/template-migrate5to7 b/ldap/admin/src/scripts/template-migrate5to7 index 622b2216..f2e10e2a 100644 --- a/ldap/admin/src/scripts/template-migrate5to7 +++ b/ldap/admin/src/scripts/template-migrate5to7 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a 5.x directory server to a 7.0 directory server ####################################################################################################### diff --git a/ldap/admin/src/scripts/template-migrate6to7 b/ldap/admin/src/scripts/template-migrate6to7 index da799610..284fac9e 100644 --- a/ldap/admin/src/scripts/template-migrate6to7 +++ b/ldap/admin/src/scripts/template-migrate6to7 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a 6.x directory server to a 7.0 directory server ####################################################################################################### diff --git a/ldap/admin/src/scripts/template-migrateInstance5 b/ldap/admin/src/scripts/template-migrateInstance5 index f7224e8a..7c3a7004 100644 --- a/ldap/admin/src/scripts/template-migrateInstance5 +++ b/ldap/admin/src/scripts/template-migrateInstance5 @@ -140,16 +140,6 @@ if (!(-d $serverHome)) { exit(1); } $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${SEP}".$ENV{"$LIB_PATH"} ; -if ($isSolaris9) { - $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.005_03${PATHSEP}lib${PATHSEP}sun4-solaris${PATHSEP}CORE${SEP}".$ENV{"$LIB_PATH"} ; -} - -if ($isNT) { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.005_03${PATHSEP}site${PATHSEP}lib${SEP}".$ENV{"PERL5LIB"} ; -} -else { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.005_03${PATHSEP}lib${PATHSEP}site${SEP}".$ENV{"PERL5LIB"} ; -} # get the version of the DS to migrate ($oldVersion, $oldMinor) = &getVersion($oldDir); diff --git a/ldap/admin/src/scripts/template-migrateInstance6 b/ldap/admin/src/scripts/template-migrateInstance6 index 422e9450..fcca538e 100644 --- a/ldap/admin/src/scripts/template-migrateInstance6 +++ b/ldap/admin/src/scripts/template-migrateInstance6 @@ -144,16 +144,6 @@ if ($olddatadir && !(-d $olddatadir)) { exit(1); } $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${SEP}".$ENV{"$LIB_PATH"} ; -if ($isSolaris9) { - $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}lib${PATHSEP}sun4-solaris${PATHSEP}CORE${SEP}".$ENV{"$LIB_PATH"} ; -} - -if ($isNT) { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}site${PATHSEP}lib${SEP}".$ENV{"PERL5LIB"} ; -} -else { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}lib${PATHSEP}site${SEP}".$ENV{"PERL5LIB"} ; -} # get the version of the DS to migrate ($oldVersion, $oldMinor) = &getVersion($oldDir, $oldversionstr); diff --git a/ldap/admin/src/scripts/template-migrateInstance7 b/ldap/admin/src/scripts/template-migrateInstance7 index 2493a82e..acc0e987 100644 --- a/ldap/admin/src/scripts/template-migrateInstance7 +++ b/ldap/admin/src/scripts/template-migrateInstance7 @@ -144,16 +144,6 @@ if ($olddatadir && !(-d $olddatadir)) { exit(1); } $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${SEP}".$ENV{"$LIB_PATH"} ; -if ($isSolaris9) { - $ENV{"$LIB_PATH"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}lib${PATHSEP}sun4-solaris${PATHSEP}CORE${SEP}".$ENV{"$LIB_PATH"} ; -} - -if ($isNT) { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}site${PATHSEP}lib${SEP}".$ENV{"PERL5LIB"} ; -} -else { - $ENV{"PERL5LIB"} = "$root${PATHSEP}lib${PATHSEP}nsPerl5.6.1${PATHSEP}lib${PATHSEP}site${SEP}".$ENV{"PERL5LIB"} ; -} # get the version of the DS to migrate ($oldVersion, $oldMinor) = &getVersion($oldDir, $oldversionstr); diff --git a/ldap/admin/src/scripts/template-migrateTo5 b/ldap/admin/src/scripts/template-migrateTo5 index d9849525..320236ad 100755 --- a/ldap/admin/src/scripts/template-migrateTo5 +++ b/ldap/admin/src/scripts/template-migrateTo5 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a 4.0 directory server to a 5.x directory server ######################################################################################################## diff --git a/ldap/admin/src/scripts/template-migrateTo6 b/ldap/admin/src/scripts/template-migrateTo6 index 2f1c8c95..eeeb9e69 100644 --- a/ldap/admin/src/scripts/template-migrateTo6 +++ b/ldap/admin/src/scripts/template-migrateTo6 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a old directory server to a 6.2 directory server ######################################################################################################## diff --git a/ldap/admin/src/scripts/template-migrateTo7 b/ldap/admin/src/scripts/template-migrateTo7 index 4ee514e8..4a7b2c37 100644 --- a/ldap/admin/src/scripts/template-migrateTo7 +++ b/ldap/admin/src/scripts/template-migrateTo7 @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Migrate a old directory server to a 7.0 directory server ######################################################################################################## diff --git a/ldap/admin/src/scripts/template-ns-newpwpolicy.pl b/ldap/admin/src/scripts/template-ns-newpwpolicy.pl index 55388f33..a15e595d 100755 --- a/ldap/admin/src/scripts/template-ns-newpwpolicy.pl +++ b/ldap/admin/src/scripts/template-ns-newpwpolicy.pl @@ -39,6 +39,22 @@ # END COPYRIGHT BLOCK # +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +BEGIN { + my $sroot = "{{DS-ROOT}}"; + push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; + if ($ENV{LD_LIBRARY_PATH}) { + $ENV{LD_LIBRARY_PATH} .= ":"; + } + $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; + # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms + if ($ENV{SHLIB_PATH}) { + $ENV{SHLIB_PATH} .= ":"; + } + $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +} # Add new password policy specific entries ############################################################################# diff --git a/ldap/admin/src/scripts/template-repl-monitor-cgi.pl b/ldap/admin/src/scripts/template-repl-monitor-cgi.pl index ad88c1e6..c9cbd92f 100755 --- a/ldap/admin/src/scripts/template-repl-monitor-cgi.pl +++ b/ldap/admin/src/scripts/template-repl-monitor-cgi.pl @@ -56,8 +56,8 @@ if ($cgiVars{'admurl'}) { $params .= " -u \"$admurl\""; } $siteroot = $cgiVars{'siteroot'}; -$perl = "$siteroot/bin/slapd/admin/bin/perl"; -$ENV{'LD_LIBRARY_PATH'} = "$siteroot/lib:$siteroot/lib/nsPerl5.005_03/lib"; +$ENV{'LD_LIBRARY_PATH'} = "$siteroot/shared/lib"; +$ENV{'SHLIB_PATH'} = "$siteroot/shared/lib"; # Save user-specified parameters as cookies in monreplication.properties. # Sync up with the property file so that monreplication2 is interval, and @@ -65,8 +65,8 @@ $ENV{'LD_LIBRARY_PATH'} = "$siteroot/lib:$siteroot/lib/nsPerl5.005_03/lib"; $propertyfile = "$siteroot/bin/admin/admin/bin/property/monreplication.properties"; $edit1 = "s#monreplication2=.*#monreplication2=$cgiVars{'refreshinterval'}#;"; $edit2 = "s#^monreplication3=.*#monreplication3=$cgiVars{'configfile'}#;"; -system("$perl -p -i.bak -e \"$edit1\" -e \"$edit2\" $propertyfile"); +system("perl -p -i.bak -e \"$edit1\" -e \"$edit2\" $propertyfile"); # Now the real work $replmon = "$siteroot/bin/slapd/admin/scripts/template-repl-monitor.pl"; -system("$perl $replmon $params"); +system("perl -I$siteroot/lib/perl/arch -I$siteroot/lib/perl $replmon $params"); diff --git a/ldap/admin/src/scripts/template-repl-monitor.pl b/ldap/admin/src/scripts/template-repl-monitor.pl index 918c9271..60a7b7bd 100755 --- a/ldap/admin/src/scripts/template-repl-monitor.pl +++ b/ldap/admin/src/scripts/template-repl-monitor.pl @@ -146,16 +146,36 @@ # <DSHOME>/bin/slapd/admin/bin/perl repl-monitor.pl # # 3. Set environment variable PERL5LIB to your Perl lib dirs where -# Mozilla::LDAP module can be located. +# Mozilla::LDAP module can be located. This should be under serverroot/lib/perl +# e.g. PERL5LIB="serverroot/lib/perl/arch:serverroot/lib/perl" # -# 4. Invoke the script as follows if <MYPERLDIR>/lib/site contains -# Mozilla/LDAP: -# <MYPERLDIR>/bin/perl -I <MYPERLDIR>/lib/site repl-monitor.pl +# 4. Set LD_LIBRARY_PATH (or SHLIB_PATH) to point to the location of our +# bundled shared libraries e.g. LD_LIBRARY_PATH="serverroot/shared/lib" # -# If you get error "Can't load ...", try to set environment variable -# for library path to <DSHOME>/lib:<DSHOME>/lib/nsPerl5.005_03/lib +# 5. Invoke the script as follows if <MYPERLDIR> (serverroot/lib/perl) contains +# Mozilla/LDAP: +# <MYPERLDIR>/bin/perl -I <MYPERLDIR>/arch -I <MYPERLDIR> repl-monitor.pl # ############################################################################# +# enable the use of our bundled perldap with our bundled ldapsdk libraries +# all of this nonsense can be omitted if the mozldapsdk and perldap are +# installed in the operating system locations (e.g. /usr/lib /usr/lib/perl5) +# this script is always invoked by repl-monitor-cgi.pl, which sets all of these +# If using this script standalone, be sure to set the shared lib path and +# the path to the perldap modules. +# BEGIN { +# my $sroot = "{{DS-ROOT}}"; +# push @INC, "$sroot/lib/perl/arch", "$sroot/lib/perl"; +# if ($ENV{LD_LIBRARY_PATH}) { +# $ENV{LD_LIBRARY_PATH} .= ":"; +# } +# $ENV{LD_LIBRARY_PATH} .= "$sroot/shared/lib"; +# # this is only needed for HP/ux PA-RISC, but it doesn't hurt other platforms +# if ($ENV{SHLIB_PATH}) { +# $ENV{SHLIB_PATH} .= ":"; +# } +# $ENV{SHLIB_PATH} .= "$sroot/shared/lib"; +# } $usage = "\nusage: $0 -f configuration-file [-h host] [-p port] [-r] [-u refresh-url] [-t refresh-interval]\n\nor : $0 -v\n"; use Getopt::Std; # parse command line arguments diff --git a/ldap/admin/src/scripts/template-verify-db.pl b/ldap/admin/src/scripts/template-verify-db.pl index 4004f5ae..a95ff21e 100644 --- a/ldap/admin/src/scripts/template-verify-db.pl +++ b/ldap/admin/src/scripts/template-verify-db.pl @@ -95,6 +95,13 @@ sub getLastLogfile return \$logfile; } +$isWin = -d '\\'; +if ($isWin) { + $NULL = "nul"; +} else { + $NULL = "/dev/null"; +} + print("*****************************************************************\n"); print("verify-db: This tool should only be run if recovery start fails\n" . "and the server is down. If you run this tool while the server is\n" . @@ -109,7 +116,7 @@ for (my $i = 0; $i < @$dbdirs; $i++) { # run ../bin/slapd/server/db_printlog -h <dbdir> for each <dbdir> print "Verify log files in $$dbdirs[$i] ... "; - open(PRINTLOG, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_printlog -h $$dbdirs[$i] 2>&1 1> nul |"); + open(PRINTLOG, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_printlog -h $$dbdirs[$i] 2>&1 1> $NULL |"); sleep 1; my $haserr = 0; while ($l = <PRINTLOG>) @@ -147,7 +154,7 @@ for (my $i = 0; $i < @$dbdirs; $i++) { my $thisdb = $$dbdirs[$i] . "{{SEP}}" . $db; print "Verify $thisdb ... "; - open(DBVERIFY, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_verify $thisdb 2>&1 1> nul |"); + open(DBVERIFY, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_verify $thisdb 2>&1 1> $NULL |"); sleep 1; my $haserr = 0; while ($l = <DBVERIFY>) @@ -188,7 +195,7 @@ for (my $i = 0; $i < @$dbdirs; $i++) { my $thisdb = $$instdirs[$j] . "{{SEP}}" . $db; print "Verify $thisdb ... "; - open(DBVERIFY, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_verify $thisdb 2>&1 1> null |"); + open(DBVERIFY, "..{{SEP}}bin{{SEP}}slapd{{SEP}}server{{SEP}}db_verify $thisdb 2>&1 1> $NULL |"); sleep 1; my $haserr = 0; while ($l = <DBVERIFY>) |
