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