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