Active Directory Domain Controller Location Service. Anthony Liguori aliguor@us.ibm.com IBM Linux Technology Center



Similar documents
Samba as an Active Directory Domain Controller

Implementing Active Directory Hurdles, Obstacles, and the Finish Line. Jim McDonough Samba Team IBM Linux Technology Center April 6, 2004

Active Directory network protocols and traffic

Active Directory network protocols and traffic

WINDOWS 2000 Training Division, NIC

Integrating Red Hat Enterprise Linux 6 with Microsoft Active Directory Presentation

User Identification (User-ID) Tips and Best Practices

X.500 and LDAP Page 1 of 8

Univention Corporate Server. Operation of a Samba domain based on Windows NT domain services

Microsoft Active Directory Authentication with SonicOS 3.0 Enhanced and SonicOS SC 1.0 (CSM 2100CF)

SKV PROPOSAL TO CLT FOR ACTIVE DIRECTORY AND DNS IMPLEMENTATION

Forests, trees, and domains

CONFIGURING ACTIVE DIRECTORY IN LIFELINE

SonicOS Enhanced 3.2 LDAP Integration with Microsoft Active Directory and Novell edirectory Support

Enterprise Knowledge Platform

Configuring and Using the TMM with LDAP / Active Directory

The Domain Name System

The Win32 Network Management APIs

FreeIPA 3.3 Trust features

Copyright

Integration with Active Directory. Jeremy Allison Samba Team

Active Directory LDAP Quota and Admin account authentication and management

Basic Network Configuration

Samba and Vista with IPv6

Going in production Winbind in large AD domains today. Günther Deschner (Red Hat / Samba Team)

LDAP User Service Guide 30 June 2006

The TCP/IP Reference Model

9. Which is the command used to remove active directory from a domain controller? Answer: Dcpromo /forceremoval

Windows.NET Beta 3 Active Directory New Features

Application Note: Cisco Integration with Onsight Connect

About the Authors Fundamentals p. 1 Introduction to LDAP and Active Directory p. 3 A Brief History of Directory Services p. 3 Definition of LDAP p.

Understand Names Resolution

OVERVIEW OF TYPICAL WINDOWS SERVER ROLES

MSRPC NULL sessions. Exploitation and protection. Jean-Baptiste Marchand

Windows8 Internals, Sixth Edition, Part 1

Tips and Tricks. Active Directory Troubleshooting. Don Jones

Transport server data paths

Enterprise Knowledge Platform 5.6

KB Windows 2000 DNS Event Messages 1 Through 1614

User-ID Best Practices

SerNet. Samba Status Update. Linuxkongress Hamburg October 10, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Creating the Conceptual Design by Gathering and Analyzing Business and Technical Requirements

Use Domain Name System and IP Version 6

Basic Configuration. Key Operator Tools older products. Program/Change LDAP Server (page 3 of keyop tools) Use LDAP Server must be ON to work

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

How To Set Up An Openfire With Libap On A Cdd (Dns) On A Pc Or Mac Or Ipad (Dnt) On An Ipad Or Ipa (Dn) On Your Pc Or Ipo (D

ChangeAuditor 5.8 For Active Directory

Introduction to Computer Security Benoit Donnet Academic Year

GL-275: Red Hat Linux Network Services. Course Outline. Course Length: 5 days

Network System Management. Creating an Active Directory Domain

Using DC Agent for Transparent User Identification

Simple Scan to Setup Guide

Using DNS SRV to Provide High Availability Scenarios

Introduction to Network Security. Topics

For more information or call

Mobile Devices: Server and Management Lesson 06 Device Management

Outline. Definition. Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP. Names, Identifiers and Addresses

Click Studios. Passwordstate. Installation Instructions

Presented by Greg Lindsay Technical Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group April 7, 2010

Enabling single sign-on for Cognos 8/10 with Active Directory

Heterogeneous Environments. Paul Long/Microsoft

SolarWinds Log & Event Manager

LISTSERV LDAP Documentation

Using Logon Agent for Transparent User Identification

Planning and Maintaining a Microsoft Windows Server Network Infrastructure

Windows network services for Samba folks

Click Studios. Passwordstate. Installation Instructions

NFS High Availability in Windows Roopesh Battepati Microsoft Corporation

SSSD DNS Improvements in AD Environment

SerNet. Samba Status Update. Munich 13. March Volker Lendecke SerNet Samba Team. Network Service in a Service Network

LearnKey's Windows Server 2003 Active Directory Infrastructure with Dale Brice-Nash

Internet infrastructure. Prof. dr. ir. André Mariën

Active Directory Restructuring Recommendations

How to Configure Captive Portal

SonicOS Enhanced 3.2 LDAP Integration with Microsoft Active Directory and Novell edirectory Support

This presentation explains how to integrate Microsoft Active Directory to enable LDAP authentication in the IBM InfoSphere Master Data Management

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

SMB a protocol example

ENTERPRISE LINUX NETWORKING SERVICES

Roles for Servers in the SCW Database

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

MS 20413A: Designing and Implementing a Server Infrastructure

Guideline for setting up a functional VPN

"Charting the Course... Enterprise Linux Networking Services Course Summary

How To - Implement Single Sign On Authentication with Active Directory

Stateful Inspection Technology

GL275 - ENTERPRISE LINUX NETWORKING SERVICES

Configuring Sponsor Authentication

High Performance Cluster Support for NLB on Window

ChangeAuditor 5.5. For Active Directory Event Reference Guide

Cisco TelePresence Authenticating Cisco VCS Accounts Using LDAP

Work No. 1 Samba. What is Samba?

R07. IV B.Tech. II Semester Regular Examinations, April, NETWORK MANAGEMENT SYSTEMS (Information Technology)

Windows 2000 Active Directory Configuration Guide

ACTIVE DIRECTORY OVERVIEW

Transcription:

Active Directory Domain Controller Location Service Anthony Liguori aliguor@us.ibm.com IBM Linux Technology Center

Overview 2

Overview History Acronyms Galore! The 80 node network MS-CLDAP and Domain Location LDAP Explained The magic structure Future Fooling clients Load Balancing Implementing a MS-CLDAP daemon 3

History The 80 Node Network Systems Network Architecture (SNA) NetBIOS Naming limitations NetBIOS Name Service SNA vs. OSI NetBIOS Naming vs. DNS Mailslots 4

NetBIOS Name Server WINS Problems Configuration NetBIOS over different transports TCP/IP DECnet NetWare SNA We just couldn t hold on to it forever 5

DNS Conceived in 1981 by Dr. David Mills "My interests [in creating Internet Name Domains] were more focused on the mechanics of doing this and on mail forwarding principles for the Internet," Mills recently said. "Not the least of my concerns were the mechanisms for handing off mail between forwarders and handling errors as they might develop. [1] Hierarchical namespace Scales much nicer than NetBIOS naming In some ways though less flexible 6

Connectionless LDAP LDAP Lightweight Directory Access Protocol Excels at frequent reads Not so hot with frequent writes The mysterious traffic on UDP 389 RFC-1798 LDAPv2 Now historical via RFC-3377 (March 2003) In particular, it is aimed at avoiding the elapsed time that is associated with connection-oriented communication and it facilitates use of the Directory in a manner analagous to the DNS. [2] 7

MS-CLDAP 8

MS-CLDAP Diagram DNS _ldap._tcp.dc._msdcs. CLIENT SAMLOGON Mail Slot MS-CLDAP Domain Controller I Domain Controller II Domain Controller III 9

Protocol Protocol is LDAPv3 over TCP It is not a directory query; more akin to an RPC call (or more appropriately an ADSI call) The attribute requested represents the name of the function The filter represents the arguments being passed Function overloading is supported (it is possible to have the same function take different arguments) 10

MS-CLDAP Explained One of the most common types of traffic in an AD environment Used to locate domain controller or to find information about a particular domain All queries are anonymous Strongly connected to particular DNS entries SRV _ldap._tcp.dc._msdcs.domain Notice that the SRV record is for tcp not udp 11

Win API DsGetDcName() DWORD DsGetDcName( ); LPCTSTR ComputerName, LPCTSTR DomainName, GUID* DomainGuid, LPCTSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFO* DomainControllerInfo 12

What goes over the wire Query DN: (null) Filter: (&(DnsDomain=IBM.COM)(Host=HOST1)(NtVer=\00\00\00\06)) Attr: Netlogon Response Attr: Netlogon Value: { uint32 uint32 GUID string uint32 uint16 uint16 }; type; flags; domain_guid; forest, unknown0, domain, hostname, nb_domain, unknown1, nb_hostname, unknown2, user_name, unknown3, site_name, unknown4, client_site_name; version; lm_token; nt_token; 13

Caching Understanding caching is very important in exploiting the benefits of MS-CLDAP Information is cached until either: System is rebooted Something happens that Windows doesn t like A weaker protocol is used A non-optimal DC is found Caching is similar to DNS caching 14

Where things get messy MS-CLDAP ASN.1 is a little off Length is encoded wrong Response contains strings compressed with DNS compression Example: host.domain.com, host1.domain.com \04host\06domain\03com\00\05host1\c005 15

Future 16

Extending Domain Controller Location Service Using DCLS as a general purpose RPC mechanism Short messages that are rather simple to parse Using or conditions to send extra information Adding additional queries for non-ms specific domain controller information Support for mailslot fallback? 17

Example Extension of DCLs: Avoiding Endpoint Mappers An Active Directory Domain Join MS-CLDAP SMB session to CreateUser2 LDAP w/gss-spnego to modify SPN The RPCs to modify a SPN requires an End Point Mapper; Samba doesn t have an End Point Mapper Tweaking the Directory Service capability prevents the client from using these RPCs Since caching is not-persistent after reboot, DS can be re-enabled for logon 18

Load Balancing Early Samba DC overloading MS-CLDAP server does not have to be on the DC Can be used to redirect Windows clients to different Windows servers based on User/IP More intelligent load balancing than MS offers 19

Implementing MS-CLDAP IBM Linux Technology Center developed a prototype MS-CLDAP daemon Not a good idea to add MS-CLDAP support to existing LDAP server Encourages use of non-standard transport May harm future connectionless LDAP standardization adoption LTC s implementation is quite small: < 1k LOC Single place to store network topology information. 20

References 21

References [1]http://www.whmag.com/content/0601/dns/ [2]ftp://ftp.rfc-editor.org/in-notes/rfc3377.txt http://ubiqx.org/cifs/netbios.html ftp://ftp.rfc-editor.org/in-notes/rfc1798.txt ftp://ftp.rfc-editor.org/in-notes/rfc1035.txt http://www.samba.org/ http://www.microsoft.com/windows2000/tech info/reskit/samplechapters/dsbi/dsbi_add_v ost.asp 22

Questions? 23