[jboss-user] [Security & JAAS/JBoss] - login-config.xml question

FunkMaster do-not-reply at jboss.com
Wed Dec 5 11:27:38 EST 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110592#4110592

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110592

More information about the jboss-user mailing list