views:

1239

answers:

2

I'm doing a authorization check from a WinForms application with the help of the AzMan authorization provider from Enterprise Library and I'm receiving the the following error:

Unable to update the password. The value provided as the current password is incorrect. (Exception from HRESULT: 0x8007052B) (Microsoft.Practices.EnterpriseLibrary.Security.AzMan)


Unable to update the password. The value provided as the current password is incorrect. (Exception from HRESULT: 0x8007052B) (Microsoft.Interop.Security.AzRoles)

The AzMan store is hosted in ADAM on another computer in the same domain. Other computers and users do not have this problem. The user making the call have read access to both ADAM and the AzMan store. The computer running the WinForms app and the running ADAM are both on Windows XP SP2.

I've had access problems with AzMan before that I've resolved but this was a new one... What am I missing?

+1  A: 

Turnon ON impersonation in web.config <identity impersonate="true" username="xx" pasword="xx" />

and make sure with an AD administrator that the account has "reader" permissions on AzMan store, plus gave write permissions to this account on the Temp ASP.NET folder (c:\windows\microsoft.net\<framework>)

The error occurred in a WinForms application so this answer does not apply to context of the question.
Manga Lee
A: 

I found out from the event log that there was a security issue with the user making the call to AzMan from a remote computer. The user did not belong the local Users group on the computer running ADAM/AzMan. When I corrected that everything worked again.

Manga Lee