AzMan Access Check



Hi Experts,

Currenly I am developing an application for my company to perform access
check for domain users. The APIs I used were mainly came from authz.dll,
which are

AuthzInitializeResourceManager
AuthzInitializeContextFromSid
AuthzAccessCheck

I wrote a test application to call the above APIs to check for the same
access right repeatedly and indefinitely. After some thousands calls to the
APIs, exceptions were thrown from those APIs. Sometimes, it reports
AccessViolation while sometimes with undocumented error codes. The number of
calls is not constant and the behaviour seems to be non-deterministic. I
tested it on a XP SP2 machine and Win2k Server SP4.

Is there anyone faced the same problem as me? I welcome any ideas and the
code can be posted if someone interested to look at it!

Thanks for help!

Best Regards,
Tony Cheung


.