07-25-07 06:23 PM
> Our ldap is down now and we would like webpshere to
> revert back to local OS based authentication &
> authorisation. Unfortunately we cannot log in to WAS
> Admin console because ldap is down. Is there a way to
> change WAS to use local OS authorisation &
> authentication in this condition?
You received the information on how to disable the global security already (
security.xml modification). To make this a structural solution, you cannot e
asily create a WebSphere configuration which falls back to local OS in case
of an LDAP failure.
What you can do is to either have a back-up LDAP up and configure the secund
ary LDAP as well (you need to use wsadmin/JMX for this, the admin console on
ly allows you to select one LDAP) or write your own registry handler which f
irst connects to LDAP and f
alls back to local os if that fails.
I'm sure the latter is not that difficult as it sounds ;-)
You might also be able to configure both, select one as the default and have
a script on your Deployment Manager server that switches the /Security/@act
iveUserRegistry setting in the security.xml file from LDAPUserRegistry to Lo
calOSUserRegistry.
As far as I can tell, the configuration of the user registry and LDAP remain
available and you just switch the active registry. Of course, this does req
uire a Deployment Manager restart.
Wkr,
Sven Vermeulen
[ Post a follow-up to this message ]
|