# **************************************************************************
# $Novell: jldapschema.sh,v 1.3 2003/01/24 20:17:28 $
#
# Copyright (C) 1999 - 2003 Novell, Inc. All Rights Reserved.
#
# THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
# TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
# TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS
# AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE"
# IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION
# OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP
# PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT
# THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
# ***************************************************************************
# Script to run the listschema utility

# get bin directory
BINPATH=`dirname $0`
BINPATH=`cd $BINPATH;pwd`

# get lib directory
LIBPATH=`cd $BINPATH/../lib;pwd`

export CLASSPATH="$CLASSPATH:$LIBPATH/ldap.jar:$LIBPATH/utilities.jar"

# start the search program
java ListSchema $*
