LDAP authentication fails with "invalid DN"

Description

I've read http://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.html - http://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.html and tried many configuration options but still couldn't get it to work. Numerous posts in blogs and forums reporting similar issues with LDAP authentication didn't help much. I have seen a similar issue reported earlier [https://jira.codehaus.org/browse/GEOS-5999" title="LDAP/AD not authenticating" class="issue-link" data-issue-key="GEOS-5999">GEOS-5999 and one more that I can't find anymore..

Here's as far as I could get:

(see stacktrace1.txt attached)

and the following gets logged in slapd syslog:

Jan 29 10:52:05 cgsrv4 slapd

If I try to fully qualify the user lookup pattern (uid=
{0}
,ou=Users,dc=arrc,dc=csiro,dc=au) as some forum posts suggest I get the following with nothing logged in slapd logs (it looks like it doesn't even get there):

(see stacktrace2.txt attached)

Any help of suggestions where do I need to look at will be highly appreciated.

Environment

None

Status

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

None

Affects versions

None

Priority

Highest
Configure