19 Oct, 2009
4 commits
-
Make the hardcoded message localizable by adding it to a message properties file. git-svn-id: https://svn.forgerock.org/opendj/trunk@6006 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
set to 10 ms instead of 10 s and therefore causing random tests failures git-svn-id: https://svn.forgerock.org/opendj/trunk@6004 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…e.ReplicationDomainTest#publishAndReceive It was 1 second up to now which looks like is too small for the build machine. git-svn-id: https://svn.forgerock.org/opendj/trunk@6003 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@6001 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Oct, 2009
1 commit
-
The biggest issue was that the trust manager was reset when connecting to the second server, this caused the establishing of the connections to fail. There was also a problem with the way the code found out whether a NamingException was caused by a certificate problem or not. Finally the code handles the particular case where the user provides global administrator credentials but this is not defined on the second server. If this is the case, the code now prompts only for the credentials (and not for the whole second server connection parameters). git-svn-id: https://svn.forgerock.org/opendj/trunk@5998 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Oct, 2009
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5996 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…control systematically) Add two menu items in the 'View' menu of the browse entries panel where the user can specify to sort the user data and to follow referrals automatically. The request control are updated depending on what the user chooses and these request controls that are used are not critical. git-svn-id: https://svn.forgerock.org/opendj/trunk@5995 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This issue happens when a new OpenDS server is added to a topology which has been up and running for some time and the new server is both a Replication Server and a Directory Server. In such cases the Replication Server starts empty and is therefore very late with regards to the other servers. The Directory Server is initialized from an up to date DS already in the topology and is therefore not late. The problem is that the new DS incorrectly choose the RS that was just installed to be provided with all the new changes in the topology. The DS therefore as to wait for the RS to grab all the old changes before being provided with the new change. The fix is to change the algorithm that is used by the DS to select the RS and to give priority to the RS that are more up to date. Gary would like to see this in the 2.2 branch and would therefore have to be back-ported there. I have also added unit tests for this case and other similar ones. replica DS after init git-svn-id: https://svn.forgerock.org/opendj/trunk@5993 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…e of the dialog and the component that must be used as a reference to display the dialog. In some cases the frame that is going to display the progress dialog is hidden just after the progress dialog is displayed (this is the case for most of the cases in the control panel). Depending on the OS, hiding the parent frame implies to hide the progress dialog. The result is that the progress dialog is also hidden with the parent frame. However in other cases it is interesting to pass the frame that displays the progress dialog (for instance when we want to have a modal progress dialog this is required). git-svn-id: https://svn.forgerock.org/opendj/trunk@5992 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Oct, 2009
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5991 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5989 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ble when password expires in the futur. Fixes the encoding of the control response when password is valid and due to expire later git-svn-id: https://svn.forgerock.org/opendj/trunk@5988 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Oct, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5984 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem was that the code had a hardcoded list of editable operational attributes. The code has been modified to calculate this list from the schema contents. The code has also been updated to use some special Strings ("1.1" and "+") to request no attributes and operational attributes. Some generics have been used to avoid some warnings reported by my IDE. git-svn-id: https://svn.forgerock.org/opendj/trunk@5980 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Oct, 2009
10 commits
-
…ws UAC enabled in Windows Server 2008) to Windows 7. git-svn-id: https://svn.forgerock.org/opendj/trunk@5977 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ree; create and cleanup a temporary test folder for resync test. git-svn-id: https://svn.forgerock.org/opendj/trunk@5975 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ll log). Improve the code to avoid synchronisation problems. git-svn-id: https://svn.forgerock.org/opendj/trunk@5974 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5971 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5970 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem was that the code assumed that the only windows OS supporting UAC was Windows Vista. This was the case before Windows 2008 came out. The fix consists on creating a method that allows identifying which OS versions of vista support UAC and which do not. git-svn-id: https://svn.forgerock.org/opendj/trunk@5969 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5968 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In the case of Windows, the options are tested using the script helpers. If there is an error these scripts require the user to provide some input. The fix consists on allowing the scripts to write the message to the process output and after that to kill the process (we used to kill the process right after detecting an error). git-svn-id: https://svn.forgerock.org/opendj/trunk@5967 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5966 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Do the same as is done for the instance path with the install root: try to use File.getCanonicalPath to avoid having relative paths (../..). Since this is done only once when the config file handler is created, there is no performance impact. git-svn-id: https://svn.forgerock.org/opendj/trunk@5964 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Oct, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5960 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Oct, 2009
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5957 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5956 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5953 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5952 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Oct, 2009
7 commits
-
in handshake phase instead of a ReplServerStartMsg. ReplServerStartDSMsg contains same thing as ReplServerStartMsg but also contains - replication server weight - number of ciurrently connected DS on the RS => both will be used for future new RS choice algorithm - Addition of a StopMsg sent: - when any entity (DS,RS) is closing a connection (sent just before) with a peer - when DS finishes phase 1 of handshake (was gathering RS info for RS choice so sent just after new ReplServerStartDSMsg is received) => both are used to distinguish between a proper connection closure (no message) and an unexpected one (error log) - Compatibility between protocol V4 and V3 (and before) - changed MonitorMsg to never be created with a protocol version - MonitorMsg now always sent with publish(msg, version) (publish method without version was used so bug) - TopologyMsg now always sent with publish(msg, version) (publish method without version was used so bug) git-svn-id: https://svn.forgerock.org/opendj/trunk@5950 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5949 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5948 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5946 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5944 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5943 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5942 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Oct, 2009
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5941 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@5940 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Since using File when you have different OS in the control panel and in the managed server can be really problematic, use String instead in the ServerDescriptor object. git-svn-id: https://svn.forgerock.org/opendj/trunk@5937 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
value of 65535 for the server-id property. Nevertheless, the server-id in the ReplicationDomain implementation is managed as a short allowing a maximum value of 32767. With this change the code now uses an int to store the server-id. The maximum is still limited to 65535 and this is enforced by the management framework. This change should not impact compatibility as the messages exchanged by the servers are not impacted. This change also add unit tests allowing to test the compatibility of the V4 protocol with V3 protocol. git-svn-id: https://svn.forgerock.org/opendj/trunk@5936 41b1ffd8-f28e-4786-ab96-9950f0a78031