• No results found

Windows.NET Beta 3 Active Directory New Features

N/A
N/A
Protected

Academic year: 2021

Share "Windows.NET Beta 3 Active Directory New Features"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)

Windows.NET

Beta 3

Active Directory New Features

Windows.NET

Windows.NET

Beta 3Beta 3

Active

Active

Directory New Features

Directory New Features

Wolfgang Werner Compaq Decus Bonn 2002 Wolfgang Werner Compaq Decus Bonn 2002

Agenda

Agenda

Agenda

ƒInstall Replica from Media ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(2)

Install Replica from Media

Install Replica from

Install Replica from

Media

Media

ƒProblem: Installing a Domain Controller at a site with slow network connection

ƒWindows 2000 replicates a complete copy of the Active Directory database and possibly the

Global Catalog over the network 1

Install Replica from Media

Install Replica from

Install Replica from

Media

Media

ƒWindows.NET Server allows loading the Active Directory database from a backup of an existing Domain Controller or Global Catalog server

– Backup the system state of an existing DC

(3)

Install Replica from Media

Install Replica from

Install Replica from

Media

Media

ƒRun DCPROMO in Advanced Mode

– DCPROMO /ADV

Install Replica from Media

Install Replica from

Install Replica from

Media

Media

ƒNetwork connectivity still required for up-to-date information

– Changes in the AD databases and SYSVOL folder updates are replicated over the network ƒRestrictions

– The backup cannot be older than the tombstone lifetime (default 60 days)

(4)

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

ƒInetOrgPerson

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒWindows 2000 a domain controller (DC) can't be renamed

ƒIn Windows.NET DCs can be renamed without being demoted first

(5)

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒNo Explorer like features

ƒProcedure:

– Add a new name

– Wait for the new name to propagate through the network

– Remove the old name

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒAdd new name

– NETDOM COMPUTERNAME oldname /ADD:newname

ƒWait for replication of

– DNS host (A) records

(6)

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒUpdate computer account in AD

NETDOM COMPUTERNAME oldname

/MAKEPRIMARY:newname

ƒReboot

ƒWait for the replication of the DNS Locator resource records

– Defined in system32\config\netlogon.dns

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒRemove old name

– NETDOM COMPUTEENAME newname /REMOVE:oldname

– Removes old DNS host (A) records

– Removes the old name in Active Directory ƒChange "Computer Name" in System Control

(7)

Domain Controller Rename

Domain Controller

Domain Controller

Rename

Rename

ƒMoving DCs between domains was planned but will not be implemented

ƒCertification Authorities can not be renamed

ƒDNS and Active Directory replication latency may cause a temporary inavailability

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(8)

Renaming Domains

R

R

enaming

enaming

D

D

omains

omains

ƒChange the DNS and NetBIOS names

– of the forest-root domain

– any tree-root domains

– any parent and child domains

ƒRestructure a domain's position within a forest

Renaming Domains

R

R

enaming

enaming

D

D

omains

omains

ƒ No Pruning and Grafting capabilities

ƒ Windows.Net Help and Support:

"A domain rename will affect every domain controller in your forest and is a thorough multi-step process that requires a detailed understanding of the operation"

ƒ Resources from

http://www.microsoft.com/windows2000/downloads/tools/ domainrename/default.asp

– Understanding How Domain Rename Works (28 pages) – Step-by-Step Guide to Implementing Domain Rename (69

pages)

(9)

Renaming Domains

R

R

enaming

enaming

D

D

omains

omains

ƒ Identity of the forest root domain cannot be changed

ƒ If Exchange 2000 is deployed in the same forest domain rename is blocked

ƒ Each domain controller in the forest will be out-of-service briefly

ƒ All Domain Controllers in the forest that where

unreachable during the operation or finished in the Error state must be demoted

ƒ Any external trust relationships must be re-established

ƒ ...

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(10)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒIn Windows 2000 a Global Catalog Server is

required for logging on to a domain

– To determine the users membership in universal groups

– If no local GC is available a server in the remote site will be used

ƒRecommendation: at least one GC per site

– Adds replication traffic

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒIf no Global Catalog is available:

– If the user is an administrator logon succeeds

– If only a Domain Controller is available the user fails to log on to the workstation

(11)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒWorkaround in Windows 2000:

HKLM\System\CCS\Control\Lsa\ IgnoreGCFailures 1

ƒQ241789 How to Disable Requirement that a Global Catalog Server Be Available to Validate User Logons

ƒPotential security vulnerability if universal groups are also used

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒWindows.NET adds the ability to cache the

Universal Memberships of the users

ƒEnabling this caching process is done on a Site-by-Site basis

(12)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒThe DC will use the cached information even if a

GC is available

ƒCache is updated in eight-hour intervals (default)

– This caching mechanism may allow stale data ƒCached data expires from lack of use

– No logon in 180 days (default)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒTo adjust the default refresh interval

HKLM\System\CCS\Services\NTDS\Parameters\ Cached Membership Refresh Interval

DWORD in minutes

ƒTo adjust the default expiration time period HKLM\System\CCS\Services\NTDS\Parameters\ Cached Membership Site Stickiness

(13)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒmsDS-Cached-Membership single valued

attribute added to the user object

– Stores the SIDs of the Universal Groups to which the user belongs

– To populate the attribute the DC must contact a GC when a user first logs on

– Not replicated between Domain Controllers

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒNo GUI to control an update of the cached

msDS-Cached-Membership attributes

ƒUse ADSI

(14)

Universal Group Membership Caching

Universal

Universal

G

G

roup

roup

M

M

embership

embership

C

C

aching

aching

ƒTo diagnose Group membership caching

HKLM\SYSTEM\CCS\Services\NTDS\ Diagnostics\20 Group Caching

5 (full diagnostic)

ƒInformation is written to the Directory Service Event Log

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(15)

Linked Value Replication

Linked Value Replication

Linked Value Replication

ƒNovell's Claims against Active Directory (December 1999):

DID YOU KNOW that Microsoft recommends against distributed group management? MS recommends that all group membership should be done from a single

machine.

WHY? If two administrators manage an AD group (add/delete a user to/from the group) before the group COMPLETELY synchronizes to ALL AD domain controllers, changes will be lost.

Linked Value Replication

Linked Value Replication

Linked Value Replication

ƒIn Windows 2000 group membership is stored as a single multi-valued attribute

ƒIf the group membership is modified the complete membership attribute is replicated

– Even adding or removing a single member ƒIf membership is modified on two different DCs

simultaneously changes might be lost

ƒWindows 2000 workaround: use only one

(16)

Linked Value Replication

Linked Value Replication

Linked Value Replication

ƒWindows.NET removes this issue

– A linked-value is a pointer to other objects in the directory

– A multi-value linked-value attribute is a list of pointers to other objects in the directory

– Replication metadata is is stored in every single value of that list

– Now this single value can be replicated

Linked Value Replication

Linked Value Replication

Linked Value Replication

ƒNovell's Claims against Active Directory (December 1999):

DID YOU KNOW that Microsoft recommends no more than 5000 users in an Active Directory group?

(17)

Linked Value Replication

Linked Value Replication

Linked Value Replication

ƒ5000 members is not a hard limit

ƒThe attribute becomes too large to be replicated in a single transaction

ƒWindows 2000 workaround: using smaller groups to compose larger groups

ƒWindows .NET removes the issue by only replicating updates to the group membership

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(18)

Forest Trusts

Forest

Forest

T

T

rust

rust

s

s

ƒWindows 2000 Kerberos authentication is only forest wide

ƒTo create trusts between forests NTLM trusts between every domain in each forest must be created

Forest Trusts

Forest

Forest

T

T

rust

rust

s

s

ƒIn Windows.NET Transitive Kerberos trust between two forests' root domains can be created

– Authorization and authentication occur transparently between the linked forests ƒForest trusts are targeted for companies

– Undergoing mergers or acquisitions

(19)

Forest Trusts

Forest

Forest

T

T

rust

rust

s

s

ƒ Two-way

– All users in both forests are able to access all resources anywhere in either forest

ƒ One-way: incoming

– Only users in the first forest are able to access resources anywhere in the second forest

– Users in the second forest will not be able to access any resources in the first forest

ƒ One-way: outgoing

– Only users in the second forest are able to access resources anywhere in the first forest

– Users in the first forest will not be able to access any resources in the second forest.

Forest Trusts

Forest

Forest

T

T

rust

rust

s

s

(20)

Forest Trusts

Forest

Forest

T

T

rust

rust

s

s

ƒForest trusts can only be created between two forests

ƒRelationship is not transitive between forests

ƒExchange Server still see two different organizations

ƒNo way to unify forests into one forest

– Still two Global Catalogs

– Still two Schemas

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions ƒDefunct Schema Objects

(21)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒ A naming context (also called a directory partition)

– Stores application-specific data in the Active Directory

– Used for redundancy, availability, or fault tolerance

ƒ Windows 2000: only three choices of replication scope

– Not replicated

– Domain-wide (domain naming context)

– Forest-wide (configuration naming context)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒ In Windows 2000 data may go to places where it is not used

– All application data replicated to every DC in the domain

– Every object in Active Directory is put into the GC

ƒ Inappropriate to store volatile data in DS

– Gets replicated widely

– Data may not be up to date on various domain controllers

(22)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒ In Windows.NET additional naming contexts can be created

– Used for Active Directory enabled application to store and replicate data

– Usually created by the applications that will use them – Contain any hierarchy of objects, except security principals – Replicated only to specific domain controllers in a forest – Objects not replicated to GC

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒNaming

– Part of the forest namespace

– Like domain directory partition

– Same DNS and LDAP naming conventions ƒ DNS: adp1.microsoft.com

(23)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒThree possible placements within the forest namespace:

– A child of a domain directory partition.

– A child of an application directory partition.

– A new tree in the forest.

– Domain directory partitions cannot be children of an application directory partition

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒNtdsutil can be used to perform various operations

– For testing and troubleshooting purposes only

– Applications will provide the utilities

(24)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒThe Knowledge Consistency Checker (KCC) automatically generates and maintains the replication topology for all application directory partitions

ƒReplicas follow the same intersite replication schedule as the domain directory partition.

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒ Example: Active Directory integrated DNS

ƒ Ability to replicate zones

– Among a given set of DNS servers of different domains ƒ dnscmd.exe (/CreateDirectoryPartition

/EnlistDirectoryPartition /UnEnlistDirectoryPartition) – All DNS servers in the forest

ƒ Default DNS application partition DomainDnsZones ƒ dnsmgmt.msc or dnscmd.exe

– All DNS servers in the forest

(25)

Application Directory Partitions

Application Directory Partitions

Application Directory Partitions

ƒ Example: List partitions with ntdsutil.exe

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

(26)

Defunct Schema Objects

Defunct

Defunct

Schema

Schema

Objects

Objects

ƒThe directory schema describes the kinds of objects that can reside in a directory

– Allowable parent object types for an object

– Mandatory and optional attributes for an object

– Syntax for an attribute

ƒSchema objects: classes and attributes 1

Defunct Schema Objects

Defunct

Defunct

Schema

Schema

Objects

Objects

ƒSchema additions are permanent 1

– No way back

– In both Windows 2000 and Windows.NET ƒIn Windows.NET schema objects

– Can be disabled (marked "defunct")

– Can be redefined

(27)

Defunct Schema Objects

Defunct

Defunct

Schema

Schema

Objects

Objects

ƒ Redefining Schema Objects

– The object identifier and the ldapDisplayName can be reused

ƒ Example:

– Active Directory does not permit you to change the syntax of an attribute after it has been defined in the schema – Deactivate the attribute and create a new attribute that

reuses the same object identifier and LDAP display name as the old attribute, but with the desired attribute syntax

Defunct Schema Objects

Defunct

Defunct

Schema

Schema

Objects

Objects

ƒTo deactivated Schema objects set the isDefunct property to "True"

– Programmatically With the Active Directory Schema snap-in

(28)

Defunct Schema Objects

Defunct

Defunct

Schema

Schema

Objects

Objects

ƒTo reactivated Schema objects set the isDefunct property to "False"

ƒAny instances become valid, normal objects again

ƒThere must be no collisions with active Schema objects (ldapDisplayName, schemaIdGuid,...)

Agenda

Agenda

Agenda

ƒInstall Replica from Media

ƒDomain Controller Rename

ƒDomain Rename

ƒUniversal Group Membership Caching

ƒLinked Value Replication

ƒForest Trusts

ƒApplication Directory Partitions

ƒDefunct Schema Objects

(29)

inetOrgPerson

inetOrgPerson

inetOrgPerson

ƒNovell's Claims against Active Directory (December 1999):

DID YOU KNOW that Windows2000 does not conform to LDAP standards? This means that many off the shelf LDAP applications (Netscape, Oblix, Netegrity, etc) cannot run against Active Directory? It seems that Windows2000 doesn’t derive users from InetOrgPerson, which is the LDAP standard. Therefore, most LDAP applications won’t recognize Active Directory users.

inetOrgPerson

inetOrgPerson

inetOrgPerson

ƒWindows 2000 Active Directory

– The user account object is implement as the 'user' class1

ƒOther LDAP implementations

– The user account object is implement as the inetOrgPerson class (RFC 2798) 2

– Do not recognize AD users

ƒIn Windows.NET Active Directory:

(30)

inetOrgPerson

inetOrgPerson

inetOrgPerson

ƒ In Windows.NET inheritance chain top(abstract) -> person(abstract) -> organizationalPerson(abstract) -> user(structural) -> inetOrgPerson(structural) ƒ RFC 2798 inheritance chain: top(abstract) -> person(structural) -> organizationalPerson(structural) -> inetOrgPerson(structural)

inetOrgPerson

inetOrgPerson

inetOrgPerson

ƒExchange 2000 schema extension

– secretary: 1.2.840.113556.1.2.444

– labeledURI: 1.2.840.113556.1.2.593 ƒinetOrgPerson RFC 2798

– secretary: 0.9.2342.19200300.100.1.21

– labeledURI: 1.3.6.1.4.1.250.1.57 ƒSolution: Change lDAPDisplayName

– secretary -> msExchangeAssistantName

(31)

inetOrgPerson

inetOrgPerson

inetOrgPerson

ƒinetOrgPerson and user objects are different entities

References

Related documents