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