1 Reply Latest reply on Dec 6, 2007 5:42 AM by jaikiran pai

    login-config.xml question

    Robert Brauer Newbie


      Let me state, I am not a developer, so I have no clue about the development aspect of things.

      We have a customer who has JBOSS 4.0.5 and using one of our applications. We rely on the JAAS authentication method for authentication and binding to LDAP.

      In the login-config.xml file there is this following section:
      <module-option name="java.naming.provider.url">ldap://<DC NAME>:389</module-option>

      On a VMWare Image I have, my domain name is testdc.demo ... and when I replace the ldap://<DC NAME>:389 with ldap://p8demo.dem:389 it works and I am able to start JBOSS and login to our application.

      However, one of our customers has a a domain name that contains the '-' (Dash or Minus sign) - so their domain is like company-name-test.net

      So when I replace the ldap:// with
      <module-option name="java.naming.provider.url">ldap://company-name-test.net:389</module-option> they get some errors during the JBOSS start and have problems authenticating.

      I am wondering if the '-' in the domain name is causing a problem or should I be looking else where and not @ JBOSS, maybe within our application.