Why do I get the error "Unable to update the password" when calling AzMan?

4

I'm doing a authorization check from a WinForms application with the help of the AzMan authorization provider from Enterprise Library and am 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 has read access to both ADAM and the AzMan store. The computer running the WinForms app and the computer running ADAM are both on Windows XP SP2.

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

c#
winforms
authorization
adam
azman
asked on Stack Overflow Aug 14, 2008 by Magnus Lindhe • edited Dec 13, 2014 by J0e3gan

2 Answers

2

For AzMan with ASP.NET, turn on impersonation in web.config (<identity impersonate="true" username="xx" pasword="xx" />), and make sure with an AD administrator that the impersonation account has "reader" permissions on the AzMan store; plus, give write permissions to this account on the Temporary ASP.NET Files folder (under C:\Windows\Microsoft.NET\<framework>).

answered on Stack Overflow Aug 14, 2008 by (unknown user) • edited Dec 13, 2014 by J0e3gan
2

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.

answered on Stack Overflow Aug 15, 2008 by Magnus Lindhe

User contributions licensed under CC BY-SA 3.0