3 Replies Latest reply on Apr 17, 2005 9:31 AM by gmeroz

    LDAP & JBoss outside the domain

      Hi,
      i installed JBoss with the same configuration on 2 computers (both in the same network one of them is outside the domain) And i'm using LDAP for authentication.

      from some reason, i can not login into the applicaiton on the machine which is not in the domain.

      does anyone know how to fix it?

        • 1. Re: LDAP & JBoss outside the domain

          i forgot to say i'm using ActiveDirectory

          • 2. Re: LDAP & JBoss outside the domain
            radl01

            What is your login-config look like ?

            Jan

            • 3. Re: LDAP & JBoss outside the domain

              <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
              flag="required" >
              <module-option name="debug1">true</module-option>
              <module-option name="java.naming.factory.inital">com.sun.jndi.ldap.LdapCtxFactor</module-option>
              <module-option name="java.naming.provider.url">ldap://ldaphost.bevents.local:389/</module-option>
              <module-option name="java.naming.security.authentication">simple</module-option>
              <module-option name="matchOnUserDN">false</module-option>
              <module-option name="principalDNSuffix">@bevents.local</module-option>
              <module-option name="uidAttributeID">sAMAccountName</module-option>
              <module-option name="roleAttributeID">memberOf</module-option>
              <module-option name="roleAttributeIsDN">true</module-option>
              <module-option name="roleNameAttributeID">name</module-option>
              <module-option name="rolesCtxDN">ou=App_Users,dc=bevents,dc=local</module-option>

              </login-module>