From f16d33699529bfa344ffaccb0663483f588a9394 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 07 Mar 2013 12:03:26 +0000
Subject: [PATCH] OPENDJ-655 Message about authentication failures should contain identification of the user for easier analysis. 

---
 opends/src/messages/messages/core.properties |   34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/opends/src/messages/messages/core.properties b/opends/src/messages/messages/core.properties
index 60ad090..670c240 100644
--- a/opends/src/messages/messages/core.properties
+++ b/opends/src/messages/messages/core.properties
@@ -423,15 +423,14 @@
  canceled because the Directory Server received a bind request on this \
  connection, which requires that all operations in progress to be abandoned
 MILD_ERR_BIND_OPERATION_UNKNOWN_USER_218=Unable to bind to the Directory \
- Server as user %s because no such user exists in the server
+ Server because no such user exists in the server
 SEVERE_ERR_BIND_OPERATION_CANNOT_LOCK_USER_219=Unable to process the bind \
  because the server was unable to obtain a read lock on the entry %s
 FATAL_ERR_STARTUP_PLUGIN_ERROR_220=A fatal error occurred when executing one \
  of the Directory Server startup plugins:  %s (error ID %d).  The Directory \
  Server startup process has been aborted
 MILD_ERR_BIND_OPERATION_NO_PASSWORD_221=Unable to bind to the Directory \
- Server as user %s using simple authentication because that user does not have \
- a password
+ Server using simple authentication because that user does not have a password
 MILD_ERR_BIND_OPERATION_UNKNOWN_SASL_MECHANISM_222=Unable to process the bind \
  request because it attempted to use an unknown SASL mechanism %s that is not \
  available in the Directory Server
@@ -578,7 +577,7 @@
 MILD_ERR_ENTRY_ADD_DUPLICATE_OC_277=Object class %s is already present in \
  entry %s and cannot be added a second time
 MILD_ERR_BIND_OPERATION_UNKNOWN_STORAGE_SCHEME_278=Password with unknown \
- storage scheme %s included in user entry %s will be ignored
+ storage scheme %s included in user entry will be ignored
 MILD_ERR_BIND_OPERATION_WRONG_PASSWORD_279=The password provided by the user \
  did not match any password(s) stored in the user's entry
 MILD_ERR_BIND_OPERATION_PASSWORD_VALIDATION_EXCEPTION_280=An unexpected error \
@@ -1295,7 +1294,7 @@
  attribute %s in user entry %s as a Boolean value
 SEVERE_ERR_ADD_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS_508=The entry %s cannot be \
  added due to insufficient access rights
-SEVERE_ERR_BIND_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS_509=The user %s cannot bind \
+SEVERE_ERR_BIND_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS_509=The user cannot bind \
  due to insufficient access rights
 SEVERE_ERR_COMPARE_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS_510=The entry %s cannot \
  be compared due to insufficient access rights
@@ -1310,20 +1309,19 @@
 SEVERE_ERR_SEARCH_AUTHZ_INSUFFICIENT_ACCESS_RIGHTS_515=The entry %s cannot be \
  searched due to insufficient access rights
 MILD_ERR_BIND_OPERATION_INSECURE_SIMPLE_BIND_516=Rejecting a simple bind \
- request for user %s because the password policy requires secure \
- authentication
-MILD_ERR_BIND_OPERATION_ACCOUNT_DISABLED_517=Rejecting a bind request for \
- user %s because the account has been administrative disabled
+ request because the password policy requires secure authentication
+MILD_ERR_BIND_OPERATION_ACCOUNT_DISABLED_517=Rejecting a bind request \
+ because the account has been administratively disabled
 MILD_ERR_BIND_OPERATION_ACCOUNT_FAILURE_LOCKED_518=Rejecting a bind request \
- for user %s because the account has been locked due to too many failed \
+ because the account has been locked due to too many failed \
  authentication attempts
-MILD_ERR_BIND_OPERATION_ACCOUNT_RESET_LOCKED_519=Rejecting a bind request for \
- user %s because the account has been locked after the user's password was not \
+MILD_ERR_BIND_OPERATION_ACCOUNT_RESET_LOCKED_519=Rejecting a bind request \
+ because the account has been locked after the user's password was not \
  changed in a timely manner after an administrative reset
-MILD_ERR_BIND_OPERATION_ACCOUNT_IDLE_LOCKED_520=Rejecting a bind request for \
- user %s because the account has been locked after remaining idle for too long
-MILD_ERR_BIND_OPERATION_PASSWORD_EXPIRED_521=Rejecting a bind request for \
- user %s because that user's password is expired
+MILD_ERR_BIND_OPERATION_ACCOUNT_IDLE_LOCKED_520=Rejecting a bind request \
+ because the account has been locked after remaining idle for too long
+MILD_ERR_BIND_OPERATION_PASSWORD_EXPIRED_521=Rejecting a bind request \
+ because that user's password is expired
 MILD_ERR_PWPSTATE_CANNOT_UPDATE_USER_ENTRY_522=An error occurred while \
  attempting to update password policy state information for user %s:  %s
 MILD_ERR_BIND_OPERATION_INSECURE_SASL_BIND_523=Rejecting a SASL %s bind \
@@ -1347,8 +1345,8 @@
 SEVERE_ERR_CANNOT_REGISTER_DUPLICATE_ALTERNATE_ROOT_BIND_DN_530=The alternate \
  root bind DN "%s" is already registered with the Directory Server for actual \
  root entry DN "%s"
-MILD_ERR_BIND_OPERATION_ACCOUNT_EXPIRED_531=Rejecting a bind request for user \
- %s because the account has expired
+MILD_ERR_BIND_OPERATION_ACCOUNT_EXPIRED_531=Rejecting a bind request \
+ because the account has expired
 MILD_ERR_MODIFY_PASSWORDS_CANNOT_HAVE_OPTIONS_532=Attributes used to hold \
  user passwords are not allowed to have any attribute options
 MILD_ERR_MODIFY_NO_USER_PW_CHANGES_533=Users are not allowed to change their \

--
Gitblit v1.10.0