4 Replies Latest reply on Jan 26, 2006 3:06 PM by darren hartford

    LdapLoginModule to ActiveDirectory, could it be a bug?

    selvan_r Newbie

      I configured to the JBoss (4.0.3SP1) LdapLoginModule to authenticate to the active directory and it authenticates fine and but when it is retrieving the memberOf (roles) for the authenticated user, the LdapLoginModule uses the following (sAMAccountName=*) with the filter argument of the {userName} in the ctx.search() method. The search returns all of the roles in the active directory instead of returning the roles that the user is associated with. Should it be (sAMAccountName={0}) and filterArgs?

      Is it a bug or is my configuration wrong? Should I report this in the JIRA?

      Thanks
      /selvan