Re: Azman: AzAuthorizationStoreClass.Initialize
- From: "Lee Flight" <lef@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Jun 2005 17:22:40 +0100
Hi
you might try enabling Audit Privilege Use in the security policy on the
box and see what is used on a successful call or what fails on an
unsucessful. That might help you spot if it is a rights issue; I offer this
as a straw in the wind as I know AzMan can tie in to the windows
audit system which is a privileged activity but I may be way off-beam
here.
Lee Flight
"mwr" <mwr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0E4D0598-5BE3-4BC7-AF91-DA474320B6C5@xxxxxxxxxxxxxxxx
> The ADAM is running on a WinServer2003 SP1 box running under
> the Network Service Account.
> The web application is running on an XP box SP2 (our dev box) and accesses
> the
> ADAM on the WinServer 2003 box.
>
> I had a service account created and we are doing an impersonation.
> in our web application to make the api calls to
> Microsoft.Interop.Security.AzRoles.dll.
> We get an access denied message in the call to "Initialize" method of
> AzAuthorizationStoreClass.
>
> Note that if the service account is added to the Administrators group of
> the
> XP box then the call to the Initiialize method succeeds.
>
> I added the service account to the readers role and the administrator role
> in ADAM and thru azman.
>
> Mike
>
>
>
> "Dmitri Gavrilov [MSFT]" wrote:
>
>> What is the account that is used to run azman? Does ADAM live on the same
>> machine or different machine?
>>
>> --
>> Dmitri Gavrilov
>> SDE, DS Admin eXperience
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> Use of included script samples are subject to the terms specified at
>> http://www.microsoft.com/info/cpyright.htm
>>
>> "mwr" <mwr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:11A07BF7-2D74-4171-AC17-2A2EBE10697B@xxxxxxxxxxxxxxxx
>> > the impersonation is working without problems
>> > the. The service account we are using to do impersonation
>> > is in the Admintrator role. in ADAM
>> >
>> > I add to the serice account to the reader role in ADAM.
>> > Made no difference same error. Access Denied on Initialize
>> >
>> > Running XP2 SP2 and Server 2003 SP1.
>> > Posted this in the DotNetSecurity newsgroup
>> >
>> > "Dustin" wrote:
>> >
>> >> mwr,
>> >> Make sure of a couple things..
>> >>
>> >> make sure to have <identity impersonate='true' />
>> >> and MOST IMPORTANTLY !!!
>> >>
>> >> <deny users="?" />
>> >>
>> >> Since your Using AzMan. Its Recommended that you also use a Network
>> >> Service
>> >> account that your application impersonates as.
>> >>
>> >> Another thing you can try,
>> >>
>> >> Make sure in your Roles under AzMan. The account your impersonating as
>> >> is
>> >> in
>> >> the Readers Role. And Administrators Role.
>> >>
>> >>
>> >> "mwr" wrote:
>> >>
>> >> > I thought you might say that, but wasnt sure what newsgroup to try.
>> >> > Its basically the permissions that the
>> >> > Microsoft.Interop.security.AzRoles.dll
>> >> > needs to Intialize the application store in ADAM
>> >> >
>> >> > "Joe Kaplan (MVP - ADSI)" wrote:
>> >> >
>> >> > > You might want to try one of the programming oriented newsgroups
>> >> > > like
>> >> > > ms.public.dotnet.security,ms.pub.dotnet.framework.aspnet.security
>> >> > > or
>> >> > > ms.pub.platformsdk.security.
>> >> > >
>> >> > > Joe K.
>> >> > >
>> >> > > "mwr" <mwr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> > > news:447FAFBF-BFC5-439C-BE82-7AF94259846B@xxxxxxxxxxxxxxxx
>> >> > > >I am calling AzAuthorizationStoreClass.Initialize
>> >> > > > and i am getting an access denied. My app is an
>> >> > > > asp.net and i am doing impersonation. The 'Initialize'
>> >> > > > method works if i add the user acount doing the impersonation
>> >> > > > to the admininistrator group on the local machine
>> >> > > > but fails otherwise.
>> >> > > >
>> >> > > > I dont want to have to make the account doing the
>> >> > > > impersonation and admin of the box. What permissions
>> >> > > > do i need to set in order for the method call to succeed
>> >> > > > without being an admin of the box.
>> >> > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> > >
>>
>>
>>
.
- Follow-Ups:
- References:
- Azman: AzAuthorizationStoreClass.Initialize
- From: mwr
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: mwr
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: Dustin
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: mwr
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: Dmitri Gavrilov [MSFT]
- Re: Azman: AzAuthorizationStoreClass.Initialize
- From: mwr
- Azman: AzAuthorizationStoreClass.Initialize
- Prev by Date: New to AD: Configuration Questions
- Next by Date: Re: New to AD: Configuration Questions
- Previous by thread: Re: Azman: AzAuthorizationStoreClass.Initialize
- Next by thread: Re: Azman: AzAuthorizationStoreClass.Initialize
- Index(es):
Relevant Pages
|
Loading