19 Sep, 2006

4 commits

  • authorization ID is provided using the "dn:" form and an alternate root bind DN
    (e.g., "cn=Directory Manager" instead of 
    "cn=Directory Manager,cn=Root DNs,cn=config") the server will properly map it
    to the actual DN for the user.
    
    OpenDS Issue Number:  677
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@382 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@380 41b1ffd8-f28e-4786-ab96-9950f0a78031
    dugan
     
  • to work because JmxConnectionHandler.configAddIsAcceptable(ConfigEntry, StringBuilder)
    performs a wrong check on the DN of the added object.
    
    - This fix also ease the coding of the unit test of JMX by allowing to configure
    the key manager by creating a configEntry and calling directly the applyConfigurationAdd()
    method.
    This was not possible because the code looks for the config entry in the configuration
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@377 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     
  • The Jmx connector handler is starting a local RMI registry on port 1689 (actually the port specified in the config.ldif file). Even if you stop the DS server, but if the process is keeping alive, the RMI registry will remain active and will still listen on this port.
    
    Fix:
    Instead of using the default factory to get the RMI registry, we use our own socketFactory and keep a reference to the created socket. At server shutdown time, this socket is closed and the RMI registry Remote Object is 'unexported'
    
    Modified Class
     org.opends.server.protocols.jmx.RmiConnector
    
    New Class
     org.opends.server.protocols.jmx.OpendsRmiServerSocketFactory 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@376 41b1ffd8-f28e-4786-ab96-9950f0a78031
    lutoff
     

18 Sep, 2006

4 commits


17 Sep, 2006

3 commits


16 Sep, 2006

3 commits


15 Sep, 2006

6 commits

  • org.opends.server.api.IdentityMapper class to be "finalizeIdentityMapper".
    
    OpenDS Issue Number:  662
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@356 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • programatically.  This includes adding an option to bypass the Directory Server
    initialization (which is necessary if the server is already running in the same
    JVM as the tool), as well as making it possible to redefine standard output and
    standard error (e.g., so that the output can be parsed or discarded).
    
    This also includes a SASL PLAIN test case that makes use of the LDAPSearch tool
    to verify that PLAIN authentication works over LDAP as well as through the
    internal interfaces.
    
    OpenDS Issue Numbers:  652, 653
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@355 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • directory holding the database files. The new config attribute
    ds-cfg-backend-mode is optional and by default has a value of 700. The
    permissions are set on backend initialization as well as on the fly via
    LDAP. The server will make sure the file permissions will allow owner
    access before setting. Any exceptions encountered while setting the
    attribute will result in non fatal errors which are logged. However, any
    configuration exceptions will keep the backend from starting.
    
    Fix for issue 50
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@353 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • to the server root rather than relative to the current working directory.
    
    OpenDS Issue Number:  651
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@348 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • SASL binds.  This will allow internal operations to be used to verify
    credentials and also may be helpful in test case processing.  Note that
    regardless of whether the internal bind fails or is successful, the
    authentication state of the associated internal client connection will not be
    altered in any way.
    
    OpenDS Issue Number:  643
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@345 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • volatile data.  It has also been integrated with the testing framework so that
    it is available for use in test cases.
    
    OpenDS Issue Number:  642
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@344 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

14 Sep, 2006

4 commits


13 Sep, 2006

2 commits


12 Sep, 2006

3 commits


11 Sep, 2006

3 commits

  • I rearranged the operands in the if statement to avoid possibility of integer overflow, and I fixed the log message to calculate the remaining bytes correctly.  The second chunk of the diff is the important one, the first chunk is for consistency only.  I didn't spot any other code having the same issue.
    
    With this fix, there are no errors in the server log after running the OULU test suites and the server is still accepting requests.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@314 41b1ffd8-f28e-4786-ab96-9950f0a78031
    coulbeck
     
  • with strings containing non-ASCII characters.  There were two problems:
    
    - The method did not have a return statment after appending the remainder of
      the string once it was determined to be non-ASCII.
    
    - The method did not use the UTF-8 character set when decoding the remainder of
      the string once it was determined to be non-ASCII.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@313 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • refactoring to reduce the amount of code duplication and
    improve the coupling between the LDIFReader class and the
    ChangeRecordEntry classes.
    
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@312 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     

08 Sep, 2006

2 commits

  • cigale and sigale are not recognized as matching by the implementation of 
    the Double metaphone algorithme in DoubleMetaphoneApproximateMatchingRule
    
    accacia and akacia are not recognized as matching by the implementation of 
    the Double metaphone algorithme in DoubleMetaphoneApproximateMatchingRule
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@304 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@302 41b1ffd8-f28e-4786-ab96-9950f0a78031
    lutoff
     

07 Sep, 2006

3 commits


06 Sep, 2006

3 commits

  • Do minor clean-up in Base64 class:
    
    * Make it final
    * Make default constructor private to prevent instantiation
    * Make BASE64_ALPHABET private.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@284 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • Perform minor clean-up on tested classes:
    
    * change constructors in abstract ChangeRecordEntry to protected
    * change non-overridable methods in ChangeRecordEntry to final
    * make classes derived from ChangeRecordEntry final
    * cleanup import declarations
    * rename method getNewSuperiorRDN in ModifyDNChangeRecordEntry
      to getNewSuperiorDN and fix references.
    
    Reviewed by: Daniel.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@278 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • reviewed by Daniel
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@276 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato