[Geoserver-users] LDAP/AD in 2.4RC1 issue

Hi List,
We’ve been dabbling with the LDAP/AD authentication in 2.4RC1.
We’ve got it authenticating simple test accounts with a limited number of groups, but our actual user accounts it fails to authenticate. When we enter the correct details we get the following error:

org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 0

Can anyone advise what this means, and is it likely to be a bug? I suspect it is given the unhelpful nature of the error.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

2013/8/23 Jonathan Moules <jonathanmoules@anonymised.com>

Hi List,
We've been dabbling with the LDAP/AD authentication in 2.4RC1.
We've got it authenticating simple test accounts with a limited number of
groups, but our actual user accounts it fails to authenticate. When we
enter the correct details we get the following error:

org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect
result size: expected 1, actual 0

Hi Jonathan, can you send me the complete stack trace for this error, I
would like to see exactly where it happens,
Moreover, can you tell me exactly how you have configured the LDAP
Authentication Provider and what is the username/s failing in your tests?

Thanks,
Mauro Bartolomeoli

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------