From be514fa99eabf48f5820a2b99856e53f919a4dfb Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 25 Jun 2008 13:03:26 +0000
Subject: [PATCH] Fix for issue 3411 (windows-service tool should raise more explicit error when a non-administrator user enables OpenDS as a Windows service)

---
 opends/src/messages/messages/tools.properties |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opends/src/messages/messages/tools.properties b/opends/src/messages/messages/tools.properties
index 7a079b8..38562b1 100644
--- a/opends/src/messages/messages/tools.properties
+++ b/opends/src/messages/messages/tools.properties
@@ -1460,7 +1460,9 @@
 SEVERE_ERR_WINDOWS_SERVICE_NAME_ALREADY_IN_USE_829=OpenDS could not enabled \
  as a Windows service.  The service name is already in use
 SEVERE_ERR_WINDOWS_SERVICE_ENABLE_ERROR_830=An unexpected error occurred \
- trying to enable OpenDS as a Windows service
+ trying to enable OpenDS as a Windows service.%nCheck that you have \
+ administrator rights (only Administrators can enable OpenDS as a Windows \
+ Service)
 INFO_WINDOWS_SERVICE_SUCCESSULLY_DISABLED_831=OpenDS was successfully \
  disabled as a Windows service
 INFO_WINDOWS_SERVICE_ALREADY_DISABLED_832=OpenDS was already disabled as a \
@@ -1468,7 +1470,9 @@
 SEVERE_WARN_WINDOWS_SERVICE_MARKED_FOR_DELETION_833=OpenDS has been marked \
  for deletion as a Windows Service
 SEVERE_ERR_WINDOWS_SERVICE_DISABLE_ERROR_834=An unexpected error occurred \
- trying to disable OpenDS as a Windows service
+ trying to disable OpenDS as a Windows service%nCheck that you have \
+ administrator rights (only Administrators can disable OpenDS as a Windows \
+ Service)
 INFO_WINDOWS_SERVICE_ENABLED_835=OpenDS is enabled as a Windows service.  The \
  service name for OpenDS is: %s
 INFO_WINDOWS_SERVICE_DISABLED_836=OpenDS is disabled as a Windows service

--
Gitblit v1.10.0