We are getting random occurrences of a 'SmApiException:Corrupted buffer returned from server' error during account self registration events in IM.
IDM server.log:
2020-10-16 15:57:46,999 ERROR [com.netegrity.ims.exception.EventExecuteStateException] (Thread-158 (HornetQ-client-global-threads-1306793051)) Exception: : [facility=7 severity=3 reason=0 status=1 message=Corrupted buffer returned from server]
Not enough tokens in the returned password message.
Corresponding smps.log:
[3744/4368][Fri Oct 16 2020 15:57:46][SmIMSObjProviderFactory.cpp:72][ERROR][sm-JavaApi-01260] IMSObjectProviderFactory:getProvider() - error loading provider library
[3744/4368][Fri Oct 16 2020 15:57:46][SmIMSObjProviderFactory.cpp:72][ERROR][sm-JavaApi-01260] IMSObjectProviderFactory:getProvider() - error loading provider library
[3744/4368][Fri Oct 16 2020 15:57:46][SmImsCommand.cpp:195][ERROR][sm-log-00000] SmImsCommand (Execute) Failed to get IMSProvider instance using keyOID 32-895a5b9e-ed0f-43d1-9ffa-6cbbaaa1df59
[3744/4368][Fri Oct 16 2020 15:57:46][SmIMSObjProviderFactory.cpp:72][ERROR][sm-JavaApi-01260] IMSObjectProviderFactory:getProvider() - error loading provider library
[3744/4368][Fri Oct 16 2020 15:57:46][MarshalUtils.cpp:875][ERROR][sm-log-00000] SmImsCommand (returnPasswordErrorMsg) - The SmPasswordMsgReader could not parse the message
[3744/4368][Fri Oct 16 2020 15:57:46][MarshalUtils.cpp:876][ERROR][sm-log-00000] SmImsCommand (returnPasswordErrorMsg) -
IdentityMinder(Identity Manager): 14.4, 14.5
Integrated with Siteminder
One of the SiteMinder Policy Servers was missing the registry entry for ‘imsinstalled’ in reference to Identity Manager extensions. Once we added that registry entry and rebooted, the error has not repeated.
See KB 56478 How to: Verifiy if the Identity Minder Extensions are installed on the SiteMinder Policy Server and the Product Documentation - Install SiteMinder Extension
Ensure all Policy Servers have the correct Extension configured: