Using ASP.NET 2.0 Roleprovider against AzManStore in ADAM



I've been able to setup an AzMan store within ADAM and authorize a
user
against it.

Here's a code snippet:
IAuthorizationProvider azManProvider =
AuthorizationFactory.GetAuthorizationProvider("AzManProvider");

lblName.Text = User.Identity.Name;
chkIsAuthenticated.Checked =
User.Identity.IsAuthenticated;
lblAuthenticationType.Text =
User.Identity.AuthenticationType;

chkAuthQuery.Checked = azManProvider.Authorize(User,
"Query");
chkAuthQueryStation.Checked =
azManProvider.Authorize(User,
"O:QueryOperation");

All that is well and good however, I expected to use ASP.NET Roles to
query
for the roles I have setup with AzMan.

Roles.GetRolesForUser() returns the following exception:
Exception has been thrown by the target of an invocation.
{"Element not found. (Exception from HRESULT: 0x80070490)"}

My ADAM and IIS instances are on separate servers within the same
domain.
How do I reference the ASP.NET machine account from the IIS machine in
a
local security group on my ADAM box? I need to add this local group to
the Readers role of the AzManStore.

Any help would be greatly appreciated. Thanks.
.



Relevant Pages

  • Re: ADAM : Install using Domain users as Admin rights issue
    ... In your setup, do serverA and serverB belong to the same ... Another option is to add two ADAM admins. ... >>account and ADAM admin account? ... >>> Win 2000 Server Domain ...
    (microsoft.public.windows.server.active_directory)
  • Password replication from AD to ADAM (using IIFP)
    ... My goal is to setup synchronization between AD and ADAM with password ... I've already setup account replication using IIFP, ...
    (microsoft.public.platformsdk.security)
  • Re: Password replication from AD to ADAM (using IIFP)
    ... You will still need the ADAM server to be joined to a domain that is trusts the AD you want to proxy to, so that might be challenging from a networking scenario. ... My goal is to setup synchronization between AD and ADAM with password ... I've already setup account replication using IIFP, ... Is it necessary to setup PCNS on the machine witch ADAM instance? ...
    (microsoft.public.platformsdk.security)
  • Re: Extended break
    ... Adam wrote: ... >>are for When Things Go Wrong, and not for catching a condition which you ... I think it's careless, though, to rely on an exception when you hit the ... vs. readability/maintainability, is worth examining though. ...
    (comp.lang.java.help)
  • ADAM : Install using Domain users as Admin rights issue
    ... ADAM to replicate] for our product that uses ADAM. ... Ist instance setup: Unique ... Service Account Selection: ...
    (microsoft.public.windows.server.active_directory)