Wednesday, May 4, 2011

SCHEMA

Windows 2008 and Windows Server 2003 Active Directory uses a database set of rules called "Schema".
The Schema is defines as the formal definition of all object classes, and the attributes that make up those
object classes, that can be stored in the directory. As mentioned earlier, the Active Directory database
includes a default Schema, which defines many object classes, such as users, groups, computers, domains,
organizational units, and so on. These objects are also known as "Classes". The Active Directory Schema
can be dynamically extensible, meaning that you can modify the schema by defining new object types and
their attributes and by defining new attributes for existing objects. You can do this either with the Schema
Manager snap-in tool included with Windows 2008/2003 Server.

USING NTDSUTIL (FSMO ROLES) TRANSFER

C:\WINDOWS>ntdsutil
ntdsutil:
Type roles, and then press ENTER.

ntdsutil: roles

fsmo maintenance:

Note: To see a list of available commands at any of the prompts in the Ntdsutil tool, type ?, and then press ENTER. Type connections,and then press ENTER.

fsmo maintenance: connections

server connections:

Type connect to server <servername>, where <servername> is the name of the server you want
to use, and then press ENTER.

server connections: connect to server server100

Binding to server100 ...

Connected to server100 using credentials of locally logged on user.

server connections:

At the server connections: prompt, type q, and then press ENTER again.

server connections: q

fsmo maintenance:

At the FSMO maintenance: prompt, type Select operation target, and then press ENTER again.

fsmo maintenance: Select operation target

select operation target:

At the select operation target: prompt, type List roles for connected server, and then press ENTER again.

select operation target: List roles for connected server

Server "server100" knows about 5 roles

Schema - CN=NTDS Settings,CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=C
onfiguration,DC=dpetri,DC=net
Domain - CN=NTDS Settings,CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=C
onfiguration,DC=dpetri,DC=net
PDC - CN=NTDS Settings,CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Conf
iguration,DC=dpetri,DC=net
RID - CN=NTDS Settings,CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Conf
iguration,DC=dpetri,DC=net
Infrastructure - CN=NTDS Settings,CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Si
tes,CN=Configuration,DC=dpetri,DC=net

select operation target:

Type q 3 times to exit the Ntdsutil prompt