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