SQL Server 2000: Integration with AD and E2K

Slides:



Advertisements
Similar presentations
ESUP-Portail: a pure WebDAV-based Network attached Storage Pierre Gambarotto Pascal Aubry.
Advertisements

Needles in a Haystack Harnessing the SharePoint Search Engine Presenter: Ivan Wilson – SharePoint Gurus.
By Rashid Khan Lesson 5-Directory Assistance: Administration Using Active Directory Users and Computers.
© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne.
Chapter 4 Chapter 4: Planning the Active Directory and Security.
1 Active Directory (Week 8, Monday 2/26/2007) © Abdou Illia, Spring 2007.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
5/8/2006 pmarquez/Active Directory 1 Windows Server 2003 Active Directory CS526 Semester Project Spring 2006 Patricia C. Marquez Microsoft.
CS603 Active Directory February 1, 2001.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
1 Chapter 1 Introduction to Windows Server Two main goals for Net Admin Make network resources available to users Files, folders, printers, etc.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
Understanding Active Directory
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
A centralized system.  Active Directory is Microsoft's trademarked directory service, an integral part of the Windows architecture. Like other directory.
1 CSIT 320. Just as the combination of a database and a database management system collects and organizes information about an institution/company/… as.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Alonso Robles Solutions Architect speakTECH
03/07/08 © 2008 DSR and LDAP Authentication Avocent Technical Support.
Overview of Active Directory Domain Services Lesson 1.
(ITI310) SESSIONS : Active Directory By Eng. BASSEM ALSAID.
BZUPAGES.COM An Introduction to. BZUPAGES.COM Introduction Large corporations today face the following problems Finding a certain file. Seeing everything.
MIGRATING FROM MICROSOFT EXCHANGE SERVER AND OTHER MAIL SYSTEMS Appendix B.
Chapter 6: Windows Servers
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 4: Active Directory Architecture.
Windows 2000 Operating System -- Active Directory Service COSC 516 Yuan YAO 08/29/2000.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Active Directory Windows2003 Server. Agenda What is Active Directory What is Active Directory Building an Active Directory Building an Active Directory.
ADO 2.5 Kamaljit Bath, Program Manager Data Access Group.
Active Directory Maryam Izadi. Topics Covered NT Vs 2000/2003 Active Directory LDAP MMC.
1 Windows 2008 Configuring Server Roles and Services.
LDAP (Lightweight Directory Access Protocol ) Speaker: Chang-Yu Wu Adviser: Quincy Wu Date:2007/08/22.
 Identify Active Directory functions and Benefits.  Identify the major components that make up an Active Directory structure.  Identify how DNS relates.
Module 4: Managing Recipients. Overview Introduction to Exchange Recipients Creating, Deleting, and Modifying Users and Contacts Managing Mailboxes Managing.
1 Workgroup and Workflow Technologies CDO for Exchange 2000 Server CDO for Exchange Management Workflow for Exchange 2000 Server.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
MSG331 Exchange Server 2000/2003 Software Development Kit Susan Hill Lead Programmer Writer Microsoft Corporation.
Introduction to Active Directory
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Three Managing Recipients.
What’s new in ADO 2.5 Greg Hinkel Program Manager Data Access Group
Hussain Ali Department of Computer Engineering KFUPM, Dhahran, Saudi Arabia Active Directory.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
CEG 2400 Fall 2012 Directory Services Active Directory Tree Domain.
Directory Services CS5493/7493. Directory Services Directory services represent a technological breakthrough by integrating into a single management tool:
1 Introduction to Active Directory Directory Services Uniquely identify users and resources on a network Provide a single point of network management.
MCSE: Windows Server 2003 Active Directory Planning, Implementation, and Maintenance Study Guide, Second Edition (70-294) Chapter 1: Overview of the Active.
Active Directory Domain Services (AD DS). Identity and Access (IDA) – An IDA infrastructure should: Store information about users, groups, computers and.
Presented by Zap Riecken Using SQL Server to Query Active Directory Wednesday March 18, 2015 Olympia, WA.
Windows Active Directory – What is it? Definition - Active Directory is a centralized and standardized system that automates network management of user.
BOF-1147, JavaTM Technology and WebDAV: Standardizing Content Management Java and WebDAV Juergen Pill Team Leader Software AG Remy Maucherat Software Engineer.
Module 1: SQL Server Overview
Overview of Active Directory Domain Services
Introduction to LDAP Frank A. Kuse.
Module 1: Introduction to Administering Accounts and Resources
Overview of Active Directory Domain Services
(ITI310) SESSIONS 6-7-8: Active Directory.
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Active Directory Stored collection of information about objects
IIS.
Windows Server 2008 Administration
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 4: Implementing and Managing Group and Computer Accounts.
Introduction to Name and Directory Services
Active Directory (November 7, 2016) © Abdou Illia, Fall 2016.
Active Directory Overview
Windows Server 2003 使用者群組管理
ACTIVE DIRECTORY An Overview.. By Karan Oberoi.
Introduction to Active Directory Directory Services
Developing with uConnect
Presentation transcript:

SQL Server 2000: Integration with AD and E2K Dave Fackler Director, Intellinet MCDBA, MCSE, MCT 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Agenda Active Directory Overview ADSI and LDAP Query Dialects and the ADSI Schema Querying from SQL2K Exchange 2000 Namespaces and Content Classes SQL Dialect 11/24/2018 SQL2K-AD-E2K Integration

Overview of Active Directory Directory service provided with Win2K Hierarchical organization of objects Domains Domain trees and forests Organizational units (OU) User and computer accounts Groups (security and distribution) Resources (contacts, printers, shares) Use AD tools to manage AD Domains and Trusts AD Users and Computers Highly evolved replication 11/24/2018 SQL2K-AD-E2K Integration

Active Directory Interfaces LDAP (Lightweight Directory Access Protocol) Connection protocol between client and server Provides query and search capabilities Programmatic interface via C, C++ ADSI (Active Directory Services Interface) COM interface to AD OLE DB provider for AD (ADsDSOObject) Uses LDAP as connection protocol Provides mechanism for integration with SQL2K 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration ADSI Query Dialects LDAP Binds to an AD location to query against Specifies filtering criteria Lists AD properties to return <LDAP://OU=Directors,OU=Atlanta,OU=Intellinet,DC=vizability, DC=intellinet,DC=com>;(objectClass=User);Name,Title;subtree SQL SELECT list provides AD properties to return FROM clause provides AD location to query against WHERE clause allows filtering select Name, Title from ‘LDAP://OU=Directors,OU=Atlanta,OU=Intellinet,…’ where objectClass = ‘User’ 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration ADSI Schema IADsUser (objectClass=User) Not all IADsUser properties are available via LDAP Use AD property names, not ADSI property names IADsGroup (objectClass=Group) Very few properties are actually available Cannot query for array-based properties Group members for example Dig into the ADSI SDK for information 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Querying AD from SQL2K Create a linked server using ADsDSOObject exec sp_addlinkedserver 'ADSI', 'Active Directory Services 2.5', 'ADsDSOObject', 'adsdatasource‘ Execute LDAP queries via openquery() select convert(varchar(30), [Name]) as FullName, convert(varchar(30), Title) as Title from openquery(ADSI, '<LDAP://OU=Directors,OU=Atlanta,OU=Intellinet,…>; (objectClass=User);Name,Title;subtree') convert(varchar(30), Title) as Title, 'select Name, Title from ''LDAP://OU=Directors,OU=Atlanta,OU=Intellinet,…'' where objectClass = ''User''') 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Overview of Exchange 2000 Next generation messaging system Win2K integration Integrates with AD for directory services Message transport via Win2K services (IIS, DNS) Web Storage System Provides HTTP, WebDAV, and XML access Supports multiple databases for mail and folders Real-time collaboration Programmatic interfaces CDO, CDOEXM, and ADO OLE DB Provider for Exchange (ExOLEDB) 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Content Classes in E2K Every resource belongs to a content class urn:content-classes:message urn:content-classes:person urn:content-classes:appointment Each content class has a set of properties urn:schemas:mailheader:subject urn:schemas:contact:sn urn:schemas:calendar:dtstart Custom content classes can be defined 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Namespaces in E2K Namespaces provides unique names for every property in the Web Storage System Allows properties with the same name to be distinguished (for example, the “From” property) A namespace includes various properties and may be used by different types of resources DAV: urn:schemas:httpmail urn:schemas:contacts urn:schemas:calendar ExOLEDB adds “file:\\.\backofficestorage” and “http://” namespaces 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration SQL Dialect for E2K Uses syntax similar to SQL2K with Full Text Indexing options included select <list> from scope(<scope1>, <scope2>, …) where <condition> order by <list> group by <list> rank by <list> “Select” clause specifies the properties to return, using namespace notation “From” specifies the scope and path to search Scope specifies the depth of the search Path specifies the URL to search 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration SQL Dialect for E2K “Where” clause specifies the filtering condition Can use any of the following predicates, functions, and clauses cast, contains, formsof, freetext, like, rank by Conditions connected via “and” and “or” “Group by” and Order by used as in SQL2K “Rank by” allows for ranked results select “DAV:displayname” from scope(‘shallow traversal of “http://myserver/public/test”’) where “DAV:isfolder” = TRUE order by “DAV:displayname” 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Querying E2K from SQL2K Create a linked server using ExOLEDB exec sp_addlinkedserver ‘E2K_PF', 'Exchange OLE DB provider', ‘ExOLEDB.DataSource.1', 'file:\\.\backofficestorage\ vizability.intellinet.com\public folders‘ Use openquery() to execute queries select convert(varchar(30), "urn:schemas:contacts:sn") as LastName, convert(varchar(30), "urn:schemas:contacts:givenName") as FirstName from openquery(E2K_PF, ‘select "urn:schemas:contacts:sn", "urn:schemas:contacts:givenName" from scope(''shallow traversal of ".\Intellinet\Atlanta\Atlanta Contacts"'')') 11/24/2018 SQL2K-AD-E2K Integration

SQL2K-AD-E2K Integration Resources ADSI SDK: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/active_directory_service_interfaces_adsi.asp?frame=true Exchange 2000 SDK and Samples: http://download.microsoft.com/download/exchplatinumbeta/ SDK/September_2001/NT5/EN-US/ExchangeSDKDocs.exe 11/24/2018 SQL2K-AD-E2K Integration

Go build integrated solutions! Conclusion Active Directory ADSI and LDAP Query Dialects Querying from SQL2K Exchange 2000 Namespaces SQL Dialect Go build integrated solutions! 11/24/2018 SQL2K-AD-E2K Integration