encode-password revision 266c5071a91fda6a5159b08ea8d45261228d03d5
8efcf516f2b6514879fff8d034be55b6d64ff830striker#!/bin/sh
0c7592379b55b7736dd70d2d87f53af9a2347614jerenkrantz#
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4trawick# CDDL HEADER START
dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4trawick#
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.
f53367106769f90696d9c1f0ffcf9fbb4db883c2jerenkrantz#
9a940e8e90f9b163737e23bbf72a3f2c67a39220brianp# You can obtain a copy of the license at
9a940e8e90f9b163737e23bbf72a3f2c67a39220brianp# trunk/opends/resource/legal-notices/OpenDS.LICENSE
9a940e8e90f9b163737e23bbf72a3f2c67a39220brianp# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
8496c88debb9962575dac2b1ef9b81984d7bd759brianp# See the License for the specific language governing permissions
8496c88debb9962575dac2b1ef9b81984d7bd759brianp# and limitations under the License.
8496c88debb9962575dac2b1ef9b81984d7bd759brianp#
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#
0b493ad526b8bbc2ff21ce19510fc32238abb816jwoolley# CDDL HEADER END
0b493ad526b8bbc2ff21ce19510fc32238abb816jwoolley#
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive#
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive# Portions Copyright 2006 Sun Microsystems, Inc.
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive
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"
dea9ded7417a8328f8fce5d57eca9d7af5500520trawickexport OPENDS_INVOKE_CLASS
dea9ded7417a8328f8fce5d57eca9d7af5500520trawick
3f0220bf6e864d982a10348c9cc269bfe798d65eaaronSCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=encode-password"
3f0220bf6e864d982a10348c9cc269bfe798d65eaaronexport SCRIPT_NAME_ARG
3f0220bf6e864d982a10348c9cc269bfe798d65eaaron
3f0220bf6e864d982a10348c9cc269bfe798d65eaaronSCRIPT_DIR=`dirname "${0}"`
75d133afee2e3636b07366fd62102b13b67b1b1djerenkrantz"${SCRIPT_DIR}/_server-script.sh" "${@}"
75d133afee2e3636b07366fd62102b13b67b1b1djerenkrantz