If you own any admin command that is derived from LocalInstanceCommand
then you should read this:
If you EVER call an instance directly then you need to add this one line
of code before calling a remote command on the instance:
setLocalPassword()
============
I could have automatically set the local-password into every command but
then if you called remote commands on DAS you would get authentication
exceptions. (e.g. delete-local-instance calls DAS)
So --
if you're calling an instance directly (like stop-local-instance) then
call setLocalPassword() first.
if you're calling DAS -- then do nothing. Unless you already called the
above. In that case call unsetLocalPassword()
=================
Is there a better more elegant way of handling this -- you bet! But
continuous dev tests are failing all the time, Admin dev tests are
failing all the time and we have very little time to fix the other
bazillion bugs for MS7. This fixes the Authentication problems.
--
Byron Nevins - Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188