27 Nov, 2007
1 commit
-
In this particular case of conflict resolution, the newSuperior was null and this was causing some Exception. The solution is simply to test for this condition and generate a conflict. Also added a unit test for this particular case. git-svn-id: https://svn.forgerock.org/opendj/trunk@3499 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Nov, 2007
2 commits
-
The fix consists in including a little bit more on context to the error message. For command-line dsconfig list-local-db-indexes --backend-name tasks -n -p 1389 -w s The output was: "Task Backend" is not a recognized component type With the fix the output is: "Task Backend" component type cannot be used with subcommand {list-local-db-indexes} git-svn-id: https://svn.forgerock.org/opendj/trunk@3497 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
Fix for Issue #1961 (reviewed by Josu) * Remove instances of "Specifies the..." * Remove instances of "Indicates that..." * Reword instances of "Specifies to..." (which doesn't really make sense anyway) * Change instances of "This utility may be used..." to "This utility can be used..." as discussed in a previous issue * Change some erroneous instances of "may" to "might" or "can". This might sound like a pointless change but it has implications for localization - "may" is generally ambiguous. git-svn-id: https://svn.forgerock.org/opendj/trunk@3496 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Nov, 2007
1 commit
-
…lue for ldif-directory property) We check now if it's an absolute path. If it's a relative path, we add the instance root path to get the actual ldif-directory location git-svn-id: https://svn.forgerock.org/opendj/trunk@3492 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Nov, 2007
4 commits
-
The fix consists on creating a TopologyCache even if the ADS does not exist. The code in TopologyCache will generate an exception describing the problem (if any). git-svn-id: https://svn.forgerock.org/opendj/trunk@3487 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem is that the root server entry is not created by default (it is used by some parts of the code to know if the ADS was initialized or not). The fix consists of updating the ADSContext.registerServer method to check if the parent entry exists. The check is only applied here since this is a particular case (and by default this check is not required for other entries in the ADS). git-svn-id: https://svn.forgerock.org/opendj/trunk@3486 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The upgrader is breaking replication (and not just dsreplication). The problem occurs because the upgrader is systematically overwriting the contents of the admin-backend.ldif file when it should not. The fix consists on not updating this file unless it does not exist. The same fix has been applied to tool.properties since it was also systematically overwritten (and so the user lost the changes made to it). Appart some fixes related to message formatting are also included in the attached diff file. The code used to display messages with HTML formatting in CLI mode, so specific messages have been added when the upgrade is run from the command line. Finally the code of the upgrader has been updated to use the MenuBuilder class. This is done to have a consistent output with the rest of the command-lines. git-svn-id: https://svn.forgerock.org/opendj/trunk@3485 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Nov, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3473 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3472 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Nov, 2007
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3471 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ks to avoid problems with DN comparison in the code of the QuickSetup. git-svn-id: https://svn.forgerock.org/opendj/trunk@3470 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
If provided value exceeds lomg.MAX_VALUE, we now throw and exception git-svn-id: https://svn.forgerock.org/opendj/trunk@3469 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Nov, 2007
3 commits
-
Change the labels of the Certificate Dialog and add a new button to be able to update the certificate permanently. The modifications only apply to graphical interface since the command-line utilities already allow the user to accept permanently the certificates. These modifications include also a fix in ApplicationTrustManager which did not parse properly the Subject DN of the certificate and reported systematically a host name mismatch. git-svn-id: https://svn.forgerock.org/opendj/trunk@3468 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3466 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
notifyErr and notifyComp was reversed. git-svn-id: https://svn.forgerock.org/opendj/trunk@3465 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Nov, 2007
5 commits
-
This relates to issue 1829. git-svn-id: https://svn.forgerock.org/opendj/trunk@3462 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
There is a problem in windows when we launch scripts using Runtime.exec if the script path contains a '=' character. The fix consists on quoting the script paths on windows when we launch them using Runtime.exec. git-svn-id: https://svn.forgerock.org/opendj/trunk@3461 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
of component definitions as advanced and customizable: * advanced components: these will not be displayed by default in dsconfig. Examples include the various system backends * customizable components: these components are tagged as intended for customization using the CLI XML profile. Customizable components are usually the top level components previously referred to as "generic" by dsconfig. This term confused users who would, for example, mistake a "generic" backend for a JE backend. This change is part of issue 1829. git-svn-id: https://svn.forgerock.org/opendj/trunk@3460 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…the user already provided it. git-svn-id: https://svn.forgerock.org/opendj/trunk@3459 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
various clean-up to the XML definitions: * clean up typos and any bad grammar in the synopsis/description elements * fixed common errors. For example, there were many places where the synopsis was repeated in the description (the description is only ever used in conjunction with the synopsis). There were also many places where the <adm:user-friendly-name> was being used in property definition description elements to refer to the property name, when it actually refers to the managed object name * split big synopsis (not sure of the plural form - synopsi?) where possible - there were lots of cases where we'd have a big synopsis but no description * overrode properties with sensible default values where appropriate (for example, I provided sensible default values for some of the attribute-type properties in the virtual attribute definitions) * generally made documentation more consistent across the definitions * removed unneeded XML attributes of the form 'mandatory="false"'. Attributes only need to be specified if their value is true as they default to false. Adding redundant attributes just makes the XML harder to read * removed any documentation that referred to the configuration in LDAP related terms (with one exception in the Schema backend). All documentation now refers to other properties using the property names, not their associated LDAP attribute. git-svn-id: https://svn.forgerock.org/opendj/trunk@3456 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Nov, 2007
3 commits
-
New two subcommands have been added to dsreplication: Usage: $ dsreplication pre-external-initialization --help dsreplication pre-external-initialization {options} This subcommand must be called before initializing the contents of all the replicated servers using the tool import-ldif or the binary copy method for replication to work. You must specify the list of Base DNs that will be initialized and you must provide the credentials of any of the servers that is being replicated. After calling this subcommand, you must initialize the contents of all the servers in the topology and after the initialization is over you must call the subcommand {post-external-initialization}. Global Options: See "dsreplication --help" SubCommand Options: -h, --hostname {host} Directory server hostname or IP address -p, --port {port} Directory server port number -Z, --useSSL Use SSL for secure communication with the server -q, --useStartTLS Use StartTLS to secure communication with the server -l, --only-local Use this option when only the contents of the specified directory server will be initialized with an external method (import-ldif command or binary copy) $ dsreplication post-external-initialization --help Usage: dsreplication post-external-initialization {options} This subcommand must be called after initializing the contents of all the replicated servers using the tool import-ldif or the binary copy method for replication to work. You must specify the list of Base DNs that have been initialized and you must provide the credentials of any of the servers that is being replicated. See the usage of the subcommand {pre-external-initialization} for more information. Global Options: See "dsreplication --help" SubCommand Options: -h, --hostname {host} Directory server hostname or IP address -p, --port {port} Directory server port number -Z, --useSSL Use SSL for secure communication with the server -q, --useStartTLS Use StartTLS to secure communication with the server git-svn-id: https://svn.forgerock.org/opendj/trunk@3455 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
…dy sent changes must not be able to replicate with an empty replication server git-svn-id: https://svn.forgerock.org/opendj/trunk@3454 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3453 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Nov, 2007
3 commits
-
…ask the possibility to clear the generation id in the topology by providing the attribute ds-task-reset-generation-id-new-value with value -1 git-svn-id: https://svn.forgerock.org/opendj/trunk@3452 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3451 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…n disable when the user provides values in the command-line. git-svn-id: https://svn.forgerock.org/opendj/trunk@3450 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Nov, 2007
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3449 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3448 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Make the setup command line to support properties files. Make the uninstall command line to support properties files. Support properties files in dsreplication for all the subcommand arguments. git-svn-id: https://svn.forgerock.org/opendj/trunk@3447 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3445 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
log file name modification needs an administrative action git-svn-id: https://svn.forgerock.org/opendj/trunk@3444 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fix a bug in the uninstall and dsreplication. When the user connected to the servers using LDAP, a null trust manager was used to load the topology (so all certificates were accepted). The code has been fixed to prompt the user to accept non trusted certificates. git-svn-id: https://svn.forgerock.org/opendj/trunk@3443 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Nov, 2007
2 commits
-
…ttributes. It is up to the tools using this attribute to add it. git-svn-id: https://svn.forgerock.org/opendj/trunk@3436 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…of menus and in the order that questions to connect to the servers. Update the upgrade to use the same menus as the other command-lines. Do some minor changes in the uninstall command-line in order to be more consistent with dsconfig in the order where the connection parameters are provided. Fix a bug in ApplicationTrustManager related to the accepted certificates when there is a mismatch between the certificate and the host name. Do some refactorization of the code and remove the CliApplicationHelper class so that we use ConsoleApplication everywhere. git-svn-id: https://svn.forgerock.org/opendj/trunk@3435 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Nov, 2007
5 commits
-
1. The db directory is now automatically created if it doesn't alreadly exist. When changing the db directory, a message is now displayed to let the user know the files will have to be manually moved and the backend restarted. (Issue 1979) 2. The backend no longer uses the Database.count method in JE as it is too expensive for large databases. The count can also be inaccurate when concurrent operations are executing on the server. This was causing the getEntryCount method up to 20 seconds to return. The count is now obtained from the id2subtree index. If the count is not maintained or the index is corrupt, it will fall back to using Database.count. (Issue 2581 and Issue 2420) git-svn-id: https://svn.forgerock.org/opendj/trunk@3434 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
in internal operations. These changes are fully backwards compatible, so that any existing code that used the internal operations API will still work without the need to update anything. OpenDS Issue Number: 2580 git-svn-id: https://svn.forgerock.org/opendj/trunk@3433 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3432 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3431 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In some cases, "addValue" method is not 'self-contained'. The "valueIsAcceptable' method has to be called before "addValue" (and has some mandatory side effect, in FileBaedArgument at least). git-svn-id: https://svn.forgerock.org/opendj/trunk@3429 41b1ffd8-f28e-4786-ab96-9950f0a78031