[Geoserver-devel] [jira] (GEOS-6894) LDAP authentication fails with "invalid DN"

Pavel Golodoniuc created an issue

GeoServer / BugGEOS-6894

LDAP authentication fails with “invalid DN”

Issue Type:

BugBug

Assignee:

Andrea Aime

Attachments:

stacktrace1.txt, stacktrace2.txt

Created:

19/Feb/15 10:09 PM

Environment:

GeoServer 2.6.2
Oracle Corporation: 1.7.0_71 (Java HotSpot™ 64-Bit Server VM)
Windows 8.1 64-bit
Tomcat 7

Priority:

BlockerBlocker

Reporter:

Pavel Golodoniuc

I’ve read 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 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[3326]: conn=8628 op=0 do_bind: invalid dn ((uid=Username))

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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo