My Oracle Support Banner

GlassFish and Do Not Accept Valid LDAP Search Syntax for the LDAP Realm Configuration. (Doc ID 2104880.1)

Last updated on SEPTEMBER 13, 2022

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.