GlassFish and Do Not Accept Valid LDAP Search Syntax for the LDAP Realm Configuration.

(Doc ID 2104880.1)

Last updated on JANUARY 08, 2017

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.


Either upgrading an pre- GlassFish installation with a domain configured with an LDAP Realm, or attempting to configure an LDAP Realm on or will result in errors similar to the following being reported:

This is with the default LDAP realm search filter of (uid=%s).

The error is not seen with or earlier, with the same default search filter, which is a legal filter according to RFC 2254.


 The problem was introduced by a fix made to


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms