mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

chebrard
26.54.2009 34ef24e42b23d094a2dc9a2ff9904569318602f8
Frontport of all fixes related to SVR4 from branch 1.2 to trunk:

3646 configure script fails to retrieve the user/group of the ins
3647 Missing license file
3648 Third party license files should be merged
3649 Wrong copyright file in SVR4 package
3650 LDAP tools are missing in SVR4 package
3651 Server is not stopped after package removal
3654 SVR4 pkginfo not compliant with Solaris rules
3658 no man pages in SVR4 package
3661 SVR4 only: OpenDS fails to start with 1.1.0 bld3
3663 SVR4: unable to start OpenDS if user has no home directory
3664 SVR4: delimiter used in copyright file is not the one define
3706 configure: configure -H/-V doesn't work when the instance is
3707 unconfigure: unconfigure --wrongoption should display the us
3708 stop-ds: stop-ds -R doesn't work
3729 incorrect exit codes for configure/unconfigure scripts
3735 OpenDS failed to start if build number contains version qual
3 files deleted
10 files added
10 files modified
4163 ■■■■ changed files
opends/build-svr4.xml 8 ●●●●● patch | view | raw | blame | history
opends/resource/bin/_script-util.sh 8 ●●●● patch | view | raw | blame | history
opends/resource/bin/stop-ds 13 ●●●●● patch | view | raw | blame | history
opends/resource/configure 22 ●●●● patch | view | raw | blame | history
opends/resource/legal-notices/BerkeleyDB-JE.LICENSE 46 ●●●●● patch | view | raw | blame | history
opends/resource/legal-notices/BinariesLicense.txt 180 ●●●●● patch | view | raw | blame | history
opends/resource/legal-notices/THIRDPARTYREADME.txt 670 ●●●●● patch | view | raw | blame | history
opends/resource/legal-notices/jaf.LICENSE 306 ●●●●● patch | view | raw | blame | history
opends/resource/legal-notices/javamail.LICENSE 308 ●●●●● patch | view | raw | blame | history
opends/resource/man/man1/configure.1 118 ●●●●● patch | view | raw | blame | history
opends/resource/man/man1/control-panel.1 67 ●●●●● patch | view | raw | blame | history
opends/resource/man/man1/dsconfig.1 48 ●●●●● patch | view | raw | blame | history
opends/resource/man/man1/dsreplication.1 540 ●●●●● patch | view | raw | blame | history
opends/resource/man/man1/unconfigure.1 84 ●●●●● patch | view | raw | blame | history
opends/resource/man/man5/opends.5 105 ●●●●● patch | view | raw | blame | history
opends/resource/unconfigure 115 ●●●●● patch | view | raw | blame | history
opends/src/messages/messages/tools.properties 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 4 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/configurator/Unconfigurator.java 209 ●●●●● patch | view | raw | blame | history
opends/src/svr4/OpenDS/copyright 1275 ●●●●● patch | view | raw | blame | history
opends/src/svr4/OpenDS/layout.xml 21 ●●●●● patch | view | raw | blame | history
opends/src/svr4/OpenDS/opends-manifest.xml 11 ●●●● patch | view | raw | blame | history
opends/src/svr4/OpenDS/pkg.properties 1 ●●●● patch | view | raw | blame | history
opends/build-svr4.xml
@@ -22,7 +22,7 @@
 ! CDDL HEADER END
 !
 !
 !      Copyright 2006-2008 Sun Microsystems, Inc.
 !      Copyright 2006-2009 Sun Microsystems, Inc.
 ! -->
<project name="SVR4 Packaging" basedir="." default="package-svr4">
@@ -42,7 +42,8 @@
  <property name="pkg.dir"           location="${build.dir}/package" />
  <property name="svr4.dir"          location="${build.dir}/package/svr4" />
  <!-- Product specific properties: pkg.name / pkg.fullname / pkg.arch / pkg.desc / pkg.vendor / pkg.basedir / pkg.prefix -->
  <!-- Product specific properties: pkg.name / pkg.fullname / pkg.arch /
       pkg.desc / pkg.vendor / pkg.basedir / pkg.prefix / pkg.type -->
  <property file="${svr4.src.dir}/pkg.properties" />
  <!-- Default values for product specific properties -->
@@ -106,8 +107,9 @@
ARCH=${pkg.arch}
VERSION=${pkg.version},REV=${rev}
SUNW_PRODNAME=${pkg.desc}
SUNW_PRODVERS=${pkg.version}
SUNW_PRODVERS=${pkg.fullversion}
SUNW_PKGVERS=1.0
SUNW_PKGTYPE=${pkg.type}
MAXINST=1000
CATEGORY=application
DESC=${pkg.desc}
opends/resource/bin/_script-util.sh
@@ -194,9 +194,13 @@
    then 
      if [ "${SCRIPT_NAME}" = "configure" ]
      then
        echo "${INSTALL_ROOT}/configure has already be run. Exiting."
        isVersionOrHelp $*
    if [ $? -eq 1 ]
    then
          echo "${INSTALL_ROOT}/configure has already been run. Exiting."
        exit 0
      fi    
      fi
      INSTANCE_ROOT=`cat /etc/opends/instance.loc`
    else
      if [ "${SCRIPT_NAME}" != "configure" ]
@@ -267,7 +271,7 @@
IFS=${CURRENT_IFS}
}
if [ "${SCRIPT_NAME}" != "configure" ]
if [ "${SCRIPT_NAME}" != "configure" ] &&  [ "${SCRIPT_NAME}" != "unconfigure" ]
then 
  # Perform check unless it is specified not to do it
  if [ -z "$NO_CHECK" ]
opends/resource/bin/stop-ds
@@ -23,7 +23,7 @@
# CDDL HEADER END
#
#
#      Copyright 2006-2008 Sun Microsystems, Inc.
#      Copyright 2006-2009 Sun Microsystems, Inc.
# This script may be used to request that the Directory Server shut down.
@@ -72,9 +72,20 @@
        "$1" != "-H" -a "$1" != "--help" ]
#These options are not stopping the server, but checking version and help
    then
        if [ "$1" = "-R" -o "$1" = "--restart" ]
        then
            /usr/sbin/svcadm disable -t svc:/network/ldap/server:opends
            RETURN_CODE=$?
            if test ${RETURN_CODE} -ne 0
            then
                exit ${RETURN_CODE}
            fi
            exec /usr/sbin/svcadm enable -t svc:/network/ldap/server:opends
        else
        exec /usr/sbin/svcadm disable -t svc:/network/ldap/server:opends
    fi
fi
fi
# Set environment variables
SCRIPT_UTIL_CMD=set-full-environment-and-test-java
opends/resource/configure
@@ -57,17 +57,28 @@
# return part
RETURN_CODE=$?
if test ${RETURN_CODE} -eq 50
if test ${RETURN_CODE} -eq 50 -o ${RETURN_CODE} -eq 51
then
  # Version info was on requested
  # Version or help info was on requested
  exit 0
else
if test ${RETURN_CODE} -eq 10
then
  # Syntax error
  exit 1
else
  if test ${RETURN_CODE} -eq 0
  then
    # Retrieve INSTANCE_ROOT
    INSTANCE_ROOT=`cat /etc/opends/instance.loc`
    # Now update SMF manifest, cp it to the right place and import it
    USER_GROUP=`ls -ld ${INSTANCE_ROOT} | cut -c16-33`
    USERNAME=`echo ${USER_GROUP} | cut -c1-8`
    GROUPNAME=`echo ${USER_GROUP} | cut -c9-16`
    OWNER=`ls -ld ${INSTANCE_ROOT}`
    CURRENT_IFS=${IFS}
    IFS=" "
    set -- ${OWNER}
    USERNAME=`echo $3`
    GROUPNAME=`echo $4`
    IFS=${CURRENT_IFS}
    if test "${USERNAME}" = "ldap" -a "$GROUPNAME" = "ldap"
    then
        cp ${INSTALL_ROOT}/resources/opends-manifest.xml /var/svc/manifest/network/ldap/
@@ -80,3 +91,4 @@
  fi
  exit ${RETURN_CODE}
fi
fi
opends/resource/legal-notices/BerkeleyDB-JE.LICENSE
File was deleted
opends/resource/legal-notices/BinariesLicense.txt
New file
@@ -0,0 +1,180 @@
SUN MICROSYSTEMS, INC. SOFTWARE LICENSE AGREEMENTS
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE BELOW DEFINED SOFTWARE
TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN
THIS SOFTWARE LICENSE AGREEMENT ("AGREEMENT").
PLEASE READ THE AGREEMENT CAREFULLY.  BY DOWNLOADING OR INSTALLING THIS
SOFTWARE, YOU ACCEPT THE FULL TERMS OF THE AGREEMENT.
1. Definitions.
"Software" means all the portions of the OpenDS distribution provided by Sun
only in binary code form, and including any updates or error corrections or
documentation provided by Sun under this Agreement.
2. Permitted Uses.
Subject to the terms and conditions of this Agreement and restrictions and
exceptions set forth in the Software's documentation, Sun grants you a
non-exclusive, non-transferable, limited license without fees to
(a) reproduce and use internally the Software for the purposes of developing
or running OpenDS or modified versions of OpenDS.
(b) reproduce and distribute the Software (and also portions of Software
identified as Redistributable in the documentation accompanying Software),
provided that you
  (i) distribute the Software or Redistributables bundled as part of, and for
the sole purpose of running, OpenDS or modified versions of OpenDS;
  (ii) do not remove or alter any proprietary legends or notices contained in
or on the Software or Redistributables,
  (iii) only distribute the Software or Redistributables subject to a license
agreement that protects Sun's interests consistent with the terms contained in
this Agreement, and
  (iv) you agree to defend and indemnify Sun and its licensors from and against
any damages, costs, liabilities, settlement amounts and/or expenses (including
attorneys' fees) incurred in connection with any claim, lawsuit or action by
any third party that arises or results from the use or distribution of any and
all Programs, Software, or Redistributables.
3. Restrictions.
(a) The copies of Software provided to you under this Agreement is licensed,
not sold, to you by Sun. Sun reserves all rights not expressly granted.
(b) You may not modify Software. However if the documentation accompanying
Software lists specific portions of Software, such as header files, class
libraries, reference source code, and/or redistributable files, that may be
handled differently, you may do so only as provided in the documentation.
(c) You may not rent, lease, lend or encumber Software.
(d) you do not remove or alter any proprietary legends or notices contained
in the Software,
(e) Unless enforcement is prohibited by applicable law, you may not decompile,
or reverse engineer Software.
(f) The terms and conditions of this Agreement will apply to any Software
updates, provided to you at Sun's discretion, that replace and/or supplement
the original Software, unless such update contains a separate license.
(g) Software is confidential and copyrighted.
(h) Software is not designed, licensed or intended for use in the design,
construction, operation or maintenance of any nuclear facility and Sun and
its licensors disclaim any express or implied warranty of fitness for such uses.
(i) No right, title or interest in or to any trademark, service mark, logo or
trade name of Sun or its licensors is granted under this Agreement.
(j) If your Permitted Use in this Agreement permits the distribution Software
or portions of the Software, you may only distribute the Software subject to
a license agreement that protects Sun's interests consistent with the terms
contained in this Agreement.
4. Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional classes
to, or modifications of, the Java technology, except under compatibility
requirements available under a separate agreement available at www.java.net.
Sun supports and benefits from the global community of open source developers,
and thanks the community for its important contributions and open
standards-based technology, which Sun has adopted into many of its products.
Please note that portions of Software may be provided with notices and open
source licenses from such communities and third parties that govern the use of
those portions, and any licenses granted hereunder do not alter any rights and
obligations you may have under such open source licenses, however, the
disclaimer of warranty and limitation of liability provisions in this Agreement
will apply to all Software in this distribution.
5. Term and Termination.
The Agreement is effective on the Date you receive the Software and remains
effective until terminated. Your rights under this Agreement will terminate
immediately without notice from Sun if you materially breach it or take any
action in derogation of Sun's and/or its licensors' rights to Software. Sun
may terminate this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual property
infringement or trade secret misappropriation. Upon termination, you will
cease use of, and destroy, Software and confirm compliance in writing to Sun.
Sections 1, 3, 4, 5, and 7-13 will survive termination of the Agreement.
6. Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of receipt, the
media on which Software is furnished (if any) will be free of defects in
materials and workmanship under normal use. Except for the foregoing, Software
is provided "AS IS". Your exclusive remedy and Sun's entire liability under this
limited warranty will be at Sun's option to replace Software media or refund the
fee paid for Software. Some states do not allow limitations on certain implied
warranties, so the above may not apply to you. This limited warranty gives you
specific legal rights. You may have others, which vary from state to state.
7. Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE
DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
8. Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE
LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE
THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE
SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no
event will Sun's liability to you, whether in contract, tort (including
negligence), or otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above stated
warranty fails of its essential purpose. Some states do not allow the exclusion
of incidental or consequential damages, so some of the terms above may not be
applicable to you.
9. Export Regulations.
All Software, documents, technical data, and any other materials delivered under
this Agreement are subject to U.S. export control laws and may be subject to
export or import regulations in other countries. You agree to comply strictly
with these laws and regulations and acknowledge that you have the responsibility
to obtain any licenses to export, re-export, or import as may be required after
delivery to you.
10. U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or by a
U.S. Government prime contractor or subcontractor (at any tier), then the
Government's rights in Software and accompanying documentation will be only as
set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through
227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101
and 12.212 (for non-DOD acquisitions).
11. Governing Law.
Any action related to this Agreement will be governed by California law and
controlling U.S. federal law. No choice of law rules of any jurisdiction will
apply.
12. Severability.
If any provision of this Agreement is held to be unenforceable, this Agreement
will remain in effect with the provision omitted, unless omission would
frustrate the intent of the parties, in which case this Agreement will
immediately terminate.
13. Integration.
This Agreement is the entire agreement between you and Sun relating to its
subject matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails over any
conflicting or additional terms of any quote, order, acknowledgment, or other
communication between the parties relating to its subject matter during the term
of this Agreement. No modification of this Agreement will be binding, unless in
writing and signed by an authorized representative of each party.
opends/resource/legal-notices/THIRDPARTYREADME.txt
New file
@@ -0,0 +1,670 @@
/*-
 * $Id: LICENSE,v 1.5 2006/01/03 21:55:06 bostic Exp $
 */
The following is the license that applies to this copy of the Berkeley
DB Java Edition software.  For a license to use the Berkeley DB Java
Edition software under conditions other than those described here, or
to purchase support for this software, please contact Sleepycat Software
by email at info@sleepycat.com, or on the Web at http://www.sleepycat.com.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/*
 * Copyright (c) 2002-2006
 *  Sleepycat Software.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Redistributions in any form must be accompanied by information on
 *    how to obtain complete source code for the DB software and any
 *    accompanying software that uses the DB software.  The source code
 *    must either be included in the distribution or be available for no
 *    more than the cost of distribution plus a nominal fee, and must be
 *    freely redistributable under reasonable conditions.  For an
 *    executable file, complete source code means the source code for all
 *    modules it contains.  It does not include source code for modules or
 *    files that typically accompany the major components of the operating
 *    system on which the executable file runs.
 *
 * THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL SLEEPYCAT SOFTWARE
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */
=============================================================================
Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE
Licensee/Company: Entity receiving Software.
Effective Date: Date of delivery of the Software to You.
Software: JavaMail 1.4.1.
License Term:  Perpetual (subject to termination under the SLA).
Licensed Unit: Software Copy.
Licensed unit Count: Unlimited.
Permitted Uses:
1. You may reproduce and use the Software for Individual, Commercial,
or Research and Instructional Use for the purposes of designing,
developing, testing, and running Your applets and
application("Programs").
2. Subject to the terms and conditions of this Agreement and
restrictions and exceptions set forth in the Software's documentation,
You may reproduce and distribute portions of Software identified as a
redistributable in the documentation ("Redistributable"), provided
that:
(a) you distribute Redistributable complete and unmodified and only
bundled as part of Your Programs,
(b) your Programs add significant and primary functionality to the
Redistributable,
(c) you distribute Redistributable for the sole purpose of running your
Programs,
(d) you do not distribute additional software intended to replace any
component(s) of the Redistributable,
(e) you do not remove or alter any proprietary legends or notices
contained in or on the Redistributable.
(f) you only distribute the Redistributable subject to a license
agreement that protects Sun's interests consistent with the terms
contained in this Agreement, and
(g) you agree to defend and indemnify Sun and its licensors from and
against any damages, costs, liabilities, settlement amounts and/or
expenses  (including attorneys' fees) incurred in connection with any
claim, lawsuit or action by any third party that arises or results from
the use or distribution of any and all Programs and/or
Redistributable.
3. Java Technology Restrictions.  You may not create, modify, or change
the behavior of, or authorize your licensees to create, modify, or
change the behavior of, classes, interfaces, or subpackages that are in
any way identified as "java", "javax", "sun" or similar convention as
specified by Sun in any naming convention designation.
B. Sun Microsystems, Inc. ("Sun")
SOFTWARE LICENSE AGREEMENT
READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING
SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY,
SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT.
IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR
YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT
("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE
MASTER TERMS IN RELATION TO THIS SOFTWARE.
1.      Definitions.
(a)     "Entitlement" means the collective set of applicable documents
authorized by Sun evidencing your obligation to pay associated fees (if
any) for the license, associated Services, and the authorized scope of
use of Software under this Agreement.
(b)     "Licensed Unit" means the unit of measure by which your use of
Software and/or Service is licensed, as described in your Entitlement.
(c)     "Permitted Use" means the licensed Software use(s) authorized
in this Agreement as specified in your Entitlement. The Permitted Use
for any bundled Sun software not specified in your Entitlement will be
evaluation use as provided in Section 3.
(d)     "Service" means the service(s) that Sun or its delegate will
provide, if any, as selected in your Entitlement and as further
described in the applicable service listings at
www.sun.com/service/servicelist.
(e)     "Software" means the Sun software described in your
Entitlement. Also, certain software may be included for evaluation use
under Section 3.
(f)     "You" and "Your" means the individual or legal entity specified
in the Entitlement, or for evaluation purposes, the entity performing
the evaluation.
2.      License Grant and Entitlement.
Subject to the terms of your Entitlement, Sun grants you a
nonexclusive, nontransferable limited license to use Software for its
Permitted Use for the license term. Your Entitlement will specify (a)
Software licensed, (b) the Permitted Use, (c) the license term, and (d)
the Licensed Units.
Additionally, if your Entitlement includes Services, then it will also
specify the (e) Service and (f) service term.
If your rights to Software or Services are limited in duration and the
date such rights begin is other than the purchase date, your
Entitlement will provide that beginning date(s).
The Entitlement may be delivered to you in various ways depending on
the manner in which you obtain Software and Services, for example, the
Entitlement may be provided in your receipt, invoice or your contract
with Sun or authorized Sun reseller. It may also be in electronic
format if you download Software.
3.      Permitted Use.
As selected in your Entitlement, one or more of the following Permitted
Uses will apply to your use of Software. Unless you have an Entitlement
that expressly permits it, you may not use Software for any of the
other Permitted Uses. If you don't have an Entitlement, or if your
Entitlement doesn't cover additional software delivered to you, then
such software is for your Evaluation Use.
(a) Evaluation Use. You may evaluate Software internally for a period
of 90 days from your first use.
(b) Research and Instructional Use. You may use Software internally to
design, develop and test, and also to provide instruction on such
uses.
(c) Individual Use. You may use Software internally for personal,
individual use.
(d) Commercial Use. You may use Software internally for your own
commercial purposes.
(e) Service Provider Use. You may make Software functionality
accessible (but not by providing Software itself or through outsourcing
services) to your end users in an extranet deployment, but not to your
affiliated companies or to government agencies.
4.      Licensed Units.
Your Permitted Use is limited to the number of Licensed Units stated in
your Entitlement. If you require additional Licensed Units, you will
need additional Entitlement(s).
5.  Restrictions.
(a) The copies of Software provided to you under this Agreement are
licensed, not sold, to you by Sun. Sun reserves all rights not
expressly granted. (b) You may make a single archival copy of Software,
but otherwise may not copy, modify, or distribute Software. However if
the Sun documentation accompanying Software lists specific portions of
Software, such as header files, class libraries, reference source code,
and/or redistributable files, that may be handled differently, you may
do so only as provided in the Sun documentation. (c) You may not rent,
lease, lend or encumber Software. (d) Unless enforcement is prohibited
by applicable law, you may not decompile, or reverse engineer Software.
(e) The terms and conditions of this Agreement will apply to any
Software updates, provided to you at Sun's discretion, that replace
and/or supplement the original Software, unless such update contains a
separate license. (f) You may not publish or provide the results of any
benchmark or comparison tests run on Software to any third party
without the prior written consent of Sun. (g) Software is confidential
and copyrighted. (h) Unless otherwise specified, if Software is
delivered with embedded or bundled software that enables functionality
of Software, you may not use such software on a stand-alone basis or
use any portion of such software to interoperate with any program(s)
other than Software. (i) Software may contain programs that perform
automated collection of system data and/or automated software updating
services. System data collected through such programs may be used by
Sun, its subcontractors, and its service delivery partners for the
purpose of providing you with remote system services and/or improving
Sun's software and systems. (j) Software is not designed, licensed or
intended for use in the design, construction, operation or maintenance
of any nuclear facility and Sun and its licensors disclaim any express
or implied warranty of fitness for such uses. (k) No right, title or
interest in or to any trademark, service mark, logo or trade name of
Sun or its licensors is granted under this Agreement.
6.      Term and Termination.
The license and service term are set forth in your Entitlement(s). Your
rights under this Agreement will terminate immediately without notice
from Sun if you materially breach it or take any action in derogation
of Sun's and/or its licensors' rights to Software. Sun may terminate
this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual
property infringement or trade secret misappropriation. Upon
termination, you will cease use of, and destroy, Software and confirm
compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will
survive termination of the Agreement.
7.      Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional
classes to, or modifications of, the Java technology, except under
compatibility requirements available under a separate agreement
available at www.java.net.
Sun supports and benefits from the global community of open source
developers, and thanks the community for its important contributions
and open standards-based technology, which Sun has adopted into many of
its products.
Please note that portions of Software may be provided with notices and
open source licenses from such communities and third parties that
govern the use of those portions, and any licenses granted hereunder do
not alter any rights and obligations you may have under such open
source licenses, however, the disclaimer of warranty and limitation of
liability provisions in this Agreement will apply to all Software in
this distribution.
8.      Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of
purchase, as evidenced by a copy of the receipt, the media on which
Software is furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing, Software is
provided "AS IS". Your exclusive remedy and Sun's entire liability
under this limited warranty will be at Sun's option to replace Software
media or refund the fee paid for Software. Some states do not allow
limitations on certain implied warranties, so the above may not apply
to you. This limited warranty gives you specific legal rights. You may
have others, which vary from state to state.
9.      Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID.
10.     Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR
RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above
stated warranty fails of its essential purpose. Some states do not
allow the exclusion of incidental or consequential damages, so some of
the terms above may not be applicable to you.
11.     Export Regulations.
All Software, documents, technical data, and any other materials
delivered under this Agreement are subject to U.S. export control laws
and may be subject to export or import regulations in other countries.
You agree to comply strictly with these laws and regulations and
acknowledge that you have the responsibility to obtain any licenses to
export, re-export, or import as may be required after delivery to you.
12.     U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or
by a U.S. Government prime contractor or subcontractor (at any tier),
then the Government's rights in Software and accompanying documentation
will be only as set forth in this Agreement; this is in accordance with
48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
13.     Governing Law.
Any action related to this Agreement will be governed by California law
and controlling U.S. federal law. No choice of law rules of any
jurisdiction will apply.
14.     Severability.
If any provision of this Agreement is held to be unenforceable, this
Agreement will remain in effect with the provision omitted, unless
omission would frustrate the intent of the parties, in which case this
Agreement will immediately terminate.
15.     Integration.
This Agreement, including any terms contained in your Entitlement, is
the entire agreement between you and Sun relating to its subject
matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails
over any conflicting or additional terms of any quote, order,
acknowledgment, or other communication between the parties relating to
its subject matter during the term of this Agreement. No modification
of this Agreement will be binding, unless in writing and signed by an
authorized representative of each party.
Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,
California 95054 if you have questions.
=============================================================================
A. Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE
Licensee/Company: Entity receiving Software.
Effective Date: Date of delivery of the Software to You.
Software: JavaBeans Activation Framework 1.1.1.
License Term:  Perpetual (subject to termination under the SLA).
Licensed Unit: Software Copy.
Licensed unit Count: Unlimited.
Permitted Uses:
1. You may reproduce and use the Software for Individual, Commercial,
or Research and Instructional Use for the purposes of designing,
developing, testing, and running Your applets and
application("Programs").
2. Subject to the terms and conditions of this Agreement and
restrictions and exceptions set forth in the Software's documentation,
You may reproduce and distribute portions of Software identified as a
redistributable in the documentation ("Redistributable"), provided
that:
(a) you distribute Redistributable complete and unmodified and only
bundled as part of Your Programs,
(b) your Programs add significant and primary functionality to the
Redistributable,
(c) you distribute Redistributable for the sole purpose of running your
Programs,
(d) you do not distribute additional software intended to replace any
component(s) of the Redistributable,
(e) you do not remove or alter any proprietary legends or notices
contained in or on the Redistributable.
(f) you only distribute the Redistributable subject to a license
agreement that protects Sun's interests consistent with the terms
contained in this Agreement, and
(g) you agree to defend and indemnify Sun and its licensors from and
against any damages, costs, liabilities, settlement amounts and/or
expenses  (including attorneys' fees) incurred in connection with any
claim, lawsuit or action by any third party that arises or results from
the use or distribution of any and all Programs and/or
Redistributable.
3. Java Technology Restrictions.  You may not create, modify, or change
the behavior of, or authorize your licensees to create, modify, or
change the behavior of, classes, interfaces, or subpackages that are in
any way identified as "java", "javax", "sun" or similar convention as
specified by Sun in any naming convention designation.
B. Sun Microsystems, Inc. ("Sun")
SOFTWARE LICENSE AGREEMENT
READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING
SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY,
SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT.
IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR
YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT
("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE
MASTER TERMS IN RELATION TO THIS SOFTWARE.
1.      Definitions.
(a)     "Entitlement" means the collective set of applicable documents
authorized by Sun evidencing your obligation to pay associated fees (if
any) for the license, associated Services, and the authorized scope of
use of Software under this Agreement.
(b)     "Licensed Unit" means the unit of measure by which your use of
Software and/or Service is licensed, as described in your Entitlement.
(c)     "Permitted Use" means the licensed Software use(s) authorized
in this Agreement as specified in your Entitlement. The Permitted Use
for any bundled Sun software not specified in your Entitlement will be
evaluation use as provided in Section 3.
(d)     "Service" means the service(s) that Sun or its delegate will
provide, if any, as selected in your Entitlement and as further
described in the applicable service listings at
www.sun.com/service/servicelist.
(e)     "Software" means the Sun software described in your
Entitlement. Also, certain software may be included for evaluation use
under Section 3.
(f)     "You" and "Your" means the individual or legal entity specified
in the Entitlement, or for evaluation purposes, the entity performing
the evaluation.
2.      License Grant and Entitlement.
Subject to the terms of your Entitlement, Sun grants you a
nonexclusive, nontransferable limited license to use Software for its
Permitted Use for the license term. Your Entitlement will specify (a)
Software licensed, (b) the Permitted Use, (c) the license term, and (d)
the Licensed Units.
Additionally, if your Entitlement includes Services, then it will also
specify the (e) Service and (f) service term.
If your rights to Software or Services are limited in duration and the
date such rights begin is other than the purchase date, your
Entitlement will provide that beginning date(s).
The Entitlement may be delivered to you in various ways depending on
the manner in which you obtain Software and Services, for example, the
Entitlement may be provided in your receipt, invoice or your contract
with Sun or authorized Sun reseller. It may also be in electronic
format if you download Software.
3.      Permitted Use.
As selected in your Entitlement, one or more of the following Permitted
Uses will apply to your use of Software. Unless you have an Entitlement
that expressly permits it, you may not use Software for any of the
other Permitted Uses. If you don't have an Entitlement, or if your
Entitlement doesn't cover additional software delivered to you, then
such software is for your Evaluation Use.
(a) Evaluation Use. You may evaluate Software internally for a period
of 90 days from your first use.
(b) Research and Instructional Use. You may use Software internally to
design, develop and test, and also to provide instruction on such
uses.
(c) Individual Use. You may use Software internally for personal,
individual use.
(d) Commercial Use. You may use Software internally for your own
commercial purposes.
(e) Service Provider Use. You may make Software functionality
accessible (but not by providing Software itself or through outsourcing
services) to your end users in an extranet deployment, but not to your
affiliated companies or to government agencies.
4.      Licensed Units.
Your Permitted Use is limited to the number of Licensed Units stated in
your Entitlement. If you require additional Licensed Units, you will
need additional Entitlement(s).
5.  Restrictions.
(a) The copies of Software provided to you under this Agreement are
licensed, not sold, to you by Sun. Sun reserves all rights not
expressly granted. (b) You may make a single archival copy of Software,
but otherwise may not copy, modify, or distribute Software. However if
the Sun documentation accompanying Software lists specific portions of
Software, such as header files, class libraries, reference source code,
and/or redistributable files, that may be handled differently, you may
do so only as provided in the Sun documentation. (c) You may not rent,
lease, lend or encumber Software. (d) Unless enforcement is prohibited
by applicable law, you may not decompile, or reverse engineer
Software.  (e) The terms and conditions of this Agreement will apply to
any Software updates, provided to you at Sun's discretion, that replace
and/or supplement the original Software, unless such update contains a
separate license. (f) You may not publish or provide the results of any
benchmark or comparison tests run on Software to any third party
without the prior written consent of Sun. (g) Software is confidential
and copyrighted. (h) Unless otherwise specified, if Software is
delivered with embedded or bundled software that enables functionality
of Software, you may not use such software on a stand-alone basis or
use any portion of such software to interoperate with any program(s)
other than Software.  (i) Software may contain programs that perform
automated collection of system data and/or automated software updating
services. System data collected through such programs may be used by
Sun, its subcontractors, and its service delivery partners for the
purpose of providing you with remote system services and/or improving
Sun's software and systems. (j) Software is not designed, licensed or
intended for use in the design, construction, operation or maintenance
of any nuclear facility and Sun and its licensors disclaim any express
or implied warranty of fitness for such uses. (k) No right, title or
interest in or to any trademark, service mark, logo or trade name of
Sun or its licensors is granted under this Agreement.
6.  Term and Termination.
The license and service term are set forth in your Entitlement(s). Your
rights under this Agreement will terminate immediately without notice
from Sun if you materially breach it or take any action in derogation
of Sun's and/or its licensors' rights to Software. Sun may terminate
this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual
property infringement or trade secret misappropriation. Upon
termination, you will cease use of, and destroy, Software and confirm
compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will
survive termination of the Agreement.
7.      Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional
classes to, or modifications of, the Java technology, except under
compatibility requirements available under a separate agreement
available at www.java.net.
Sun supports and benefits from the global community of open source
developers, and thanks the community for its important contributions
and open standards-based technology, which Sun has adopted into many of
its products.
Please note that portions of Software may be provided with notices and
open source licenses from such communities and third parties that
govern the use of those portions, and any licenses granted hereunder do
not alter any rights and obligations you may have under such open
source licenses, however, the disclaimer of warranty and limitation of
liability provisions in this Agreement will apply to all Software in
this distribution.
8.      Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of
purchase, as evidenced by a copy of the receipt, the media on which
Software is furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing, Software is
provided "AS IS". Your exclusive remedy and Sun's entire liability
under this limited warranty will be at Sun's option to replace Software
media or refund the fee paid for Software. Some states do not allow
limitations on certain implied warranties, so the above may not apply
to you. This limited warranty gives you specific legal rights. You may
have others, which vary from state to state.
9.      Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID.
10.     Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR
RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above
stated warranty fails of its essential purpose. Some states do not
allow the exclusion of incidental or consequential damages, so some of
the terms above may not be applicable to you.
11.     Export Regulations.
All Software, documents, technical data, and any other materials
delivered under this Agreement are subject to U.S. export control laws
and may be subject to export or import regulations in other countries.
You agree to comply strictly with these laws and regulations and
acknowledge that you have the responsibility to obtain any licenses to
export, re-export, or import as may be required after delivery to you.
12.     U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or
by a U.S. Government prime contractor or subcontractor (at any tier),
then the Government's rights in Software and accompanying documentation
will be only as set forth in this Agreement; this is in accordance with
48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
13.     Governing Law.
Any action related to this Agreement will be governed by California law
and controlling U.S. federal law. No choice of law rules of any
jurisdiction will apply.
14.     Severability.
If any provision of this Agreement is held to be unenforceable, this
Agreement will remain in effect with the provision omitted, unless
omission would frustrate the intent of the parties, in which case this
Agreement will immediately terminate.
15.     Integration.
This Agreement, including any terms contained in your Entitlement, is
the entire agreement between you and Sun relating to its subject
matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails
over any conflicting or additional terms of any quote, order,
acknowledgment, or other communication between the parties relating to
its subject matter during the term of this Agreement. No modification
of this Agreement will be binding, unless in writing and signed by an
authorized representative of each party.
Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,
California 95054 if you have questions.
opends/resource/legal-notices/jaf.LICENSE
File was deleted
opends/resource/legal-notices/javamail.LICENSE
File was deleted
opends/resource/man/man1/configure.1
New file
@@ -0,0 +1,118 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH configure 1 "December 2008" "1.1" "User Commands"
.SH NAME
configure \- sets the instance location of an OpenDS package installation
.SH SYNOPSIS
.LP
.nf
\fBconfigure\fR \fIoptions\fR
.fi
.SH DESCRIPTION
.sp
.LP
The \fBconfigure\fR command configures an OpenDS package installation. The command registers the directory server as an SMF service,  specifies where the directory server instance will be located, and specifies  the user and group names of the instance owner.
.sp
.LP
This command is available in the OpenSolaris\u\s-2TM\s+2\d package installation only.
.sp
.LP
Run \fBconfigure --help\fR for more information.
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-?\fR, \fB-H\fR, \fB--help\fR\fR
.ad
.RS 25n
.rt
Displays usage information.
.RE
.sp
.ne 2
.mk
.na
\fB\fB--groupName\fR \fIgroupName\fR\fR
.ad
.RS 25n
.rt
The group name of the instance owner. If no group name is specified, the primary group of the \fIuserName\fR is used.
.RE
.sp
.ne 2
.mk
.na
\fB\fB--instancePath\fR \fIpath\fR\fR
.ad
.RS 25n
.rt
The path where the instance will be located. If no path is specified, the default \fB/var/opends\fR is used.
.RE
.sp
.ne 2
.mk
.na
\fB\fB--userName\fR \fIuserName\fR\fR
.ad
.RS 25n
.rt
The user name of the instance owner. If no user name is specified, the default \fBldap\fR is used.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-V\fR, \fB--version\fR\fR
.ad
.RS 25n
.rt
Displays directory server version information.
.RE
.SH EXAMPLES
.LP
\fBExample 1 \fRConfiguring a Directory Server Package Installation
.sp
.LP
The following example configures the instance path, user name and group name for a directory server package installation:
.sp
.in +2
.nf
$ /usr/opends/configure --instancePath /var/opends --userName myUser \
  --groupName myGroup
.fi
.in -2
.sp
.sp
.LP
For more information, see "Running OpenDS as a Non-Root User" at http://docs.opends.org/1.2/page/RunningTheServerAsANonRootUser
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityUncommitted
.TE
opends/resource/man/man1/control-panel.1
New file
@@ -0,0 +1,67 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH control-panel 1 "December 2008" "1.1" "User Commands"
.SH NAME
control-panel \- launches a graphical user interface
that displays server status information and enables you to perform basic directory
server administration
.SH SYNOPSIS
.LP
.nf
\fBcontrol-panel\fR \fIoptions\fR
.fi
.SH DESCRIPTION
.sp
.LP
The \fBcontrol-panel\fR command launches a graphical user
interface that displays server status information and enables you to perform
basic directory server administration. The control panel enables you to perform
certain data management tasks such as managing entries, importing and exporting
data, and backing up and restoring data. The control panel also enables you
to manage directory schema and indexes, and to set server runtime options.
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-V\fR, \fB--version\fR\fR
.ad
.RS 18n
.rt
Display Directory Server version information.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-?\fR, \fB-H\fR, \fB--help\fR\fR
.ad
.RS 18n
.rt
Displays usage information.
.RE
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for
descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityUncommitted
.TE
opends/resource/man/man1/dsconfig.1
New file
@@ -0,0 +1,48 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH dsconfig 1 "December 2008" "1.1" "User Commands"
.SH NAME
dsconfig \- configures a directory server instance
.SH SYNOPSIS
.LP
.nf
\fBdsconfig\fR \fIsubcommand\fR \fIoptions\fR
.fi
.SH DESCRIPTION
.sp
.LP
The \fBdsconfig\fR command enables you to create, manage,
and remove the base configuration for a directory server instance. The directory
server configuration is organized as a set of components that \fBdsconfig\fR can
access by using one or more subcommands. All components have zero or more
configurable properties. These properties can be queried and modified to change
the behavior of the component.
.sp
.LP
Unless you specify all configuration parameters and the \fB-n\fR (\fB--no-prompt\fR) option, \fBdsconfig\fR runs in interactive
mode. Interactive mode works much like a wizard, walking you through every
aspect of the server configuration.
.sp
.LP
Run \fBdsconfig --help\fR for more information,
or use the dsconfig online documentation at http://docs.opends.org/1.2/page/Dsconfig\&.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for
descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityUncommitted
.TE
opends/resource/man/man1/dsreplication.1
New file
@@ -0,0 +1,540 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH dsreplication 1 "December 2008" "1.1" "User Commands"
.SH NAME
dsreplication \- configures replication between
directory servers so that the data of the servers is synchronized
.SH SYNOPSIS
.LP
.nf
\fBdsreplication\fR \fIsubcommand\fR \fIoptions\fR
.fi
.SH DESCRIPTION
.sp
.LP
The \fBdsreplication\fR command can be used to configure
replication between directory servers so that the data of the servers is synchronized.
First enable replication by using the \fBenable\fR subcommand
and then initialize the contents of one directory server with the contents
of another server by using the \fBinitialize\fR subcommand.
.sp
.LP
Like the \fBdsconfig\fR command, \fBdsreplication\fR can
be run in interactive mode, which walks you through the replication setup
process.  To run \fBdsreplication\fR in interactive mode, type
the command name with no parameters.
.sp
.LP
Run \fBdsreplication --help\fR for more information, or
use the dsreplication online documentation at http://docs.opends.org/1.2/page/Dsreplication\&.
.SH SUB-COMMANDS
.sp
.LP
The following subcommands are used with the \fBdsreplication\fR command.
.sp
.ne 2
.mk
.na
\fB\fBdisable\fR\fR
.ad
.sp .6
.RS 4n
Disable replication on the specified directory server for
the specified base DN. This subcommand removes references to the specified
server in the configuration of the servers with which this server is replicating
data. Suboptions are as follows:
.sp
\fB-D, --bindDN \fIbindDN\fR\fR. The
DN used to bind to the server on which replication will be disabled. This
option must be used if no global administrator has been defined on the server
or if you do not want to remove references in the other replicated servers.
The password provided for the global administrator is used when this option
is specified.
.sp
\fB-h, --hostname \fIhost\fR\fR. Directory
server host name or IP address.
.sp
\fB-p, --port \fIport\fR\fR. Directory
server administration port number.
.RE
.sp
.ne 2
.mk
.na
\fB\fBenable\fR\fR
.ad
.sp .6
.RS 4n
Update the configuration of the directory servers to replicate
data under the specified base DN. If one of the specified servers is already
replicating the data under the base DN to other servers, executing this subcommand
updates the configuration of all the servers. It is therefore sufficient to
execute the subcommand once for each server that is added to the replication
topology. Suboptions are as follows:
.sp
\fB--bindDN2 \fIbindDN\fR\fR. The
DN used to bind to the second server whose contents will be replicated. If
no bind DN is specified, the global administrator is used to bind.
.sp
\fB--bindPassword1 \fIbindPassword\fR\fR.
The password used to bind to the first server whose contents will be replicated.
If no bind DN was specified for the first server, the password of the global
administrator is used to bind.
.sp
\fB--bindPassword2 \fIpassword\fR\fR.
The password used to bind to the second server whose contents will be replicated.
If no bind DN was specified for the second server, the password of the global
administrator is used to bind.
.sp
\fB--bindPasswordFile1 \fIfilename\fR\fR \fB\fR.
The file containing the password used to bind to the first server whose contents
will be replicated. If no bind DN was specified for the first server, the
password of the global administrator is used to bind.
.sp
\fB-D, --bindDN1 \fIbindDN\fR\fR.
The DN used to bind to the first server whose contents will be replicated.
If no bind DN is specified, the global administrator is used to bind.
.sp
\fB-F, --bindPasswordFile2 \fIfilename\fR\fR.
The file containing the password used to bind to the second server whose contents
will be replicated. If no bind DN was specified for the second server, the
password of the global administrator is used to bind.
.sp
\fB-h, --host1 \fIhost\fR\fR. Host
name or IP address of the first server whose contents will be replicated.
.sp
\fB--noSchemaReplication\fR. Do not replicate the schema
between the servers. Note that schema replication is enabled by default. Use
this option if you do not want the schema to be synchronized between servers.
.sp
\fB-O, --host2 \fIhost\fR\fR. Hostname
or IP address of the second server whose contents will be replicated.
.sp
\fB-p, --port1 \fIport\fR\fR. Directory
server administration port number of the first server whose contents will
be replicated.
.sp
\fB--port2 \fIport\fR\fR. Directory
server administration port number of the second server whose contents will
be replicated.
.sp
\fB-r, --replicationPort1 \fIport\fR\fR.
The port that will be used by the replication mechanism in the first directory
server to communicate with other servers. Only specify this option if replication
was not previously configured on the first directory server.
.sp
\fB-R, --replicationPort2 \fIport\fR\fR.
The port that will be used by the replication mechanism in the second directory
server to communicate with other servers. Only specify this option if replication
was not previously configured in the second server.
.sp
\fB-S, --skipPortCheck\fR. Skip the check to determine
whether the specified replication ports are usable. If this argument is not
specified, the server checks that the port is available only if you are configuring
the local host.
.sp
\fB--secureReplication1\fR. Specifies whether communication
through the replication port of the first server is encrypted. This option
is only taken into account the first time replication is configured on the
first server.
.sp
\fB--secureReplication2\fR. Specifies whether communication
through the replication port of the second server is encrypted. This option
is only taken into account the first time replication is configured on the
second server.
.sp
\fB--useSecondServerAsSchemaSource\fR. Use the second server
to initialize the schema of the first server. If neither this option nor the \fB--noSchemaReplication\fR option is specified, the schema of the first
server is used to initialize the schema of the second server.
.RE
.sp
.ne 2
.mk
.na
\fB\fBinitialize\fR\fR
.ad
.sp .6
.RS 4n
Initialize the contents of the data under the specified base
DN on the destination directory server with the contents on the source server.
This operation is required after enabling replication. Suboptions are as follows:
.sp
\fB-h, --hostSource \fIhost\fR\fR.
Directory server host name or IP address of the source server whose contents
will be used to initialize the destination server.
.sp
\fB-O, --hostDestination \fIhost\fR\fR \fBhost\fR. Directory server hostname or IP address of the destination
server whose contents will be initialized.
.sp
\fB-p, --portSource\fR \fBport\fR. Directory
server administration port number of the source server whose contents will
be used to initialize the destination server.
.sp
\fB--portDestination\fR \fBport\fR. Directory
server administration port number of the destination server whose contents
will be initialized.
.RE
.sp
.ne 2
.mk
.na
\fB\fBinitialize-all\fR\fR
.ad
.sp .6
.RS 4n
Initialize the data under the specified base DN, on all the
directory servers in the topology, with the data on the specified server.
This operation is required after enabling replication for replication to work.
Alternatively, you can use the \fBinitialize\fR sub-command on
each individual server in the topology. Suboptions are as follows:
.sp
\fB-h, --hostname \fIhost\fR\fR. Directory
server host name or IP address of the source server.
.sp
\fB-p, --port \fIport\fR\fR. Directory
server administration port number of the source server.
.RE
.sp
.ne 2
.mk
.na
\fB\fBpost-external-initialization\fR\fR
.ad
.sp .6
.RS 4n
Enable replication to work after the entire topology has been
reinitialized by using \fBimport-ldif\fR or binary copy. This
subcommand must be called after you initialize the contents of all directory
servers in a topology by using \fBimport-ldif\fR or binary copy.
If you do not run this subcommand, replication will no longer work after the
initialization. Suboptions are as follows:
.sp
\fB-h, --hostname \fIhost\fR\fR. Directory
server host name or IP address.
.sp
\fB-p, --port \fIport\fR\fR. Directory
server administration port number.
.RE
.sp
.ne 2
.mk
.na
\fB\fBpre-external-initialization\fR\fR
.ad
.sp .6
.RS 4n
Prepare a replication topology for initialization by using \fBimport-ldif\fR or binary copy. This subcommand must be called before
you initialize the contents of all directory servers in a topology by using \fBimport-ldif\fR or binary copy. If you do not run this subcommand, replication
will no longer work after the initialization. After running this subcommand,
initialize the contents of all the servers in the topology, then run the subcommand \fBpost-external-initialization\fR. Suboptions are as follows:
.sp
\fB-h, --hostname \fIhost\fR\fR. Directory
server host name or IP address.
.sp
\fB-l, --local-only\fR. Use this option when the contents
of only the specified directory server will be initialized with an external
method.
.sp
\fB-p, --port \fIport\fR\fR. Directory
server administration port number.
.RE
.sp
.ne 2
.mk
.na
\fB\fBstatus\fR\fR
.ad
.sp .6
.RS 4n
List the replication configuration for the specified base
DNs of all directory servers defined in the registration information. If no
base DNs are specified, the information for all base DNs is displayed. Suboptions
are as follows:
.sp
\fB-h, --hostname \fIhost\fR\fR. Directory
server host name or IP address.
.sp
\fB-p, --port \fIport\fR\fR. Directory
server administration port number.
.sp
\fB-s, --script-friendly\fR. Display the status in a format
that can be parsed by a script.
.RE
.SH OPTIONS
.sp
.LP
The following global options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-b, --baseDN \fIbaseDN\fR\fR\fR
.ad
.sp .6
.RS 4n
Specify the base DN of the data to be replicated or initialized,
or for which replication should be disabled. Multiple base DNs can be specified
by using this option multiple times.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-j, --adminPasswordFile \fIfilename\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the global administrator password in the specified file
when authenticating to the directory server. This option must not be used
in conjunction with \fB--adminPassword\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-w, --adminPassword \fIpassword\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the global administrator password when authenticating
to the directory server.
.RE
.sp
.LP
The following LDAP connection options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-I, --adminUID \fIUID\fR\fR\fR
.ad
.sp .6
.RS 4n
Specify the User ID of the global administrator to bind to
the server. If no global administrator was defined previously for any of the
servers, this option creates a global administrator by using the data provided.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-K, --keyStorePath \fIpath\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the client keystore certificate in the specified path.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-N, --certNickname \fInickname\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the specified certificate for authentication.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-o, --saslOption \fIname\fR=\fIvalue\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the specified options for  SASL authentication.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-P, --trustStorePath \fIpath\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the client trust store certificate in the specified path.
This option is not needed if \fB--trustAll\fR is used, although
a trust store should be used when working in a production environment.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-T, --trustStorePassword \fIpassword\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the password needed to access the certificates in the
client trust store. This option is only required if \fB--trustStorePath\fR is
used and the specified trust store requires a password in order to access
its contents (which most trust stores do not require). This option must not
be used in conjunction with \fB--trustStorePasswordFile\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-u, --keyStorePasswordFile \fIfilename\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the password in the specified file to access the certificates
in the client keystore. This option is only required if \fB--keyStorePath\fR is
used. This option must not be used in conjunction with \fB--keyStorePassword\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-U, --TrustStorePasswordFile \fIfilename\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the password in the specified file to access the certificates
in the client trust store. This option is only required if \fB--trustStorePath\fR is used and the specified trust store requires a password in order
to access its contents (most trust stores do not require this). This option
must not be used in conjunction with \fB--trustStorePassword\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-W, --keyStorePassword \fIpassword\fR\fR\fR
.ad
.sp .6
.RS 4n
Use the password needed to access the certificates in the
client keystore. This option is only required if \fB--keyStorePath\fR is
used. This option must not be used in conjunction with \fB--keyStorePasswordFile\fR.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-X, --trustAll\fR\fR
.ad
.sp .6
.RS 4n
Trust any certificate that the directory server might present
during SSL or StartTLS negotiation. This option can be used for convenience
and testing purposes, but for security reasons a trust store should be used
to determine whether the client should accept the server certificate.
.RE
.sp
.LP
The following input/output options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-n, --no-prompt\fR\fR
.ad
.RS 29n
.rt
Run in non-interactive mode.  If some data in the command
is missing, the user will not be prompted and the tool will fail.
.RE
.sp
.ne 2
.mk
.na
\fB\fB--noPropertiesFile\fR\fR
.ad
.RS 29n
.rt
Indicate that the utility will not use a properties file to
get the default command-line options.
.RE
.sp
.ne 2
.mk
.na
\fB\fB--propertiesFilePath \fIpath\fR\fR\fR
.ad
.RS 29n
.rt
Specify the path to the properties file that contains the
default command-line options.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-Q, --quiet\fR\fR
.ad
.RS 29n
.rt
Run in quiet mode. No output will be generated unless a significant
error occurs during the process.
.RE
.sp
.LP
The following general options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-?, -H, --help\fR\fR
.ad
.RS 18n
.rt
Display command-line usage information for the utility and
exit without making any attempt to stop or restart the directory server.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-V, --version\fR\fR
.ad
.RS 18n
.rt
Display the version information for the directory server and
exit rather than attempting to run this command.
.RE
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for
descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityUncommitted
.TE
opends/resource/man/man1/unconfigure.1
New file
@@ -0,0 +1,84 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH unconfigure 1 "December 2008" "1.1" "User Commands"
.SH NAME
unconfigure \- unconfigures an OpenDS instance that was  installed by using the package installation
.SH SYNOPSIS
.LP
.nf
\fBunconfigure\fR \fIoptions\fR
.fi
.SH DESCRIPTION
.sp
.LP
The \fBunconfigure\fR command ensures that the removal of an OpenDS  package does not leave the host in an inconsistent state. The command stops the  directory server instance, removes the SMF registration, and resets the instance  location. The command does not remove the server instance files themselves.
.sp
.LP
Run the \fBunconfigure\fR command as root before removing the OpenDS  package. Do not run this command if you intend to upgrade the directory server.
.sp
.LP
This command is available in the OpenSolaris\u\s-2TM\s+2\d package installation only.
.sp
.LP
Run \fBunconfigure --help\fR for more information.
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.mk
.na
\fB\fB-?\fR, \fB-H\fR, \fB--help\fR\fR
.ad
.RS 18n
.rt
Displays usage information.
.RE
.sp
.ne 2
.mk
.na
\fB\fB-V\fR, \fB--version\fR\fR
.ad
.RS 18n
.rt
Displays directory server version information.
.RE
.SH EXAMPLES
.LP
\fBExample 1 \fRRemoving a Directory Server Package Installation
.sp
.LP
The following commands unset the instance path for a directory server package  installation, and then remove the package:
.sp
.in +2
.nf
# /usr/opends/unconfigure
# pkgrm opends
.fi
.in -2
.sp
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityUncommitted
.TE
opends/resource/man/man5/opends.5
New file
@@ -0,0 +1,105 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems Inc. All
.\" Rights Reserved.
.TH opends 5 "December 2008" "1.1" "&man5;"
.SH NAME
OpenDS \- a high-performance, highly-extensible,
LDAPv3 compliant directory server
.SH DESCRIPTION
.sp
.LP
OpenDS is a high-performance, highly-extensible, pure Java directory
server. The server is fully compliant with the LDAPv3 standard, and passes
all of the compliance, interoperability and security tests suites. The
directory server implements most of the standard and experimental LDAP extensions
defined in the IETF as RFCs or Internet-Drafts, ensuring maximum
interoperability with LDAP client applications.
.sp
.LP
The OpenDS software includes a rich set of APIs making the directory
server easy to extend. The directory server supports a loosely consistent
multi-master replication model that guarantees high availability of data for
all operations, searches or updates. While theoretically unlimited with regard
to the number of masters, the directory server has been stressed under heavy
and durable load with four masters.
.sp
.LP
The OpenDS software includes:
.RS +4
.TP
.ie t \(bu
.el o
A graphical installation tool (QuickSetup) that enables you
to have a server configured, and up and running in less than 3 minutes.
.RE
.RS +4
.TP
.ie t \(bu
.el o
A graphical control panel (\fBbin/control-panel\fR)
that displays server status information and enables you to perform basic directory
server administration
.RE
.RS +4
.TP
.ie t \(bu
.el o
A rich set of command-line utilities to perform all online
administrative tasks both interactively and scripted
.RE
.RS +4
.TP
.ie t \(bu
.el o
Advanced security and password policies
.RE
.RS +4
.TP
.ie t \(bu
.el o
Advanced backup and restore capabilities
.RE
.RS +4
.TP
.ie t \(bu
.el o
Extensive user documentation at http://docs.opends.org/1.2\&.
.RE
.LP
Note -
.sp
.RS 2
The default settings for the directory server are targeted
at the initial evaluator or developer, running on a machine with a limited
amount of resources. To scale the server, it is important to do initial tuning
of the Java VM and of the server itself.
.RE
.sp
.LP
A Sun-supported version of OpenDS is available
at http://wikis.sun.com/display/sunopends/Home\&.
.SH USAGE
.sp
.LP
To install the directory server from IPS packages perform the following
steps:
.RS +4
.TP
.ie t \(bu
.el o
As the root user, run the \fBconfigure\fR
command to create an instance of the directory server in a specific location,
running as a specific user. For more information, see the configure (1) man page.
.RE
.RS +4
.TP
.ie t \(bu
.el o
Run the \fBsetup\fR command as this user to
install and configure the directory server instance. For more information,
see http://docs.opends.org/1.2/page/Setup\&.
.RE
.sp
.LP
For additional configuration of the directory server, use the \fBcontrol-panel\fR or the \fBdsconfig\fR command. For more information,
see http://docs.opends.org/1.2/page/ControlPanel and http://docs.opends.org/1.2/page/Dsconfig\&.
opends/resource/unconfigure
New file
@@ -0,0 +1,115 @@
#!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#      Copyright 2008-2009 Sun Microsystems, Inc.
# Capture the current working directory so that we can change to it later.
# Then capture the location of this script and the Directory Server instance
# root so that we can use them to create appropriate paths.
WORKING_DIR=`pwd`
cd "`dirname "${0}"`"
SCRIPT_DIR=`pwd`
INSTALL_ROOT=${SCRIPT_DIR}
export INSTALL_ROOT
SCRIPT_NAME=unconfigure
export SCRIPT_NAME
cd "${WORKING_DIR}"
# Set environment variables
SCRIPT_UTIL_CMD=set-full-environment-and-test-java
export SCRIPT_UTIL_CMD
.  "${INSTALL_ROOT}/lib/_script-util.sh"
RETURN_CODE=$?
if test ${RETURN_CODE} -ne 0
then
  exit ${RETURN_CODE}
fi
# Check options
# An exit code of 0 means options are correct => continue unconfiguration
# An exit code of 51 means --help or --version option has been specified => do not unconfigure
# An exit code of 10 means syntax error => do not unconfigure
"${OPENDS_JAVA_BIN}" ${OPENDS_JAVA_ARGS} ${SCRIPT_NAME_ARG} -DINSTALL_ROOT=${INSTALL_ROOT} org.opends.server.tools.configurator.Unconfigurator --checkOptions "${@}"
EC=${?}
if test ${EC} -eq 10
then
   exit 1
fi
if test ${EC} -eq 51
then
   exit 0
fi
# Launch the unconfiguration
# Stop the server if needed
# Check server status: an exit code of 98  means that the server is running
${OPENDS_JAVA_BIN} ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
            --configClass org.opends.server.extensions.ConfigFileHandler \
            --configFile "${CONFIG_FILE}" --checkStartability "${@}" > /dev/null 2>&1
EC=${?}
if test ${EC} -eq 98
then
  echo "Stopping the server ..."
  ${INSTALL_ROOT}/bin/stop-ds
  EC=${?}
  if test ${EC} -eq 0
  then
    EC=98
    while test ${EC} -eq 98
    do
      ${OPENDS_JAVA_BIN} ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
            --configClass org.opends.server.extensions.ConfigFileHandler \
            --configFile "${CONFIG_FILE}" --checkStartability "${@}" > /dev/null 2>&1
      EC=${?}
      sleep 1
    done
  else
    echo "Unable to stop the server: ${EC}"
    exit ${EC}
  fi
fi
echo "Disabling SMF service ..."
# Now update SMF manifest, delete it and remove the file from  /var/svc/manifest
echo select network/ldap/server >  /tmp/opends-unconfigure.$$
echo delete opends >> /tmp/opends-unconfigure.$$
/usr/sbin/svccfg -f /tmp/opends-unconfigure.$$
rm /tmp/opends-unconfigure.$$
rm /var/svc/manifest/network/ldap/opends-manifest.xml
echo "Resetting instance location ..."
# Launch the unconfigure process.
"${OPENDS_JAVA_BIN}" ${OPENDS_JAVA_ARGS} ${SCRIPT_NAME_ARG} -DINSTALL_ROOT=${INSTALL_ROOT} org.opends.server.tools.configurator.Unconfigurator "${@}"
EC=${?}
if test ${EC} -eq 10
then
   exit 1
fi
opends/src/messages/messages/tools.properties
@@ -2442,3 +2442,7 @@
 compatible time/date pattern
INFO_TASK_TOOL_RECURRING_TASK_SCHEDULED_1655=Recurring %s task %s scheduled \
 successfully
INFO_UNCONFIGURE_USAGE_DESCRIPTION_1656=This utility unsets the instance location
INFO_DESCRIPTION_CHECK_OPTIONS_1657=Checks options are valid
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java
@@ -221,7 +221,9 @@
    // Check version
    if (checkVersionArg.isPresent()) {
        BuildInformation installBi =
                  BuildInformation.fromBuildString(VERSION_NUMBER_STRING +
                  BuildInformation.fromBuildString(MAJOR_VERSION +
                                                   "." + MINOR_VERSION +
                                                   "." + POINT_VERSION +
                                                   "." + REVISION_NUMBER);
      BuildInformation instanceBi = installBi;
opends/src/server/org/opends/server/tools/configurator/Unconfigurator.java
New file
@@ -0,0 +1,209 @@
/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * You can obtain a copy of the license at
 * trunk/opends/resource/legal-notices/OpenDS.LICENSE
 * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at
 * trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
 * add the following below this CDDL HEADER, with the fields enclosed
 * by brackets "[]" replaced with your own identifying information:
 *      Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.tools.configurator;
import java.io.File;
import org.opends.quicksetup.ReturnCode;
import org.opends.server.util.args.ArgumentException;
import org.opends.server.util.args.ArgumentParser;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.opends.messages.Message;
import org.opends.quicksetup.ApplicationException;
import org.opends.quicksetup.CliApplication;
import org.opends.quicksetup.Installation;
import org.opends.quicksetup.Launcher;
import org.opends.quicksetup.util.Utils;
import org.opends.server.util.ServerConstants;
import org.opends.server.util.args.BooleanArgument;
import org.opends.quicksetup.QuickSetupLog;
import static org.opends.messages.ToolMessages.*;
import static org.opends.server.tools.ToolConstants.*;
import static org.opends.messages.QuickSetupMessages.*;
/**
 * This class is called by the unconfigure command line to move the default
 * Directory Server instance.
 */
public class Unconfigurator extends Launcher {
  static private final Logger LOG = Logger.getLogger(
    Unconfigurator.class.getName());
  /** Prefix for log files. */
  static public final String LOG_FILE_PREFIX = "opends-unconfigure-";
  private String installRootFromSystem;
  private ArgumentParser argParser;
  private BooleanArgument showUsage;
  private BooleanArgument checkOptions;
  /**
   * The main method which is called by the unconfigure command lines.
   *
   * @param args the arguments passed by the command line.
   */
  public static void main(String[] args) {
    try {
      QuickSetupLog.initLogFileHandler(
              File.createTempFile(LOG_FILE_PREFIX,
                      QuickSetupLog.LOG_FILE_SUFFIX));
    } catch (Throwable t) {
      System.err.println(INFO_ERROR_INITIALIZING_LOG.get());
      t.printStackTrace();
    }
    try {
      Unconfigurator unconfigurator;
      unconfigurator = new Unconfigurator(args);
      unconfigurator.parseArgs(args);
      unconfigurator.unconfigure();
    } catch (ApplicationException ae) {
      LOG.log(Level.SEVERE, "Error during unconfig: " + ae.getMessageObject());
      System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
    }
  }
  private void parseArgs(String[] args) {
    try {
      argParser.parseArguments(args);
      if (argParser.usageOrVersionDisplayed()) {
        System.exit(ReturnCode.PRINT_USAGE.getReturnCode());
      }
      if (checkOptions.isPresent()) {
        System.exit(ReturnCode.SUCCESSFUL.getReturnCode());
      }
   } catch (ArgumentException ae) {
      System.err.println(ae.getMessageObject());
      printUsage(false);
      System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
    }
  }
  private void unconfigure() throws ApplicationException {
      /* Delete instance.loc */
      File instanceLoc = new File(Installation.INSTANCE_LOCATION_PATH);
      boolean res = instanceLoc.delete();
      if (!res) {
        System.err.println("Unable to delete: " +
                Installation.INSTANCE_LOCATION_PATH);
        System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
      }
  }
  private Unconfigurator(String[] args) {
    super(args);
    String scriptName = "unconfigure";
    if (Utils.isWindows()) {
      System.err.println("Not supported platform: Windows");
      System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
    } else {
      scriptName = Installation.UNIX_CONFIGURE_FILE_NAME;
    }
    if (System.getProperty(ServerConstants.PROPERTY_SCRIPT_NAME) == null) {
      System.setProperty(ServerConstants.PROPERTY_SCRIPT_NAME, scriptName);
    }
    installRootFromSystem = System.getProperty("INSTALL_ROOT");
    if (installRootFromSystem == null) {
      System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
    }
   argParser = new ArgumentParser(getClass().getName(),
                 INFO_UNCONFIGURE_USAGE_DESCRIPTION.get(), false);
    try {
      checkOptions = new BooleanArgument("checkOptions", null,
                              "checkOptions",
                              INFO_DESCRIPTION_CHECK_OPTIONS.get());
      checkOptions.setHidden(true);
      argParser.addArgument(checkOptions);
      showUsage = new BooleanArgument(
        "showusage",
        OPTION_SHORT_HELP,
        OPTION_LONG_HELP,
        INFO_DESCRIPTION_USAGE.get());
      argParser.addArgument(showUsage);
      argParser.setUsageArgument(showUsage);
    } catch (ArgumentException ae) {
      System.err.println(ae.getMessageObject());
      printUsage(false);
      System.exit(ReturnCode.APPLICATION_ERROR.getReturnCode());
    }
  }
  /**
   * {@inheritDoc}
   */
  protected void willLaunchGui() {
    return;
  }
  /**
   * {@inheritDoc}
   */
  protected void guiLaunchFailed(String logFilePath) {
    return;
  }
  /**
   * {@inheritDoc}
   */
  protected CliApplication createCliApplication() {
    return null;
  }
  /**
   * {@inheritDoc}
   */
  protected Message getFrameTitle() {
    return null;
  }
  /**
   * {@inheritDoc}
   */
  public ArgumentParser getArgumentParser() {
    return argParser;
  }
}
opends/src/svr4/OpenDS/copyright
@@ -1,17 +1,1272 @@
Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
Common Development and Distribution License, Version 1.0 only
(the "License").  You may not use this file except in compliance
with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
You can obtain a copy of the license at
trunk/opends/resource/legal-notices/OpenDS.LICENSE
or https://OpenDS.dev.java.net/OpenDS.LICENSE.
See the License for the specific language governing permissions
and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
file and include the License file at
trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
add the following below this CDDL HEADER, with the fields enclosed
by brackets "[]" replaced with your own identifying information:
     Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
     Copyright 2009 Sun Microsystems, Inc.
--------------------------------------------------------------------
Unless otherwise noted, all files in this distribution are released
under the Common Development and Distribution License (CDDL).
Exceptions are noted within the associated source files.
--------------------------------------------------------------------
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0
1. Definitions.
    1.1. "Contributor" means each individual or entity that creates
         or contributes to the creation of Modifications.
    1.2. "Contributor Version" means the combination of the Original
         Software, prior Modifications used by a Contributor (if any),
         and the Modifications made by that particular Contributor.
    1.3. "Covered Software" means (a) the Original Software, or (b)
         Modifications, or (c) the combination of files containing
         Original Software with files containing Modifications, in
         each case including portions thereof.
    1.4. "Executable" means the Covered Software in any form other
         than Source Code.
    1.5. "Initial Developer" means the individual or entity that first
         makes Original Software available under this License.
    1.6. "Larger Work" means a work which combines Covered Software or
         portions thereof with code not governed by the terms of this
         License.
    1.7. "License" means this document.
    1.8. "Licensable" means having the right to grant, to the maximum
         extent possible, whether at the time of the initial grant or
         subsequently acquired, any and all of the rights conveyed
         herein.
    1.9. "Modifications" means the Source Code and Executable form of
         any of the following:
        A. Any file that results from an addition to, deletion from or
           modification of the contents of a file containing Original
           Software or previous Modifications;
        B. Any new file that contains any part of the Original
           Software or previous Modifications; or
        C. Any new file that is contributed or otherwise made
           available under the terms of this License.
    1.10. "Original Software" means the Source Code and Executable
          form of computer software code that is originally released
          under this License.
    1.11. "Patent Claims" means any patent claim(s), now owned or
          hereafter acquired, including without limitation, method,
          process, and apparatus claims, in any patent Licensable by
          grantor.
    1.12. "Source Code" means (a) the common form of computer software
          code in which modifications are made and (b) associated
          documentation included in or with such code.
    1.13. "You" (or "Your") means an individual or a legal entity
          exercising rights under, and complying with all of the terms
          of, this License.  For legal entities, "You" includes any
          entity which controls, is controlled by, or is under common
          control with You.  For purposes of this definition,
          "control" means (a) the power, direct or indirect, to cause
          the direction or management of such entity, whether by
          contract or otherwise, or (b) ownership of more than fifty
          percent (50%) of the outstanding shares or beneficial
          ownership of such entity.
2. License Grants.
    2.1. The Initial Developer Grant.
    Conditioned upon Your compliance with Section 3.1 below and
    subject to third party intellectual property claims, the Initial
    Developer hereby grants You a world-wide, royalty-free,
    non-exclusive license:
        (a) under intellectual property rights (other than patent or
            trademark) Licensable by Initial Developer, to use,
            reproduce, modify, display, perform, sublicense and
            distribute the Original Software (or portions thereof),
            with or without Modifications, and/or as part of a Larger
            Work; and
        (b) under Patent Claims infringed by the making, using or
            selling of Original Software, to make, have made, use,
            practice, sell, and offer for sale, and/or otherwise
            dispose of the Original Software (or portions thereof).
        (c) The licenses granted in Sections 2.1(a) and (b) are
            effective on the date Initial Developer first distributes
            or otherwise makes the Original Software available to a
            third party under the terms of this License.
        (d) Notwithstanding Section 2.1(b) above, no patent license is
            granted: (1) for code that You delete from the Original
            Software, or (2) for infringements caused by: (i) the
            modification of the Original Software, or (ii) the
            combination of the Original Software with other software
            or devices.
    2.2. Contributor Grant.
    Conditioned upon Your compliance with Section 3.1 below and
    subject to third party intellectual property claims, each
    Contributor hereby grants You a world-wide, royalty-free,
    non-exclusive license:
        (a) under intellectual property rights (other than patent or
            trademark) Licensable by Contributor to use, reproduce,
            modify, display, perform, sublicense and distribute the
            Modifications created by such Contributor (or portions
            thereof), either on an unmodified basis, with other
            Modifications, as Covered Software and/or as part of a
            Larger Work; and
        (b) under Patent Claims infringed by the making, using, or
            selling of Modifications made by that Contributor either
            alone and/or in combination with its Contributor Version
            (or portions of such combination), to make, use, sell,
            offer for sale, have made, and/or otherwise dispose of:
            (1) Modifications made by that Contributor (or portions
            thereof); and (2) the combination of Modifications made by
            that Contributor with its Contributor Version (or portions
            of such combination).
        (c) The licenses granted in Sections 2.2(a) and 2.2(b) are
            effective on the date Contributor first distributes or
            otherwise makes the Modifications available to a third
            party.
        (d) Notwithstanding Section 2.2(b) above, no patent license is
            granted: (1) for any code that Contributor has deleted
            from the Contributor Version; (2) for infringements caused
            by: (i) third party modifications of Contributor Version,
            or (ii) the combination of Modifications made by that
            Contributor with other software (except as part of the
            Contributor Version) or other devices; or (3) under Patent
            Claims infringed by Covered Software in the absence of
            Modifications made by that Contributor.
3. Distribution Obligations.
    3.1. Availability of Source Code.
    Any Covered Software that You distribute or otherwise make
    available in Executable form must also be made available in Source
    Code form and that Source Code form must be distributed only under
    the terms of this License.  You must include a copy of this
    License with every copy of the Source Code form of the Covered
    Software You distribute or otherwise make available.  You must
    inform recipients of any such Covered Software in Executable form
    as to how they can obtain such Covered Software in Source Code
    form in a reasonable manner on or through a medium customarily
    used for software exchange.
    3.2. Modifications.
    The Modifications that You create or to which You contribute are
    governed by the terms of this License.  You represent that You
    believe Your Modifications are Your original creation(s) and/or
    You have sufficient rights to grant the rights conveyed by this
    License.
    3.3. Required Notices.
    You must include a notice in each of Your Modifications that
    identifies You as the Contributor of the Modification.  You may
    not remove or alter any copyright, patent or trademark notices
    contained within the Covered Software, or any notices of licensing
    or any descriptive text giving attribution to any Contributor or
    the Initial Developer.
    3.4. Application of Additional Terms.
    You may not offer or impose any terms on any Covered Software in
    Source Code form that alters or restricts the applicable version
    of this License or the recipients' rights hereunder.  You may
    choose to offer, and to charge a fee for, warranty, support,
    indemnity or liability obligations to one or more recipients of
    Covered Software.  However, you may do so only on Your own behalf,
    and not on behalf of the Initial Developer or any Contributor.
    You must make it absolutely clear that any such warranty, support,
    indemnity or liability obligation is offered by You alone, and You
    hereby agree to indemnify the Initial Developer and every
    Contributor for any liability incurred by the Initial Developer or
    such Contributor as a result of warranty, support, indemnity or
    liability terms You offer.
    3.5. Distribution of Executable Versions.
    You may distribute the Executable form of the Covered Software
    under the terms of this License or under the terms of a license of
    Your choice, which may contain terms different from this License,
    provided that You are in compliance with the terms of this License
    and that the license for the Executable form does not attempt to
    limit or alter the recipient's rights in the Source Code form from
    the rights set forth in this License.  If You distribute the
    Covered Software in Executable form under a different license, You
    must make it absolutely clear that any terms which differ from
    this License are offered by You alone, not by the Initial
    Developer or Contributor.  You hereby agree to indemnify the
    Initial Developer and every Contributor for any liability incurred
    by the Initial Developer or such Contributor as a result of any
    such terms You offer.
    3.6. Larger Works.
    You may create a Larger Work by combining Covered Software with
    other code not governed by the terms of this License and
    distribute the Larger Work as a single product.  In such a case,
    You must make sure the requirements of this License are fulfilled
    for the Covered Software.
4. Versions of the License.
    4.1. New Versions.
    Sun Microsystems, Inc. is the initial license steward and may
    publish revised and/or new versions of this License from time to
    time.  Each version will be given a distinguishing version number.
    Except as provided in Section 4.3, no one other than the license
    steward has the right to modify this License.
    4.2. Effect of New Versions.
    You may always continue to use, distribute or otherwise make the
    Covered Software available under the terms of the version of the
    License under which You originally received the Covered Software.
    If the Initial Developer includes a notice in the Original
    Software prohibiting it from being distributed or otherwise made
    available under any subsequent version of the License, You must
    distribute and make the Covered Software available under the terms
    of the version of the License under which You originally received
    the Covered Software.  Otherwise, You may also choose to use,
    distribute or otherwise make the Covered Software available under
    the terms of any subsequent version of the License published by
    the license steward.
    4.3. Modified Versions.
    When You are an Initial Developer and You want to create a new
    license for Your Original Software, You may create and use a
    modified version of this License if You: (a) rename the license
    and remove any references to the name of the license steward
    (except to note that the license differs from this License); and
    (b) otherwise make it clear that the license contains terms which
    differ from this License.
5. DISCLAIMER OF WARRANTY.
    COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
    BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
    INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
    SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
    PURPOSE OR NON-INFRINGING.  THE ENTIRE RISK AS TO THE QUALITY AND
    PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU.  SHOULD ANY
    COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
    INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY
    NECESSARY SERVICING, REPAIR OR CORRECTION.  THIS DISCLAIMER OF
    WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE.  NO USE OF
    ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
    DISCLAIMER.
6. TERMINATION.
    6.1. This License and the rights granted hereunder will terminate
    automatically if You fail to comply with terms herein and fail to
    cure such breach within 30 days of becoming aware of the breach.
    Provisions which, by their nature, must remain in effect beyond
    the termination of this License shall survive.
    6.2. If You assert a patent infringement claim (excluding
    declaratory judgment actions) against Initial Developer or a
    Contributor (the Initial Developer or Contributor against whom You
    assert such claim is referred to as "Participant") alleging that
    the Participant Software (meaning the Contributor Version where
    the Participant is a Contributor or the Original Software where
    the Participant is the Initial Developer) directly or indirectly
    infringes any patent, then any and all rights granted directly or
    indirectly to You by such Participant, the Initial Developer (if
    the Initial Developer is not the Participant) and all Contributors
    under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
    notice from Participant terminate prospectively and automatically
    at the expiration of such 60 day notice period, unless if within
    such 60 day period You withdraw Your claim with respect to the
    Participant Software against such Participant either unilaterally
    or pursuant to a written agreement with Participant.
    6.3. In the event of termination under Sections 6.1 or 6.2 above,
    all end user licenses that have been validly granted by You or any
    distributor hereunder prior to termination (excluding licenses
    granted to You by any distributor) shall survive termination.
7. LIMITATION OF LIABILITY.
    UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
    (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
    INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
    COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
    LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
    CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
    LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
    STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
    COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
    INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.  THIS LIMITATION OF
    LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
    INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
    APPLICABLE LAW PROHIBITS SUCH LIMITATION.  SOME JURISDICTIONS DO
    NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
    CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
    APPLY TO YOU.
8. U.S. GOVERNMENT END USERS.
    The Covered Software is a "commercial item," as that term is
    defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
    computer software" (as that term is defined at 48
    C.F.R. 252.227-7014(a)(1)) and "commercial computer software
    documentation" as such terms are used in 48 C.F.R. 12.212
    (Sept. 1995).  Consistent with 48 C.F.R. 12.212 and 48
    C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
    U.S. Government End Users acquire Covered Software with only those
    rights set forth herein.  This U.S. Government Rights clause is in
    lieu of, and supersedes, any other FAR, DFAR, or other clause or
    provision that addresses Government rights in computer software
    under this License.
9. MISCELLANEOUS.
    This License represents the complete agreement concerning subject
    matter hereof.  If any provision of this License is held to be
    unenforceable, such provision shall be reformed only to the extent
    necessary to make it enforceable.  This License shall be governed
    by the law of the jurisdiction specified in a notice contained
    within the Original Software (except to the extent applicable law,
    if any, provides otherwise), excluding such jurisdiction's
    conflict-of-law provisions.  Any litigation relating to this
    License shall be subject to the jurisdiction of the courts located
    in the jurisdiction and venue specified in a notice contained
    within the Original Software, with the losing party responsible
    for costs, including, without limitation, court costs and
    reasonable attorneys' fees and expenses.  The application of the
    United Nations Convention on Contracts for the International Sale
    of Goods is expressly excluded.  Any law or regulation which
    provides that the language of a contract shall be construed
    against the drafter shall not apply to this License.  You agree
    that You alone are responsible for compliance with the United
    States export administration regulations (and the export control
    laws and regulation of any other countries) when You use,
    distribute or otherwise make available any Covered Software.
10. RESPONSIBILITY FOR CLAIMS.
    As between Initial Developer and the Contributors, each party is
    responsible for claims and damages arising, directly or
    indirectly, out of its utilization of rights under this License
    and You agree to work with Initial Developer and Contributors to
    distribute such responsibility on an equitable basis.  Nothing
    herein is intended or shall be deemed to constitute any admission
    of liability.
--------------------------------------------------------------------
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
DISTRIBUTION LICENSE (CDDL)
For Covered Software in this distribution, this License shall
be governed by the laws of the State of California (excluding
conflict-of-law provisions).
Any litigation relating to this License shall be subject to the
jurisdiction of the Federal Courts of the Northern District of
California and the state courts of the State of California, with
venue lying in Santa Clara County, California.
--------------------------------------------------------------------
SUN MICROSYSTEMS, INC. SOFTWARE LICENSE AGREEMENTS
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE BELOW DEFINED SOFTWARE
TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN
THIS SOFTWARE LICENSE AGREEMENT ("AGREEMENT").
PLEASE READ THE AGREEMENT CAREFULLY.  BY DOWNLOADING OR INSTALLING THIS
SOFTWARE, YOU ACCEPT THE FULL TERMS OF THE AGREEMENT.
1. Definitions.
"Software" means all the portions of the OpenDS distribution provided by Sun
only in binary code form, and including any updates or error corrections or
documentation provided by Sun under this Agreement.
2. Permitted Uses.
Subject to the terms and conditions of this Agreement and restrictions and
exceptions set forth in the Software's documentation, Sun grants you a
non-exclusive, non-transferable, limited license without fees to
(a) reproduce and use internally the Software for the purposes of developing
or running OpenDS or modified versions of OpenDS.
(b) reproduce and distribute the Software (and also portions of Software
identified as Redistributable in the documentation accompanying Software),
provided that you
  (i) distribute the Software or Redistributables bundled as part of, and for
the sole purpose of running, OpenDS or modified versions of OpenDS;
  (ii) do not remove or alter any proprietary legends or notices contained in
or on the Software or Redistributables,
  (iii) only distribute the Software or Redistributables subject to a license
agreement that protects Sun's interests consistent with the terms contained in
this Agreement, and
  (iv) you agree to defend and indemnify Sun and its licensors from and against
any damages, costs, liabilities, settlement amounts and/or expenses (including
attorneys' fees) incurred in connection with any claim, lawsuit or action by
any third party that arises or results from the use or distribution of any and
all Programs, Software, or Redistributables.
3. Restrictions.
(a) The copies of Software provided to you under this Agreement is licensed,
not sold, to you by Sun. Sun reserves all rights not expressly granted.
(b) You may not modify Software. However if the documentation accompanying
Software lists specific portions of Software, such as header files, class
libraries, reference source code, and/or redistributable files, that may be
handled differently, you may do so only as provided in the documentation.
(c) You may not rent, lease, lend or encumber Software.
(d) you do not remove or alter any proprietary legends or notices contained
in the Software,
(e) Unless enforcement is prohibited by applicable law, you may not decompile,
or reverse engineer Software.
(f) The terms and conditions of this Agreement will apply to any Software
updates, provided to you at Sun's discretion, that replace and/or supplement
the original Software, unless such update contains a separate license.
(g) Software is confidential and copyrighted.
(h) Software is not designed, licensed or intended for use in the design,
construction, operation or maintenance of any nuclear facility and Sun and
its licensors disclaim any express or implied warranty of fitness for such uses.
(i) No right, title or interest in or to any trademark, service mark, logo or
trade name of Sun or its licensors is granted under this Agreement.
(j) If your Permitted Use in this Agreement permits the distribution Software
or portions of the Software, you may only distribute the Software subject to
a license agreement that protects Sun's interests consistent with the terms
contained in this Agreement.
4. Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional classes
to, or modifications of, the Java technology, except under compatibility
requirements available under a separate agreement available at www.java.net.
Sun supports and benefits from the global community of open source developers,
and thanks the community for its important contributions and open
standards-based technology, which Sun has adopted into many of its products.
Please note that portions of Software may be provided with notices and open
source licenses from such communities and third parties that govern the use of
those portions, and any licenses granted hereunder do not alter any rights and
obligations you may have under such open source licenses, however, the
disclaimer of warranty and limitation of liability provisions in this Agreement
will apply to all Software in this distribution.
5. Term and Termination.
The Agreement is effective on the Date you receive the Software and remains
effective until terminated. Your rights under this Agreement will terminate
immediately without notice from Sun if you materially breach it or take any
action in derogation of Sun's and/or its licensors' rights to Software. Sun
may terminate this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual property
infringement or trade secret misappropriation. Upon termination, you will
cease use of, and destroy, Software and confirm compliance in writing to Sun.
Sections 1, 3, 4, 5, and 7-13 will survive termination of the Agreement.
6. Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of receipt, the
media on which Software is furnished (if any) will be free of defects in
materials and workmanship under normal use. Except for the foregoing, Software
is provided "AS IS". Your exclusive remedy and Sun's entire liability under this
limited warranty will be at Sun's option to replace Software media or refund the
fee paid for Software. Some states do not allow limitations on certain implied
warranties, so the above may not apply to you. This limited warranty gives you
specific legal rights. You may have others, which vary from state to state.
7. Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE
DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
8. Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE
LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE
THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE
SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no
event will Sun's liability to you, whether in contract, tort (including
negligence), or otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above stated
warranty fails of its essential purpose. Some states do not allow the exclusion
of incidental or consequential damages, so some of the terms above may not be
applicable to you.
9. Export Regulations.
All Software, documents, technical data, and any other materials delivered under
this Agreement are subject to U.S. export control laws and may be subject to
export or import regulations in other countries. You agree to comply strictly
with these laws and regulations and acknowledge that you have the responsibility
to obtain any licenses to export, re-export, or import as may be required after
delivery to you.
10. U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or by a
U.S. Government prime contractor or subcontractor (at any tier), then the
Government's rights in Software and accompanying documentation will be only as
set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through
227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101
and 12.212 (for non-DOD acquisitions).
11. Governing Law.
Any action related to this Agreement will be governed by California law and
controlling U.S. federal law. No choice of law rules of any jurisdiction will
apply.
12. Severability.
If any provision of this Agreement is held to be unenforceable, this Agreement
will remain in effect with the provision omitted, unless omission would
frustrate the intent of the parties, in which case this Agreement will
immediately terminate.
13. Integration.
This Agreement is the entire agreement between you and Sun relating to its
subject matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails over any
conflicting or additional terms of any quote, order, acknowledgment, or other
communication between the parties relating to its subject matter during the term
of this Agreement. No modification of this Agreement will be binding, unless in
writing and signed by an authorized representative of each party.
--------------------------------------------------------------------
/*-
 * $Id: LICENSE,v 1.5 2006/01/03 21:55:06 bostic Exp $
 */
The following is the license that applies to this copy of the Berkeley
DB Java Edition software.  For a license to use the Berkeley DB Java
Edition software under conditions other than those described here, or
to purchase support for this software, please contact Sleepycat Software
by email at info@sleepycat.com, or on the Web at http://www.sleepycat.com.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/*
 * Copyright (c) 2002-2006
 *  Sleepycat Software.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Redistributions in any form must be accompanied by information on
 *    how to obtain complete source code for the DB software and any
 *    accompanying software that uses the DB software.  The source code
 *    must either be included in the distribution or be available for no
 *    more than the cost of distribution plus a nominal fee, and must be
 *    freely redistributable under reasonable conditions.  For an
 *    executable file, complete source code means the source code for all
 *    modules it contains.  It does not include source code for modules or
 *    files that typically accompany the major components of the operating
 *    system on which the executable file runs.
 *
 * THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL SLEEPYCAT SOFTWARE
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */
--------------------------------------------------------------------
Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE
Licensee/Company: Entity receiving Software.
Effective Date: Date of delivery of the Software to You.
Software: JavaMail 1.4.1.
License Term:  Perpetual (subject to termination under the SLA).
Licensed Unit: Software Copy.
Licensed unit Count: Unlimited.
Permitted Uses:
1. You may reproduce and use the Software for Individual, Commercial,
or Research and Instructional Use for the purposes of designing,
developing, testing, and running Your applets and
application("Programs").
2. Subject to the terms and conditions of this Agreement and
restrictions and exceptions set forth in the Software's documentation,
You may reproduce and distribute portions of Software identified as a
redistributable in the documentation ("Redistributable"), provided
that:
(a) you distribute Redistributable complete and unmodified and only
bundled as part of Your Programs,
(b) your Programs add significant and primary functionality to the
Redistributable,
(c) you distribute Redistributable for the sole purpose of running your
Programs,
(d) you do not distribute additional software intended to replace any
component(s) of the Redistributable,
(e) you do not remove or alter any proprietary legends or notices
contained in or on the Redistributable.
(f) you only distribute the Redistributable subject to a license
agreement that protects Sun's interests consistent with the terms
contained in this Agreement, and
(g) you agree to defend and indemnify Sun and its licensors from and
against any damages, costs, liabilities, settlement amounts and/or
expenses  (including attorneys' fees) incurred in connection with any
claim, lawsuit or action by any third party that arises or results from
the use or distribution of any and all Programs and/or
Redistributable.
3. Java Technology Restrictions.  You may not create, modify, or change
the behavior of, or authorize your licensees to create, modify, or
change the behavior of, classes, interfaces, or subpackages that are in
any way identified as "java", "javax", "sun" or similar convention as
specified by Sun in any naming convention designation.
B. Sun Microsystems, Inc. ("Sun")
SOFTWARE LICENSE AGREEMENT
READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING
SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY,
SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT.
IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR
YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT
("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE
MASTER TERMS IN RELATION TO THIS SOFTWARE.
1.      Definitions.
(a)     "Entitlement" means the collective set of applicable documents
authorized by Sun evidencing your obligation to pay associated fees (if
any) for the license, associated Services, and the authorized scope of
use of Software under this Agreement.
(b)     "Licensed Unit" means the unit of measure by which your use of
Software and/or Service is licensed, as described in your Entitlement.
(c)     "Permitted Use" means the licensed Software use(s) authorized
in this Agreement as specified in your Entitlement. The Permitted Use
for any bundled Sun software not specified in your Entitlement will be
evaluation use as provided in Section 3.
(d)     "Service" means the service(s) that Sun or its delegate will
provide, if any, as selected in your Entitlement and as further
described in the applicable service listings at
www.sun.com/service/servicelist.
(e)     "Software" means the Sun software described in your
Entitlement. Also, certain software may be included for evaluation use
under Section 3.
(f)     "You" and "Your" means the individual or legal entity specified
in the Entitlement, or for evaluation purposes, the entity performing
the evaluation.
2.      License Grant and Entitlement.
Subject to the terms of your Entitlement, Sun grants you a
nonexclusive, nontransferable limited license to use Software for its
Permitted Use for the license term. Your Entitlement will specify (a)
Software licensed, (b) the Permitted Use, (c) the license term, and (d)
the Licensed Units.
Additionally, if your Entitlement includes Services, then it will also
specify the (e) Service and (f) service term.
If your rights to Software or Services are limited in duration and the
date such rights begin is other than the purchase date, your
Entitlement will provide that beginning date(s).
The Entitlement may be delivered to you in various ways depending on
the manner in which you obtain Software and Services, for example, the
Entitlement may be provided in your receipt, invoice or your contract
with Sun or authorized Sun reseller. It may also be in electronic
format if you download Software.
3.      Permitted Use.
As selected in your Entitlement, one or more of the following Permitted
Uses will apply to your use of Software. Unless you have an Entitlement
that expressly permits it, you may not use Software for any of the
other Permitted Uses. If you don't have an Entitlement, or if your
Entitlement doesn't cover additional software delivered to you, then
such software is for your Evaluation Use.
(a) Evaluation Use. You may evaluate Software internally for a period
of 90 days from your first use.
(b) Research and Instructional Use. You may use Software internally to
design, develop and test, and also to provide instruction on such
uses.
(c) Individual Use. You may use Software internally for personal,
individual use.
(d) Commercial Use. You may use Software internally for your own
commercial purposes.
(e) Service Provider Use. You may make Software functionality
accessible (but not by providing Software itself or through outsourcing
services) to your end users in an extranet deployment, but not to your
affiliated companies or to government agencies.
4.      Licensed Units.
Your Permitted Use is limited to the number of Licensed Units stated in
your Entitlement. If you require additional Licensed Units, you will
need additional Entitlement(s).
5.  Restrictions.
(a) The copies of Software provided to you under this Agreement are
licensed, not sold, to you by Sun. Sun reserves all rights not
expressly granted. (b) You may make a single archival copy of Software,
but otherwise may not copy, modify, or distribute Software. However if
the Sun documentation accompanying Software lists specific portions of
Software, such as header files, class libraries, reference source code,
and/or redistributable files, that may be handled differently, you may
do so only as provided in the Sun documentation. (c) You may not rent,
lease, lend or encumber Software. (d) Unless enforcement is prohibited
by applicable law, you may not decompile, or reverse engineer Software.
(e) The terms and conditions of this Agreement will apply to any
Software updates, provided to you at Sun's discretion, that replace
and/or supplement the original Software, unless such update contains a
separate license. (f) You may not publish or provide the results of any
benchmark or comparison tests run on Software to any third party
without the prior written consent of Sun. (g) Software is confidential
and copyrighted. (h) Unless otherwise specified, if Software is
delivered with embedded or bundled software that enables functionality
of Software, you may not use such software on a stand-alone basis or
use any portion of such software to interoperate with any program(s)
other than Software. (i) Software may contain programs that perform
automated collection of system data and/or automated software updating
services. System data collected through such programs may be used by
Sun, its subcontractors, and its service delivery partners for the
purpose of providing you with remote system services and/or improving
Sun's software and systems. (j) Software is not designed, licensed or
intended for use in the design, construction, operation or maintenance
of any nuclear facility and Sun and its licensors disclaim any express
or implied warranty of fitness for such uses. (k) No right, title or
interest in or to any trademark, service mark, logo or trade name of
Sun or its licensors is granted under this Agreement.
6.      Term and Termination.
The license and service term are set forth in your Entitlement(s). Your
rights under this Agreement will terminate immediately without notice
from Sun if you materially breach it or take any action in derogation
of Sun's and/or its licensors' rights to Software. Sun may terminate
this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual
property infringement or trade secret misappropriation. Upon
termination, you will cease use of, and destroy, Software and confirm
compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will
survive termination of the Agreement.
7.      Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional
classes to, or modifications of, the Java technology, except under
compatibility requirements available under a separate agreement
available at www.java.net.
Sun supports and benefits from the global community of open source
developers, and thanks the community for its important contributions
and open standards-based technology, which Sun has adopted into many of
its products.
Please note that portions of Software may be provided with notices and
open source licenses from such communities and third parties that
govern the use of those portions, and any licenses granted hereunder do
not alter any rights and obligations you may have under such open
source licenses, however, the disclaimer of warranty and limitation of
liability provisions in this Agreement will apply to all Software in
this distribution.
8.      Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of
purchase, as evidenced by a copy of the receipt, the media on which
Software is furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing, Software is
provided "AS IS". Your exclusive remedy and Sun's entire liability
under this limited warranty will be at Sun's option to replace Software
media or refund the fee paid for Software. Some states do not allow
limitations on certain implied warranties, so the above may not apply
to you. This limited warranty gives you specific legal rights. You may
have others, which vary from state to state.
9.      Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID.
10.     Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR
RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above
stated warranty fails of its essential purpose. Some states do not
allow the exclusion of incidental or consequential damages, so some of
the terms above may not be applicable to you.
11.     Export Regulations.
All Software, documents, technical data, and any other materials
delivered under this Agreement are subject to U.S. export control laws
and may be subject to export or import regulations in other countries.
You agree to comply strictly with these laws and regulations and
acknowledge that you have the responsibility to obtain any licenses to
export, re-export, or import as may be required after delivery to you.
12.     U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or
by a U.S. Government prime contractor or subcontractor (at any tier),
then the Government's rights in Software and accompanying documentation
will be only as set forth in this Agreement; this is in accordance with
48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
13.     Governing Law.
Any action related to this Agreement will be governed by California law
and controlling U.S. federal law. No choice of law rules of any
jurisdiction will apply.
14.     Severability.
If any provision of this Agreement is held to be unenforceable, this
Agreement will remain in effect with the provision omitted, unless
omission would frustrate the intent of the parties, in which case this
Agreement will immediately terminate.
15.     Integration.
This Agreement, including any terms contained in your Entitlement, is
the entire agreement between you and Sun relating to its subject
matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails
over any conflicting or additional terms of any quote, order,
acknowledgment, or other communication between the parties relating to
its subject matter during the term of this Agreement. No modification
of this Agreement will be binding, unless in writing and signed by an
authorized representative of each party.
Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,
California 95054 if you have questions.
--------------------------------------------------------------------
A. Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE
Licensee/Company: Entity receiving Software.
Effective Date: Date of delivery of the Software to You.
Software: JavaBeans Activation Framework 1.1.1.
License Term:  Perpetual (subject to termination under the SLA).
Licensed Unit: Software Copy.
Licensed unit Count: Unlimited.
Permitted Uses:
1. You may reproduce and use the Software for Individual, Commercial,
or Research and Instructional Use for the purposes of designing,
developing, testing, and running Your applets and
application("Programs").
2. Subject to the terms and conditions of this Agreement and
restrictions and exceptions set forth in the Software's documentation,
You may reproduce and distribute portions of Software identified as a
redistributable in the documentation ("Redistributable"), provided
that:
(a) you distribute Redistributable complete and unmodified and only
bundled as part of Your Programs,
(b) your Programs add significant and primary functionality to the
Redistributable,
(c) you distribute Redistributable for the sole purpose of running your
Programs,
(d) you do not distribute additional software intended to replace any
component(s) of the Redistributable,
(e) you do not remove or alter any proprietary legends or notices
contained in or on the Redistributable.
(f) you only distribute the Redistributable subject to a license
agreement that protects Sun's interests consistent with the terms
contained in this Agreement, and
(g) you agree to defend and indemnify Sun and its licensors from and
against any damages, costs, liabilities, settlement amounts and/or
expenses  (including attorneys' fees) incurred in connection with any
claim, lawsuit or action by any third party that arises or results from
the use or distribution of any and all Programs and/or
Redistributable.
3. Java Technology Restrictions.  You may not create, modify, or change
the behavior of, or authorize your licensees to create, modify, or
change the behavior of, classes, interfaces, or subpackages that are in
any way identified as "java", "javax", "sun" or similar convention as
specified by Sun in any naming convention designation.
B. Sun Microsystems, Inc. ("Sun")
SOFTWARE LICENSE AGREEMENT
READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING
SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY,
SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT.
IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR
YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT
("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE
MASTER TERMS IN RELATION TO THIS SOFTWARE.
1.      Definitions.
(a)     "Entitlement" means the collective set of applicable documents
authorized by Sun evidencing your obligation to pay associated fees (if
any) for the license, associated Services, and the authorized scope of
use of Software under this Agreement.
(b)     "Licensed Unit" means the unit of measure by which your use of
Software and/or Service is licensed, as described in your Entitlement.
(c)     "Permitted Use" means the licensed Software use(s) authorized
in this Agreement as specified in your Entitlement. The Permitted Use
for any bundled Sun software not specified in your Entitlement will be
evaluation use as provided in Section 3.
(d)     "Service" means the service(s) that Sun or its delegate will
provide, if any, as selected in your Entitlement and as further
described in the applicable service listings at
www.sun.com/service/servicelist.
(e)     "Software" means the Sun software described in your
Entitlement. Also, certain software may be included for evaluation use
under Section 3.
(f)     "You" and "Your" means the individual or legal entity specified
in the Entitlement, or for evaluation purposes, the entity performing
the evaluation.
2.      License Grant and Entitlement.
Subject to the terms of your Entitlement, Sun grants you a
nonexclusive, nontransferable limited license to use Software for its
Permitted Use for the license term. Your Entitlement will specify (a)
Software licensed, (b) the Permitted Use, (c) the license term, and (d)
the Licensed Units.
Additionally, if your Entitlement includes Services, then it will also
specify the (e) Service and (f) service term.
If your rights to Software or Services are limited in duration and the
date such rights begin is other than the purchase date, your
Entitlement will provide that beginning date(s).
The Entitlement may be delivered to you in various ways depending on
the manner in which you obtain Software and Services, for example, the
Entitlement may be provided in your receipt, invoice or your contract
with Sun or authorized Sun reseller. It may also be in electronic
format if you download Software.
3.      Permitted Use.
As selected in your Entitlement, one or more of the following Permitted
Uses will apply to your use of Software. Unless you have an Entitlement
that expressly permits it, you may not use Software for any of the
other Permitted Uses. If you don't have an Entitlement, or if your
Entitlement doesn't cover additional software delivered to you, then
such software is for your Evaluation Use.
(a) Evaluation Use. You may evaluate Software internally for a period
of 90 days from your first use.
(b) Research and Instructional Use. You may use Software internally to
design, develop and test, and also to provide instruction on such
uses.
(c) Individual Use. You may use Software internally for personal,
individual use.
(d) Commercial Use. You may use Software internally for your own
commercial purposes.
(e) Service Provider Use. You may make Software functionality
accessible (but not by providing Software itself or through outsourcing
services) to your end users in an extranet deployment, but not to your
affiliated companies or to government agencies.
4.      Licensed Units.
Your Permitted Use is limited to the number of Licensed Units stated in
your Entitlement. If you require additional Licensed Units, you will
need additional Entitlement(s).
5.  Restrictions.
(a) The copies of Software provided to you under this Agreement are
licensed, not sold, to you by Sun. Sun reserves all rights not
expressly granted. (b) You may make a single archival copy of Software,
but otherwise may not copy, modify, or distribute Software. However if
the Sun documentation accompanying Software lists specific portions of
Software, such as header files, class libraries, reference source code,
and/or redistributable files, that may be handled differently, you may
do so only as provided in the Sun documentation. (c) You may not rent,
lease, lend or encumber Software. (d) Unless enforcement is prohibited
by applicable law, you may not decompile, or reverse engineer
Software.  (e) The terms and conditions of this Agreement will apply to
any Software updates, provided to you at Sun's discretion, that replace
and/or supplement the original Software, unless such update contains a
separate license. (f) You may not publish or provide the results of any
benchmark or comparison tests run on Software to any third party
without the prior written consent of Sun. (g) Software is confidential
and copyrighted. (h) Unless otherwise specified, if Software is
delivered with embedded or bundled software that enables functionality
of Software, you may not use such software on a stand-alone basis or
use any portion of such software to interoperate with any program(s)
other than Software.  (i) Software may contain programs that perform
automated collection of system data and/or automated software updating
services. System data collected through such programs may be used by
Sun, its subcontractors, and its service delivery partners for the
purpose of providing you with remote system services and/or improving
Sun's software and systems. (j) Software is not designed, licensed or
intended for use in the design, construction, operation or maintenance
of any nuclear facility and Sun and its licensors disclaim any express
or implied warranty of fitness for such uses. (k) No right, title or
interest in or to any trademark, service mark, logo or trade name of
Sun or its licensors is granted under this Agreement.
6.  Term and Termination.
The license and service term are set forth in your Entitlement(s). Your
rights under this Agreement will terminate immediately without notice
from Sun if you materially breach it or take any action in derogation
of Sun's and/or its licensors' rights to Software. Sun may terminate
this Agreement should any Software become, or in Sun's reasonable
opinion likely to become, the subject of a claim of intellectual
property infringement or trade secret misappropriation. Upon
termination, you will cease use of, and destroy, Software and confirm
compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will
survive termination of the Agreement.
7.      Java Compatibility and Open Source.
Software may contain Java technology. You may not create additional
classes to, or modifications of, the Java technology, except under
compatibility requirements available under a separate agreement
available at www.java.net.
Sun supports and benefits from the global community of open source
developers, and thanks the community for its important contributions
and open standards-based technology, which Sun has adopted into many of
its products.
Please note that portions of Software may be provided with notices and
open source licenses from such communities and third parties that
govern the use of those portions, and any licenses granted hereunder do
not alter any rights and obligations you may have under such open
source licenses, however, the disclaimer of warranty and limitation of
liability provisions in this Agreement will apply to all Software in
this distribution.
8.      Limited Warranty.
Sun warrants to you that for a period of 90 days from the date of
purchase, as evidenced by a copy of the receipt, the media on which
Software is furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing, Software is
provided "AS IS". Your exclusive remedy and Sun's entire liability
under this limited warranty will be at Sun's option to replace Software
media or refund the fee paid for Software. Some states do not allow
limitations on certain implied warranties, so the above may not apply
to you. This limited warranty gives you specific legal rights. You may
have others, which vary from state to state.
9.      Disclaimer of Warranty.
UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO
BE LEGALLY INVALID.
10.     Limitation of Liability.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR
RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's
liability to you, whether in contract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the above
stated warranty fails of its essential purpose. Some states do not
allow the exclusion of incidental or consequential damages, so some of
the terms above may not be applicable to you.
11.     Export Regulations.
All Software, documents, technical data, and any other materials
delivered under this Agreement are subject to U.S. export control laws
and may be subject to export or import regulations in other countries.
You agree to comply strictly with these laws and regulations and
acknowledge that you have the responsibility to obtain any licenses to
export, re-export, or import as may be required after delivery to you.
12.     U.S. Government Restricted Rights.
If Software is being acquired by or on behalf of the U.S. Government or
by a U.S. Government prime contractor or subcontractor (at any tier),
then the Government's rights in Software and accompanying documentation
will be only as set forth in this Agreement; this is in accordance with
48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
13.     Governing Law.
Any action related to this Agreement will be governed by California law
and controlling U.S. federal law. No choice of law rules of any
jurisdiction will apply.
14.     Severability.
If any provision of this Agreement is held to be unenforceable, this
Agreement will remain in effect with the provision omitted, unless
omission would frustrate the intent of the parties, in which case this
Agreement will immediately terminate.
15.     Integration.
This Agreement, including any terms contained in your Entitlement, is
the entire agreement between you and Sun relating to its subject
matter. It supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties and prevails
over any conflicting or additional terms of any quote, order,
acknowledgment, or other communication between the parties relating to
its subject matter during the term of this Agreement. No modification
of this Agreement will be binding, unless in writing and signed by an
authorized representative of each party.
Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,
California 95054 if you have questions.
opends/src/svr4/OpenDS/layout.xml
@@ -22,7 +22,7 @@
 ! CDDL HEADER END
 !
 !
 !      Copyright 2006-2008 Sun Microsystems, Inc.
 !      Copyright 2006-2009 Sun Microsystems, Inc.
 ! -->
<project name="OpenDS SVR4 layout" basedir=".">
@@ -44,7 +44,9 @@
    </classpath>
  </taskdef>
  <getversionnumber property="pkg.version" />
  <getversionnumber property="pkg.fullversion" />
  <property name="pkg.version"
    value="${MAJOR_VERSION}.${MINOR_VERSION}.${POINT_VERSION}" />
  </target>
  <property name="resource.dir"      location="src/resource" />
@@ -68,7 +70,7 @@
    <getsvnrevision property="REVISION_NUMBER" /> 
    <property name="zip.dir"
        location="${pkg.dir}/${product}-${pkg.version}" />
        location="${pkg.dir}/${product}-${pkg.fullversion}" />
    
    <echo 
        message="Building layout for ${pkg.name} pkg based on ${zip.dir}" />
@@ -96,11 +98,6 @@
    <delete file="${svr4.layout.pkg.dir}/instance.loc" />
    <!-- Remove uninstall file -->
    <delete file="${svr4.layout.pkg.dir}/uninstall" />
        <!-- Remove ldaptools -->
        <delete file="${svr4.layout.pkg.dir}/bin/ldapcompare" />
        <delete file="${svr4.layout.pkg.dir}/bin/ldapdelete" />
        <delete file="${svr4.layout.pkg.dir}/bin/ldapmodify" />
        <delete file="${svr4.layout.pkg.dir}/bin/ldapsearch" />
    <!-- Remove ZIP README / install files -->
    <delete file="${svr4.layout.pkg.dir}/README" />
    <delete file="${svr4.layout.pkg.dir}/install.txt" />
@@ -126,6 +123,14 @@
    <copy file="${resource.dir}/configure"
        tofile="${svr4.layout.pkg.dir}/configure" />
    <chmod file="${svr4.layout.pkg.dir}/configure" perm="744" />
        <!-- Add unconfigure script -->
        <copy file="${resource.dir}/unconfigure"
          tofile="${svr4.layout.pkg.dir}/unconfigure" />
        <chmod file="${svr4.layout.pkg.dir}/unconfigure" perm="744" />
        <!-- Add man pages -->
        <copy todir="${svr4.layout.pkg.dir}/man">
          <fileset dir="${resource.dir}/man"/>
        </copy>
    <!-- Replace zip upgrade script by svr4 upgrade script -->
    <delete file="${svr4.layout.pkg.dir}/upgrade" />
    <copy file="${resource.dir}/upgrade_svr4"
opends/src/svr4/OpenDS/opends-manifest.xml
@@ -60,7 +60,7 @@
            name='start'
            exec='/usr/opends/lib/_svc-opends.sh start'
            timeout_seconds='60'>
                <method_context>
                <method_context working_directory='/usr/opends'>
                    <method_credential
                   user='ldap' group='ldap'
privileges='basic,net_privaddr,sys_resource,!proc_info,!file_link_any'
@@ -73,7 +73,7 @@
            name='stop'
            exec='/usr/opends/lib/_svc-opends.sh stop'
            timeout_seconds='60'>
                <method_context>
                <method_context working_directory='/usr/opends'>
                    <method_credential user='ldap' group='ldap' />
                </method_context>
            </exec_method>
@@ -82,6 +82,13 @@
                <propval name='ignore_error' type='astring'
                value='core,signal' />
            </property_group>
            <property_group name='general' type='framework'>
            <!-- autorizations required to start stop opends -->
                <propval name='action_authorization' type='astring'
                    value='solaris.smf.manage.opends' />
                <propval name='value_authorization' type='astring'
                    value='solaris.smf.manage.opends' />
            </property_group>
            <template>
                <common_name>
                    <loctext xml:lang='C'>
opends/src/svr4/OpenDS/pkg.properties
@@ -5,4 +5,5 @@
pkg.arch=all
pkg.vendor=opends.org
pkg.basedir=/usr
pkg.type=usr
pkg.prefix=opends