2013/11/26 Luis Taboada <[email protected]>

> Hi again Mauro
>
> you are correct with that but now the error is
>
>    - org.springframework.dao.IncorrectResultSizeDataAccessException:
>    Incorrect result size: expected 1, actual 0
>
>
> i have seen the problem, i going try to explain it to you
>
> we need to login using the format "domain\user". using for this  the field
> "format used for the user login name" and it works for bind
> but...
>
>  Our AD uses only the "user" as sAMAccountName, without domain. when the
> search is done the result is 0 and i think  that  would be the cause of the
> error.
>

Then I think you should use sAMAccountName={1} as a filter, the {0}
placeholder looks for the formatted name (dttec\ltds) while the {1}
placehholder uses the unformatted one (ltds in your example).

Regards,
Mauro

-- 
==
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

-------------------------------------------------------
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to