[jboss-user] [JBoss Portal] - Re: Configuration with two LDAP

PeterJ do-not-reply at jboss.com
Wed Sep 17 11:41:04 EDT 2008

Try this. Change the ldap host name within ldap_identify-config.xml as follows:

  |   <name>host</name>
  |   <value>${ldap.host:defaultldaphost}</value>
  | </option>

where 'defaultldaphost' is your current ldap host's name. This name will be used if you do not set the ldap.host system property. Then when you want to use the other LDAP host, run JBossAS as follows:

run -Dldap.host=otherldaphost

where 'otherldaphost' is the name of the other LDAP host.

Caveat: the above suggestion is based on the assumption that the ldap configuration file handles system property expansion like the other JBossAS configuration files do; I have not actually tried this.

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

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

More information about the jboss-user mailing list