1 Reply Latest reply on May 13, 2013 3:46 PM by 1008610

    Authentication problem against Microsoft Active Directory on Weblogic6.1

    1008610
      Hi there, I got an weired authentication on Weblogic6.1. Some users can log into system while others with the same role can't. If some people can help me figure out why?

      These users all belong to "wlpiUsers" on Microsoft Active Directory.

      Web.xml
      <security-constraint>
      <web-resource-collection>
      <web-resource-name>worklist</web-resource-name>
      <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
      <role-name>wlpiUsers</role-name>
      </auth-constraint>
      </security-constraint>

      <login-config>
      <auth-method>BASIC</auth-method>
      </login-config>

      <security-role>
      <role-name>wlpiUsers</role-name>
      </security-role>

      weblogic config.xml(AD related, some sensitive information is replaced with '?'):

      <CustomRealm ConfigurationData="server.host=?;membership.search=true;membership.filter=(&amp;(member=%M)(objectclass=group));server.port=389;group.dn=?;group.filter=(&amp;(cn=%g)(objectclass=group));server.principal=CN=Admin,?;user.dn=?;user.filter=(&amp;(mailNickname=%u )(objectclass=user))"
      Name="ActiveDirectoryRealm"
      Password="?" RealmClassName="weblogic.security.ldaprealmv2.LDAPRealm"/>