20 Mar, 2007
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1460 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Fixed a bug where debug logs are not included on unit test failures. - Weaving is only enabled for targets that run unit-tests (all, weekly, nightly, test, testall, testwithcoverage, testallwithcoverage). - Weaving is disabled for test targets that use test.methods, test.classes, or test.packages properties to specify a smaller set of tests to run. - Weaving is now controlled by the WEAVE_ENABLED property on build instead of DEBUG_BUILD. Use this property to override the default weaving behaviour for any target. - Added package-info.java to the server.loggers.debug package. - Fixed a bug where logger is not enabled when configured with an enabled configuration. - Added supress warning annotations to debug advices. No more advice not matched warnings when weaving. Fix for issue 1390 git-svn-id: https://svn.forgerock.org/opendj/trunk@1459 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1458 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1457 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Mar, 2007
5 commits
-
1. global ACI implementation using the ds-cfg-global-aci attribute type 2. re-adds support for ACIs in the "cn=config" naming context git-svn-id: https://svn.forgerock.org/opendj/trunk@1452 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This is a fix for Issue 1373. git-svn-id: https://svn.forgerock.org/opendj/trunk@1451 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
searchNotIndexed() will execute for when a given search is not indexed. git-svn-id: https://svn.forgerock.org/opendj/trunk@1445 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add package-info.java file git-svn-id: https://svn.forgerock.org/opendj/trunk@1443 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem happens because the historical information saved in the entry is badly read in the Historical.load() method This change add some tests for this case and also fix the Historical.load() method. git-svn-id: https://svn.forgerock.org/opendj/trunk@1442 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Mar, 2007
1 commit
-
authentication info structure goes through the setAuthenticationInfo() method. This will ensure that all proper cleanup is done. Without doing this, there may be problems if a client connection is used to authenticate multiple times and the entry for one of the previous users is modified or deleted, since that could cause an attempt to update the client connection which is now authenticated as another user. OpenDS Issue Number: 1392 git-svn-id: https://svn.forgerock.org/opendj/trunk@1441 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Mar, 2007
3 commits
-
detecting and warning administrators about the use of non-canonical hostnames in the "dns" bind rule. The dns bind rule requires that all addresses be provided in canonical form or they will not match the intended target. This change also includes special handling for the "localhost" name. In the event that it does not match its canonical representation, then the corresponding rule will automatically allow the canonical name as well. This may be needed in some environments because the canonical hostname for the loopback address may be something else, like "localhost.localdomain", and the hostname "localhost" is likely to appear more commonly than other kinds of hostnames. With these changes, a number of reported mysterious ACI failures should go away and the AciTests should now pass cleanly. OpenDS Issue Number: 1385 git-svn-id: https://svn.forgerock.org/opendj/trunk@1440 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
and fix a couple of typos in the synchronization.common package-info.java file. git-svn-id: https://svn.forgerock.org/opendj/trunk@1439 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
and object class for the similarity password validator. git-svn-id: https://svn.forgerock.org/opendj/trunk@1435 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Mar, 2007
8 commits
-
…ste bug. This is now fixed. I've also backed out revision 1432 since we now get the same info plus a little more. git-svn-id: https://svn.forgerock.org/opendj/trunk@1434 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
rather than error logging for the audit-type messages that they produce. This will significantly reduce the cost of these methods (which is important, since hasPrivilege is called at least once per operation), since there is a global debugEnabled() check that can be used to avoid a lot of the expensive work if debugging isn't needed. OpenDS Issue Number: 1386 git-svn-id: https://svn.forgerock.org/opendj/trunk@1433 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
message if it fails (including the diff between the expected and actual results). git-svn-id: https://svn.forgerock.org/opendj/trunk@1432 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1431 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1430 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…act of specifying the user and password parameters will have the task try to use SMTP authentication even though the parameter value is empty. So I had to split the target in three. One global target that check the user variable length, one that sends the email with SMTP auth and one that sends the email without SMTP auth. git-svn-id: https://svn.forgerock.org/opendj/trunk@1427 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Provide a new option in the windowsservice.bat command line to do a cleanup of a service. The option usage is: -c {serviceName} or --cleanupService {serviceName} Allows to disable the OpendS service and to clean up the windows registry information associated with the provided service name.o git-svn-id: https://svn.forgerock.org/opendj/trunk@1426 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
Create a new bat directory where we will place the batch files. Temporarily keep a copy of the batch files under the bin directory and add a README_WINDOWS.txt file under bin directory explaining that the files have been moved. git-svn-id: https://svn.forgerock.org/opendj/trunk@1425 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Mar, 2007
12 commits
-
…ediate children of the target, rather than the target entry and its immediate children. git-svn-id: https://svn.forgerock.org/opendj/trunk@1424 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1423 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
an import, export, backup, or restore task is about to begin or has ended. Reviewed by: Andrew Coulbeck OpenDS Issue Number: 1316 git-svn-id: https://svn.forgerock.org/opendj/trunk@1422 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
2. Added remove-bits target to allow to upgrade framework bits 3. Added re-download target to allow to upgrade bits 4. Added configure target to allow user to taylor tests to his/her environment 5. Added unconfigure target to remove user specifics 6. Added send-report-email to make email optional 7. removed hardcoded values with respect to the email git-svn-id: https://svn.forgerock.org/opendj/trunk@1421 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* Extends authmethod="sasl mechanism" to any sasl mechanism. * Fixes the authmethod="ssl" case. * Allows for future multi-factor authentication. git-svn-id: https://svn.forgerock.org/opendj/trunk@1420 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
it is provided, then the tool will verify that all of the arguments are valid but will not actually attempt any network communication. Fix Contributed By: Ales Novak OpenDS Issue Number: 1014 git-svn-id: https://svn.forgerock.org/opendj/trunk@1419 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The following changes are targeted to be able to run OpenDS as a windows service. The idea is to be able to run OpenDS to run as a service and to be able also to disable this feature. The setup has been updated to run OpenDS as a service in windows (which is the standard behavior in this platform). The uninstall has also been updated to remove all references to OpenDS in the Registry and in the list of services once OpenDS has been uninstalled. A new executable (opends_service.exe) has been added to be able to perform all the tasks that require native code (registering/unregistering the service, sending events to the event log, etc.). Most of the code required by this executable is in the file service.c. The README file has been updated and a Makefile file provided to generate all the executables. A new command line has been added: windowsservice.bat. The usage of this command line is the following one: This utility may be used to configure OpenDS as a Windows service. Usage: windowsservice {options} where {options} include: -e or --enableService Enables OpenDS as a Windows service. -d or --disableService Disables OpenDS as a Windows service and stops the server -s or --serviceState Provides information about the state of OpenDS as a Windows service. -H or --help Display this usage information. The class associated with this command line (ConfigureWindowsService) uses opends_service.exe. ConfigureWindowsService is basically a wrapper that allows to have the messages displayed to the user in the Java code (and so to minimize what is done by the native code). Some changes have been made in the start-ds(.bat) and stop-ds(.bat) scripts by extending what the --checkStartability (in DirectoryServer class) and --checkStoppability (in StopDS class) do. I think that it is a good idea to have all the parsing of the arguments into the java code (specially considering the limitations of the .bat files). So I have moved most of the parsing to the java code so that the is the java code that provides a return code to the scripts to tell them what to do (start the server in detach mode, stop the server using a system call, stop the server using protocol, etc.). In the particular case of how start-ds.bat and stop-ds.bat have been updated to manage the case where the server must be started using the system call 'net start <service_name>' and 'net stop <service_name>'. --checkstoppability and --checkstartability tell whether the server must be stopped/started directly with a system call (or stopped using LDAP protocol) or using the Windows Service system. If it is the latter the bat files use two new auxiliary classes (StopWindowsService and StartWindowsService). These classes figure out the service name associated with the OpenDS instance and call net stop (or net start) using that service name. When net start/net stop are called start-ds.bat (or stop-ds.bat) are called. The Windows Services have been configured to call start-ds.bat and stop-ds.bat with some particular options (--windowsNetStart and --windowsNetStop) to identify the case where we must start/stop the server directly (and so not having an infinite recursive loop of calls to net start/net stop). In order to have the same user experience when the server is configured to run as a service and when is not the tool class WaitForDelete has also been updated to write its output to a file. This has been done because piping from the standard output to a file in the context of a Windows Service call does not seem to work properly. So now WaitForDelete has a new option --outputFile. setup --cli on windows has a new option '-n' or '-noWindowsService' to allow not to enable the windows service. When run in interactive mode and this options is not specified the user will systematically be asked whether to enable the windows service or not. git-svn-id: https://svn.forgerock.org/opendj/trunk@1418 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
QuickSetup classes are not modified using AspectJ. The problem comes from the fact that QuickSetup classes are compiled using the classes that already have been modified by AspectJ and this was causing the problems. The first part of the fix consists of compiling the three classes (SetupUtils, DynamicConstants and OperatingSystem) that are used by the quicksetup. I have made some tests and this solution detects any modification that can be made to those three classes and that can break the QuickSetup. The second part consists of compiling the quicksetup code *before* we run AspectJ (in the "weave" target) on the server classes. git-svn-id: https://svn.forgerock.org/opendj/trunk@1417 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
2. added start-nodetach target to allow easier debug of potential STAF issues at startup (like missing LD_LIBRARY_PATH, CLASSPATH, PATH, CODEPAGE, etc...) git-svn-id: https://svn.forgerock.org/opendj/trunk@1416 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
With the addition of AspectJ there are some added dependencies in the code. So for instance using the class StaticUtils requires je.jar to be on the path (which was not the case before). The uninstall scripts used to have a limited set of jar files so that afterwards there was a minimum number of files to be deleted. Instead of doing this uninstall scripts should use the full class path. In any case all the remaning files are under the same directory so the user will have to do the cleanup in the same single place as before. git-svn-id: https://svn.forgerock.org/opendj/trunk@1415 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1414 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
2. removed ResolveMessage from STAF Log service 3. removed spawning new JVM for each separate STAF service 4. update to STAX v3.2.0 git-svn-id: https://svn.forgerock.org/opendj/trunk@1413 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Mar, 2007
4 commits
-
readable format. They can now generate up to four lines of output in the following order: - A client-side explanation of the problem (if one is available) - The numeric and string representations of the result code (if not SUCCESS) - The server-provided error message /additional info (if present) - The server-provided matched DN (if present) OpenDS Issue Number: 1356 git-svn-id: https://svn.forgerock.org/opendj/trunk@1411 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
matched DN field in the response if the backend doesn't have the entry specified as the search base DN but does have an ancestor for that entry. OpenDS Issue Number: 1371 git-svn-id: https://svn.forgerock.org/opendj/trunk@1410 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
QuickSetup is not using the latest version in www.opends.org in certain scenarios because we are using the offline-allowed element. If this option is specified the application is launched and then the checking for updates is done. If the checking times out the copy stored in the cache is used. The fix consists of removing this option (in the context of opends.org we are always running online). git-svn-id: https://svn.forgerock.org/opendj/trunk@1409 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1401 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Mar, 2007
3 commits
-
it can perform an unbind before closing the connection. OpenDS Issue Number: 1357 git-svn-id: https://svn.forgerock.org/opendj/trunk@1400 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ConfigChangeResult objects that are returned from attempting to apply configuration changes. It will perform the following (in order of precedence): - For any method that returns a null ConfigChangeResult, it will be logged as such using a SEVERE_ERROR level. - For any method that returns a result with a result code other than success, it will be logged at a SEVERE_ERROR level. - For any method that returns a result with admin action required, it will be logged at a SEVERE_WARNING level. - For any method that returns a result with messages, it will be logged at an INFORMATIONAL level. OpenDS Issue Number: 1367 git-svn-id: https://svn.forgerock.org/opendj/trunk@1399 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
thus producing confusing access log message. git-svn-id: https://svn.forgerock.org/opendj/trunk@1397 41b1ffd8-f28e-4786-ab96-9950f0a78031