1

Using the functions WinAPIServer::cryptProtectData() and WinAPServer::cryptUnprotectData() to store passwords in the database worked fine for a while.

Using this technique on an AOS-Cluster doesn't. Code stops execution on WinAPIServer::cryptUnprotectData() without any error-message.

Decrypting only works on the AOS where the Crpyting has been done. Retyping and crypting the password on AOS 2 ( where uncrypting doesn't work at this time ) leads to the fact that AOS 2 can uncrpyt, but AOS 1 not and vice versa. I found some infos regarding problems after changing password of the AOS-User, but the AOS-User is the same on both AOS-instances. So is the password. Are there any further unique IDs or something involved in crypting/uncrypting?

MSDN doesn't give me any helpful information...

4

1 回答 1

1

您可以查看 AX 中 SMTP 服务器的密码是如何存储的。另请查看为什么表 SysEmailSMTPPassword 保存每个 AOS 实例的 SMTP 密码?似乎加密取决于 Windows 注册表值,这使得它依赖于 AOS。

于 2014-07-02T09:02:31.437 回答