Hiya, Have you been able to set a breakpoint to see what the query is doing? Maybe the search base is incorrect for the query?
The code is here if it helps to see what is going on for a role check: http://svn.apache.org/repos/asf/shiro/trunk/core/src/main/java/org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.java -- Les Hazlewood | @lhazlewood CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282 On Thu, Apr 11, 2013 at 4:16 AM, eduamt <[email protected]> wrote: > I saw this topic in the forum: > > http://shiro-user.582556.n2.nabble.com/Reading-user-roles-from-Active-Directory-td2503002.html#a2532619 > > and really setting the systemPassword and systemUsername at my > applicationContext.xml, made the exception go away. > But still I'm not able to get roles, all roles my user has return as false. > Since this topic is from 2009, how the subject changed? > > Thanks > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Shiro-ActiveDirectory-bind-tp7578576p7578577.html > Sent from the Shiro User mailing list archive at Nabble.com. >
