12 Jan, 2007

1 commit


11 Jan, 2007

2 commits


10 Jan, 2007

2 commits


09 Jan, 2007

4 commits

  • for the target entry and its parent are released.  This fixes a problem in
    which deadlocks can occur if a task entry is added and then the client
    repeatedly retrieves the entry to keep up to date on the status of the task.
    
    OpenDS Issue Number:  1137
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@947 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • which includes the following:
    
    - It is now possible to add attribute types, objectclasses, name forms, DIT
      content rules, DIT structure rules, and matching rule uses.  Adding a schema
      element that is already present but with a different definition will replace
      that element.
    
    - It is now also possible to remove existing attribute types, objectclasses,
      name forms, DIT content rules, DIT structure rules, and matching rule uses.
      If the element is removed and then re-added, then it is treated as adding the
      element with a a different definition (i.e., replacing the existing
      definition).
    
    - If an existing schema element is replaced or removed, then the update will be
      made in the schema file that contains that definition.  If a new attribute
      type is added and is not manually associated with a schema file, then the
      server will use a default schema file of 99-user.ldif.  The schema file to
      use can be manually overridden using the X-SCHEMA-FILE extension.
    
    - A significant amount of effort has been put into understanding dependencies
      between various schema elements and ensuring that those dependencies will be
      resolved correctly, and will also be updated whenever a dependent element is
      updated.
      
    - Note that the equality matching rule for the attributeTypes, objectClasses,
      nameForms, matchingRules, matchingRuleUse, ditContentRules, and 
      ditStructureRules attribute types has been changed to the caseIgnoreMatch
      rule.  This does deviate from the standard somewhat, but allows the server to
      provide notably better performance while still exhibiting correct behavior as
      far as clients are concerned.
    
    
    OpenDS Issue Number:  366
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@945 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@943 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • incrementing a monitor counter.
    
    Issue 1136.
    
    A unit test is already covering this part of the code.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@937 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     

08 Jan, 2007

1 commit

  • found by a code review where this method can fail because it only increment the time
    by one unit even if the time difference is larger than this.
    
    This bug has not visible impact yet because the synchronization operation dependencies 
    is not yet implemented.
    
    Issue number 1134
    
    This commit also add a unit test for this adjust method
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@934 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     

06 Jan, 2007

1 commit


05 Jan, 2007

1 commit


03 Jan, 2007

1 commit

  • task entries when evaluating them during search operations, and to acquire
    write locks for the entries when they are being updated.  This should eliminate
    the possibility of concurrent modification exceptions being thrown in cases
    where a client issues a search for a task entry at the same time the task entry
    is being updated within the server.
    
    OpenDS Issue Number:  858
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@918 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

01 Jan, 2007

1 commit

  • - org.opends.server.LockDirectory -- Specifies the path to the directory that
      should hold the server lock files
    
    - org.opends.server.SchemaDirectory -- Specifies the path to the directory that
      should hold the server schema files
    
    These properties can help make it easier for applications to embed OpenDS and
    use a filesystem layout that is different from the default layout used by the
    server.  If either of these properties is not provided, then the default
    location will be used (locks for the lock directory, and config/schema for the
    schema directory).
    
    OpenDS Issue Number:  649
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@914 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

21 Dec, 2006

1 commit

  • server.  This is a very bare-bones API at the moment and is primarily intended
    to allow development of code that depends on the ability to make membership
    determinations (e.g., the access control subsystem).  A more thorough API and
    specific implementations will be added later.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@911 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

18 Dec, 2006

4 commits


17 Dec, 2006

2 commits


15 Dec, 2006

5 commits


14 Dec, 2006

1 commit


13 Dec, 2006

1 commit


12 Dec, 2006

1 commit

  • the protocol, listen address/port, number of established connections, and
    information about each connection.
    
    Also, update the monitor API to make it possible to include a custom
    objectclass in each monitor entry.  Connection handler monitor entries now
    include the ds-connectionhandler-monitor-entry objectclass.  Backend monitor
    entries now include the ds-backend-monitor-entry objectclass.
    
    OpenDS Issue Numbers:  1066 and 1091
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@866 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

11 Dec, 2006

3 commits

  • …g file permissions on the directory containing the database files. No errors are produced if there are no way to set the file permissions (ie. Windows and Java < 6.0).
    
    Fix for issue 1005
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@861 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • 1. Fix a bug with the setup script.  Know this script is executable after the Web Start based installation.
    
    2. Provide a different welcome message in the setup depending on whether we are launching the setup from the command line or Web Start.  If we are launching the command line setup we make reference in the message to the Web Start installation and provide a link to the downloads page.
    
    3. When the setup is successful, include in the message the path of the installation as was requested by William Hathaway.
    
    4. Try to find a valid default port  (of type []389) and not limit the search to 389.  This implies not having any explanatory message to be displayed if we cannot connect to 389.
    
    5. Update the code to better handle bug scenarii.  Previously the code assumed that only RuntimeException could occur in case of a bug.  This is not true in the general case, so know the code handles Throwable objects to detect bugs.
    
    6. Provide the first implementation for the Uninstaller.  Some code has been rearranged to maximize code re-use.  The first implementation of the uninstaller basically does the following:
    
    - Display a confirmation message informing of what will happen with the installation files and the consequences of uninstalling the server.
    
    Ask the user which parts of the server must be uninstalled.
    
    Check if we have configuration references outside the installation path (for the moment this check is limited to database files and log files). If these references exist show them to the user and ask the user whether these 'external' files must be deteled or not.
    
    If the server is running we ask for confirmation to stop the server and if we are in windows we ask the user to provide a DN and a password to authenticate.
    
    If the user continues and the server is running the code calls stop-ds script, if the script succeeds the code tries to delete the files in the installation that the user wanted to uninstall and  in the case there are external files to the installation path and the user wants to delete them delete also these external files.
    
    If everything works properly the uninstaller will delete all the files except the <install-root>/lib/quicksetup.jar and <install-root>/lib/OpenDS.jar file.
    
    OpenDS.jar file is required by the command line uninstaller to share some code.
    
    I preferred not to try to delete these files from the scripts as we cannot provide proper feedback (for instance localization) if we encounter a problem deleting these files.
    
    In both cases we inform the user that there are some files that must be deleted manually.
    
    7. Provide the code to launch uninstall through command line that is analogous in terms of interaction to the graphical one.
    
    I have included two scripts to launch the uninstallation.  The uninstall script for Unix is very similar to the setup script.  However the uninstall.bat script has a difference with setup.bat.
    
    The difference is that I limit the class path to include only quicksetup.jar.  This is done because I have not found a way to delete the jar files that are in the class path of the java application using pure java code, so as the uninstaller does only require OpenDS.jar and quicksetup.jar files I have chosen to minimize the jar files in the class path.
    
     This way the only files that are not deleted during installation is quicksetup.jar and OpenDS.jar.
    
    8. Improve the wording of the install wizard as proposed by Brian and Neil.
    
    9 . One minor tweak to the QuickSetup Welcome screen: make the reference to the "setup" command a monospace font to highlight it a bit more.
    
    10.  Fix for issue 1057  (stop-ds.bat and start-ds.bat do not work when called using Runtime.exec).  The quicksetup code used to overwrite the environment variables when calling Runtime.exec which made the server not be able to start/stop correctly.
    
    11. Fix some minor bugs with the default focus on some panels.
    
    12. Update the setup scripts to use the java home file if the setup was previously called.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@860 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • batch file that can be used to set JAVA_HOME.  Update all of the tools and
    administrative scripts provided with OpenDS so that they will use this to set
    JAVA_HOME unless it's already set in the user's environment.
    
    OpenDS Issue Number:  1082
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@856 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

09 Dec, 2006

1 commit


08 Dec, 2006

3 commits

  • contained in that backend.  Also, create a new monitor entry for each
    registered backend that will report the backend ID, base DNs, writability mode,
    and entry count for that backend.
    
    OpenDS Issue Numbers:  1062, 1063
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@853 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • 593: attribute indexes need to support subtypes and options
    1045: possible index corruption (subtree search fails to return matching entry)
    1060: entry disappears when modifying with ldapbrowser
    
    There were bugs in the way an equality index was updated for a modify operation.  Trying to determine the index changes from the sequence of modifications did not work in the general case.  Now, it ought to be correct in all cases.
    
    I've changed many of the modify operation unit tests to run against the JE backend instead of the memory backend.  Also I changed the tests to modify the mail attribute instead of description, because description is not indexed.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@852 41b1ffd8-f28e-4786-ab96-9950f0a78031
    coulbeck
     
  • include a structural objectclass.
    
    OpenDS Issue Number:  1067
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@850 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

07 Dec, 2006

1 commit


05 Dec, 2006

3 commits

  • - It fixes problems with base DN registration when attempting to use nested
      backends.
    
    - It changes the terminology that is in use.  Previously, the term "suffix" was
      used everywhere, even when it wasn't really correct.  Now "naming context" is
      used when it's talking about a top-level base DN, and "base DN" is used for
      any base DN regardless of whether it's a naming context.
    
    - It adds a new ds-private-naming-contexts operational attribute to the root
      DSE to list the private naming contexts defined in the server.
    
    - It updates the backend API to get rid of the abstract supportsControl and
      supportsFeature methods and replace them with a default concrete
      implementation.
    
    
    OpenDS Issue Numbers:  546, 750
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@844 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • as specified by RFC4512 :
    
     SyntaxDescription = LPAREN WSP
             numericoid                 ; object identifier
             [ SP "DESC" SP qdstring ]  ; description
             extensions WSP RPAREN      ; extensions
    
    see SYNTAX_LDAP_SYNTAX_OID from org.opends.server.schema.LDAPSyntaxTest.java
    
    Issue 640.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@840 41b1ffd8-f28e-4786-ab96-9950f0a78031
    dugan
     
  • -1 when attempting to get the last login time for a user when it isn't possible
    to do so for some reason.  Even though the documentation said it would return
    -1 in this case, it was actually returning the creation timestamp for the
    entry.
    
    OpenDS Issue Number:  1055
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@839 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson