Details
-
Suggestion
-
Resolution: Fixed
-
None
-
None
Description
Errors such as these:
INFO [directory.ldap.util.DirectoryAttributeRetriever] Unsafe or Blank attribute value for attribute <givenName>: ' ' INFO [directory.ldap.util.DirectoryAttributeRetriever] Unsafe or Blank attribute value for attribute <sn>: ' '. ERROR [[Catalina].[localhost].[/].[default]] Servlet.service() for servlet default threw exception java.lang.IllegalArgumentException: Not a valid attribute string value:ou$$@\m/@,improper usage of backslash
Should have more information, without setting the class to TRACE. Example:
INFO: Unsafe or Blank attribute value for attribute <givenName>. Context: <cn=usertest,dc=example,dc=com>. Attribute was skipped.
WARN: Not a valid attribute string value <ou$$@\m/@>, improper usage of backslash. Attribute: <sn>. Context: <cn=usertest,dc=example,dc=com>. User was skipped.
It is important to have a Context, Attribute Name, and Attribute Value in a WARN/ERROR message, so that it's easier for administrators to identify the user/group in LDAP that is causing the issue