encode-password revision 266c5071a91fda6a5159b08ea8d45261228d03d5
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4trawick# CDDL HEADER START
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4trawick# The contents of this file are subject to the terms of the
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4trawick# Common Development and Distribution License, Version 1.0 only
f53367106769f90696d9c1f0ffcf9fbb4db883c2jerenkrantz# (the "License"). You may not use this file except in compliance
f53367106769f90696d9c1f0ffcf9fbb4db883c2jerenkrantz# with the License.
9a940e8e90f9b163737e23bbf72a3f2c67a39220brianp# You can obtain a copy of the license at
8496c88debb9962575dac2b1ef9b81984d7bd759brianp# See the License for the specific language governing permissions
8496c88debb9962575dac2b1ef9b81984d7bd759brianp# and limitations under the License.
8496c88debb9962575dac2b1ef9b81984d7bd759brianp# When distributing Covered Code, include this CDDL HEADER in each
7c8747b339a5e47ea8301907051a9974d15b23b7brianp# file and include the License file at
7c8747b339a5e47ea8301907051a9974d15b23b7brianp# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
98f81eac9530d487f05013cda9df99755bb59689trawick# add the following below this CDDL HEADER, with the fields enclosed
98f81eac9530d487f05013cda9df99755bb59689trawick# by brackets "[]" replaced with your own identifying * information:
0b493ad526b8bbc2ff21ce19510fc32238abb816jwoolley# Portions Copyright [yyyy] [name of copyright owner]
0b493ad526b8bbc2ff21ce19510fc32238abb816jwoolley# CDDL HEADER END
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive# Portions Copyright 2006 Sun Microsystems, Inc.
ec1719a5748717f67dcd279bb64bd0da424ae450jerenkrantz# This script may be used to encode clear-text passwords or verify whether a
ec1719a5748717f67dcd279bb64bd0da424ae450jerenkrantz# given clear-text password matches a provided encoded password.
ec1719a5748717f67dcd279bb64bd0da424ae450jerenkrantzOPENDS_INVOKE_CLASS="org.opends.server.tools.EncodePassword"
3f0220bf6e864d982a10348c9cc269bfe798d65eaaronSCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=encode-password"
75d133afee2e3636b07366fd62102b13b67b1b1djerenkrantz"${SCRIPT_DIR}/_server-script.sh" "${@}"