RE: ADAM AND ASP.NET
- From: "Reza" <Reza@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Jun 2005 13:44:03 -0700
Your configuration shows that B and C are similar so the query must work for
C too. Where have you saved AZMan stores on B and C? Is it in Active
Directory or as an xml file? Have you tested running sql as domain admi?, it
may work. Which users have you set as Policy Administrators for Azman on B
and C?
Reza.
"fhillipo" wrote:
> I configured 3 machines on the same domain
>
> A
> Windows 2000 Server
> SQL Server
> IIS
> ASP.Net
>
> B
> Windows XP
> ADAM
>
> C
> Windows XP
> ADAM
>
> From machine A I can successfully execute the following query to return
> data from ADAM instance on B or C, using Query Analyzer (having configured a
> linked server)
>
> SELECT *
> FROM
> OPENQUERY(ADSI,'<LDAP://machineB:389/O=xxx,C=UK>;((OBJECTCLASS=*));EMPLOYEEID,NAME,TITLE,GIVENNAME,INITIALS, SN,TelephoneNumber;SUBTREE')
>
> or
>
> SELECT *
> FROM
> OPENQUERY(ADSI,'<LDAP://machineC:389/O=xxx,C=UK>;((OBJECTCLASS=*));EMPLOYEEID,NAME,TITLE,GIVENNAME,INITIALS, SN,TelephoneNumber;SUBTREE')
>
>
> From the front end using the web server on machineA I can run all reports,
> including the reports that use the above query, accessing ADAM on machineB.
> However if I alter the stored procedures to use machineC I get the following
> error:
>
> OLE DB provider 'ADSDSOObject' reported an error. The provider indicates
> that the user did not have the permission to perform the operation.
>
> Additional Information:
>
> SQL server runs within the context of a domain user with local and domain
> admin rights
> The said domain user has been added as a windows account in ADAM (as a
> Reader within Roles), so have 'service' and 'system' accounts
>
> Any clues greatly appreciated
> --
> fhillipo
.
- References:
- ADAM AND ASP.NET
- From: fhillipo
- ADAM AND ASP.NET
- Prev by Date: csvde issue
- Next by Date: demoting a DC & logon credentials
- Previous by thread: ADAM AND ASP.NET
- Next by thread: Avoiding using large numbers of groups
- Index(es):
Relevant Pages
|