_client-script.sh revision 6331
479N/A# The contents of this file are subject to the terms of the 479N/A# Common Development and Distribution License, Version 1.0 only 479N/A# (the "License"). You may not use this file except in compliance 479N/A# You can obtain a copy of the license at 479N/A# See the License for the specific language governing permissions 479N/A# and limitations under the License. 479N/A# When distributing Covered Code, include this CDDL HEADER in each 479N/A# file and include the License file at 479N/A# add the following below this CDDL HEADER, with the fields enclosed 873N/A# by brackets "[]" replaced with your own identifying information: 479N/A# Portions Copyright [yyyy] [name of copyright owner] 5236N/A# Copyright 2006-2010 Sun Microsystems, Inc. 6331N/A# Portions Copyright 2011 ForgeRock AS 6331N/A# Portions Copyright 2013 Jens Elkner 479N/A# This script is used to invoke various client-side processes. It should not 479N/A# be invoked directly by end users. 6331N/A # display the control panel 6331N/A # perform configuration ops on the server 6331N/A # perform ops with the global admin framework 6331N/A # perform LDAP add, delete, modify, and modify DN ops 6331N/A # perform LDAP password modify ops 6331N/A # manage tasks in the Directory Server 6331N/A print -
u2 'ERROR: OPENDJ_INVOKE_CLASS environment variable is not set.' 6331N/A # "OpenDJ Admin" (ODA) profile support: let the ODA specify as an additional 6331N/A # argument, what file to use (because per default ODA has no permission to 6331N/A # modify files in ${INSTANCE_ROOT}). 6331N/A if [[ -f
"${FILE}" ]];
then 2976N/A# Launch the appropriate client utility.