Solved

Active Directory to SQL Server

Posted on 2004-09-16
8
376 Views
Last Modified: 2008-02-01
Is there any way to setup SQL Server to link to Active Directory so I can setup various reports to run automatically querying the SQL server?  I am looking for a solution that will work with my existing setup, so I do not have to purchase expensive software.

Thanks for any help!
0
Comment
Question by:blouckswwu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 7

Expert Comment

by:FDzjuba
ID: 12075666
0
 

Author Comment

by:blouckswwu
ID: 12075940
I am want to be able to query Windows Active Directory users using SQL server.  Your first link is what I am looking for, but it doesn't go into much detail on how to user Enterprise Manager to peform this task.

http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21064994.html
0
 

Author Comment

by:blouckswwu
ID: 12076089
I found in Enterprise Manager where the linked servers option is.  I attempted to create a link to our primary Active Directory server and I get the following Error.

Error 7301: Could not obtain a required interface from OLE DB provider 'ADsDSOObject'.
OLE DB error trace [OLE/DB Provider 'ADsDSOObject' IUnknown::QueryInterface returned 0x80004002:  IDBSchemaRowset].

There just isn't much information regarding this.  Almost all the links that I have found on the web are broken links to Microsoft.  Its frustrating how Microsoft does not make this very easy and does not provide much information on this.  I believe they want to you just spend $1,000's of dollars on a 3rd party vendor.  I spend enough on their software and I do not want to spend any more on other vendors to get information that their OS should already provide.  Ok ...I'm off the soapbox now...sorry.

Thanks for your input and help!
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 7

Expert Comment

by:FDzjuba
ID: 12076272
try to update Service Pack and MDAC drivers, then try to create link to Active Direcotries

MDAC 2.8 should fix the problem
0
 

Author Comment

by:blouckswwu
ID: 12076581
I installed the MDAC 2.8 (client and SQL server) and I am still having the same problem.  I think I am missing something in my setup.  I just can't find anything on the Internet that tells me what the right settings are to connect to Active Directory.  When I right click on the linked server I created and go to properties there are some settings that need to entered in:

**General Tab**
Product name: Microsoft Active Directory Services
Data source: XXXXX - I put in one of my catalog masters (pdc server)
Provider string: <blank>
Location: <blank>

**Security Tab**
I have setup nothing under the local server login to remote server login mappings section.
0
 
LVL 7

Accepted Solution

by:
FDzjuba earned 500 total points
ID: 12083303
0
 
LVL 12

Expert Comment

by:kselvia
ID: 12099612
0
 

Author Comment

by:blouckswwu
ID: 12101939
I got it to works.  Thanks all for your comments.  
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question