486N/A#!/bin/sh
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
486N/A# Common Development and Distribution License, Version 1.0 only
486N/A# (the "License"). You may not use this file except in compliance
486N/A# with the License.
486N/A#
6983N/A# You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6983N/A# or http://forgerock.org/license/CDDLv1.0.html.
486N/A# See the License for the specific language governing permissions
486N/A# and limitations under the License.
486N/A#
486N/A# When distributing Covered Code, include this CDDL HEADER in each
6983N/A# file and include the License file at legal-notices/CDDLv1_0.txt.
6983N/A# If applicable, add the following below this CDDL HEADER, with the
6983N/A# fields enclosed by brackets "[]" replaced with your own identifying
6983N/A# information:
486N/A# Portions Copyright [yyyy] [name of copyright owner]
486N/A#
486N/A# CDDL HEADER END
486N/A#
486N/A#
3233N/A# Copyright 2006-2008 Sun Microsystems, Inc.
5636N/A# Portions Copyright 2011 ForgeRock AS
486N/A
486N/A
486N/A# This script may be used to encode clear-text passwords or verify whether a
486N/A# given clear-text password matches a provided encoded password.
5636N/AOPENDJ_INVOKE_CLASS="org.opends.server.tools.EncodePassword"
5636N/Aexport OPENDJ_INVOKE_CLASS
486N/A
2976N/ASCRIPT_NAME="encode-password"
2976N/Aexport SCRIPT_NAME
536N/A
486N/ASCRIPT_DIR=`dirname "${0}"`
1194N/A"${SCRIPT_DIR}/../lib/_server-script.sh" "${@}"