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

Matthew Swift
09.15.2012 d4b671ac170caf82f3cf6d210bd2d2bf63749847
Fix OPENDJ-435: Don't create any backend DB's when running setup in cli mode

Remove the default value of "dc=example,dc=com" for the -b option to setup, thereby allowing non-interactive creation of a new OpenDJ instance without a backend.

Note that both interactive CLI and GUI setup interfaces permit creation of a new instance without a backend, it was just non-interactive mode which had the limitation.
1 files modified
4 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 *      Portions copyright 2011 ForgeRock AS.
 *      Portions copyright 2011-2012 ForgeRock AS.
 */
package org.opends.server.tools;
@@ -209,7 +209,7 @@
        OPTION_LONG_BASEDN.toLowerCase(), OPTION_SHORT_BASEDN,
        OPTION_LONG_BASEDN, false, true, true,
        INFO_BASEDN_PLACEHOLDER.get(),
        "dc=example,dc=com", OPTION_LONG_BASEDN,
        null, OPTION_LONG_BASEDN,
        INFO_INSTALLDS_DESCRIPTION_BASEDN.get());
    addArgument(baseDNArg);