1 2 Previous Next 17 Replies Latest reply on Aug 10, 2007 1:51 AM by roth Go to original post
      • 15. Re: Giving Admin Priviledges to another Role
        swisst

        I am also using jBoss-4.2.1-GA and JBoss_Portal_2_6_1

        Pretty sure I didn't miss anything...I went through it a couple of times. Here's what I did notice:

        * If I attempt to login with an id that is not in AD, I get the expected "Invalid user ID/Password" message.

        * If I attempt to login with an id that is in AD, I get the error message I posted.

        It appears that it is able to search LDAP and find users. It just seems like it does not like the shape of my LDAP entry that it finds, resulting in the error:

        Caused by: javax.security.auth.login.LoginException: org.jboss.portal.identity.IdentityException: Co
        uldn't create LDAPUserImpl object from ldap entry (SearchResult)


        Is the code that builds the LDAPUser looking for specific fields in LDAP that I do not have? How do I know what is required?

        • 16. Re: Giving Admin Priviledges to another Role
          swisst

          Resolved!

          I am ashamed to say that I indeed was not following every step in the wiki article...I left out his crucial configuration piece:

           <option>
           <name>uidAttributeID</name>
           <value>sAMAccountName</value>
           </option>
          


          I only discovered this after downloading the source and putting my own debug statements in there. Sorry for wasting your time!



          • 17. Re: Giving Admin Priviledges to another Role

            No problem, I'm glad it worked for you.

            Thanks,
            Tobias

            1 2 Previous Next