Pages

Wednesday, April 24, 2013

ADDS AND ROLES

 In this article I will explain about the ADDS and It's roles why they are required and what are the other
roles and why they are required .

Active Directory Domain Service: Active Directory Domain services  provides functionality of an  Identity and Access(IDA) solution for enterprises Network. or you can say it's single point of Management from where you can control all objects such as user, groups , computers, and other objects in an enterprises network as well as in small business IT company. Using Active you not only maintain user, groups, computers but Authorizations, Auditing and permission also on shared network Resources.  In Active
Directory when a user or a computer logs on to the domain. Kerberos protocol is used to Authenticate and checks identity and issues a package of information called "Ticket Granting Ticket" before a user performs a task such as connecting to the server to request a document,  Kerberos is sent to the domain controller along with TGT that identifies the Authenticated user then  issues  another package of  information  called "Service Ticket"this ticket identifies and Authenticated to the server .After that user will present that Ticket  to the server then server will accept that Ticket as a proof and user will be Authenticated . once these transaction completed user will be able to access resources in entire domain, These transaction  results in single network log on.

Active Directory lightweight Directory Services(Application): Formally known as " Active Directory
Application Mode" provides support for directory enabled Application I would ADLDS is really a subset
of ADDS because both based on same core code. ADLDS let's you locate organizational , individual and
other resources such a file and device on internet or in intranet. In current scenario there are lot aaplication
use ADLDS for example Microsoft Office. People get confused when they read Directory Enabled application , Directory Enable application typically leverage the storage and search capability of directory
service. one more good example of Directory Enabled application would be one that provides a rich set of
user specific information querying the directory service for the pertinent information . It can give you the information about users, group, all users on a project.

Active Directory Certificate Services: Active Directory Certificate Services can be used for multiple pur
poses such as set up a certificate authority for digital certificate as a part of Public Key Infra(PKI) that binds
identity of a person or a device. It can also be used to authenticate users ,computer, devices, web based authentication . you can use it for security purpose as well , including  wireless network, Virtual Private Network(VPN) , Internet Protocol  Security (IP Sec) and for Encryption file System (EFS) available in
windows vista and in windows 7 and for digital Signature too. now the question is where we can use this certificate services for instance you are writing a code for your software you can use it there , you also can
sign your hardware driver no one will be able to make changes to that driver. you might have seen HTTPS or SSL they use certificate service for security .

Active Directory Rights Management Service: Active Directory Right Management Service is an information Protection Service. By using this service you define which user have access to which document 
or folder and what permission he or she has been given by Server Administrator . You might have seen  in a organization user have access to resources according to their designation. Some of  them have no access some of them can read only some of them can have access of Print the document . some of them can modify the document by doing so you can have integrity of the data you generate . so this service is all about of allow or disallow users online or offline access to resources for inside or outside users. 

Active Directory Federation  Services: Each organization has its own  identities . About this service I would say it's partnership , An organization can extend it's IDA across multiple Platforms . Organizations
project and accept identities from other organization as well. Users are Authenticated  in one network will
be able  to access data in other network this process also know as a single sign on.  Federation is established
between two organizations by establishing trust between two security realms. 



Saturday, April 20, 2013

Additional information about ADDS

2K8_64R2_ADDS(18).jpg



In my previous post, I explained about the ADDS Hardware and software requirement and how to install it.
in this blog I will explain couple of things about installation again so that we can understand why do we
use password during the ADDS installation and what is NTDS and SYSVOL folders , what do we have
in NTDS and in SYSVOL. so let's begin with the password we use during the ADDS installation , we
choose strong password for DSRM(Directory Service Restore Mode ) if in case Active Directory
fails and needs to be restored you will use this password to restore the active directory using this DSRM. It's special boot mode . As you might have seen in windows clients for example in windows XP , Windows vista
and in Windows 7 you restart the computer and keep taping F8 key unless you see a different black screen
with advance boot option . you do the same thing in server2008 you  restart and keep taping F8 key on the keyboard then you will see different black screen there are many options available we will chose directory
service restore mode as you select that option it will ask you for a password now you will have to enter the
same password you have chosen when you install ADDS . I have updated the screen shot for DSRM how
it looks like. you need to follow the steps to complete this task. My Target was just to let you know what
is the reason of using a password. I will defiantly explained about DSRM in my other blogs. 



Now we come to NTDS and SYSVOL folder so let's start with the NTDS folder what is it? what do we have in it.

Ntds.dit: (New Technology Directory System.Directory Information Tree)This is the main AD database. NTDS stands for NT Directory Services. The DIT stands for Directory Information Tree. The Ntds.dit file on a particular domain controller contains all naming contexts hosted by that domain controller, including the Configuration and Schema naming contexts. A Global Catalog server stores the partial naming context replicas in the Ntds.dit right along with the full Domain naming context for its domain.during the installation of
AD it creates two file res1.log and res2.log. The size of each file is 10 MB. These files ensure that changes
can be written on the disk. should the system run out of disk space. Apart from these we have edb.log when changes is made to AD database they are written on edb.log once written process is complete then they are
written to database.

SYSVOL Folder: SYSVOL folder is a shared folder in Active Directory that contains all the active directory security level data. such as group policy ,log on and log off script. Its stored on local hard disk. or you can say the term sysvol refers to set of file and folder resides on the local hard disk drive and replicated
to other domain controller through the FRS(file replication service) which is DRF (distributed file service)now

2K8_64R2_ADDS(17).jpg

Friday, April 19, 2013

AD installation on server 2008


In my first post I will explain about the AD installation on Server 2008. When you  prepare your computer/server for AD installation there are lot of things you need check or confirm first before you
decide to install ADDS , If you make a mistake you may face a lot of difficulties using AD or it may lose
it's functionality.

So Ensure that your computer hardware meet the Hardware and software Requirement

Hardware Requirements: 1> 1Ghz Processor (x86 Processor) 1.4Ghz(x64 Processor ) 2Ghz Recommended. For An Intel Itanuim 2 Processor are required for installation of server 2008.
2: 512 RAM (Server only) If you want to install ADDS and other Roles in server 1GB RAM is required
  however Microsoft Recommend 2GB RAM. 512 up to 1 GB is enough if you are just practicing on a
 virtual Machine or  Microsoft Virtual PC , In a production Environment hardware requirement are diffrent
 so you need to decide accordingly

Recommended: 2 GB RAM or greater
• Maximum (32-bit systems): 4 GB (Standard) or 64 GB (Enterprise and Datacenter)
• Maximum (64-bit systems): 32 GB (Standard) or 1 TB (Enterprise and Datacenter) or 2 TB (Itanium-Based Systems)

After confirming Processor requirement  now its turn to check hard drive requirement 10 GB space is minimum space for installation of server 2008 however Microsoft Recommended 40 GB or Grater . one
thing we should always remember if we have more than 16 GB RAM installed on the Machine more disk
space is required the reason behind is more space is required for paging, Hibernation , Dump files. 
now we are done with Hard drive as well still we are left with DVD-ROM so these are the requirement
for DVD-ROM

• Super VGA (800 x 600) or higher-resolution monitor
• Keyboard
• Microsoft Mouse or compatible pointing device

If we have all above hardware configuration we are done with the hardware now we need to check other
configuration as well. Such as a static IP address, Domain Name(if it is first domain in the forest we must have a fully qualified domain Name ) you may choose any name for example contoso.com, contoso.net , contoso.local, contoso.info these are the root level domain . Most of the people think why we should provide a static IP address before we install ADDS in server 2008. It is not necessary it is recommended
reason behind choosing a static IP address is DNS. As I initially mentioned if it is the first domain in the forest DNS needs a static address for the name resolution. we can rename the computer according to our wish now we need to install ADDS. 

Now that we have renamed the computer to something that reflects the new role on windows server 2008, we will proceed with the installation of active directory. I always recommend using the server manager interface when installing active directory and other network services. to install active directory domain services, go to Start and click on Server Manager.

The server manager window will come up:

Serbe

The Select Server Role window will come up:

Select Server Roles

Make sure the Active Directory Domain Services option is checked.
click on Next after checking the option.

Active directory  domain services (AD DS) is something new on Windows Server 2008. On the following window you can read a small introduction about it. click next when you finish reading.

Active Directory Domain Services

click Next on the above window.
on the following window, you will be asked to confirm the installation of domain services:

confirm installation selections

click on Install to start the installation.

Installation progress

You should receive the Installation Results window after the installation completes.

Installation results

Note: this only installs Active Directory domain services, it does not make Windows server 2008 a domain controller. for that we will need to run the DCPROMO wizard.

Installing Active Directory Domain Controller

after Active Directory Domain Services have been installed, you should return to the Server Role Interface. click on Active Directory Domain Services:

Active Directory Domain Services

on the window that pops up, you will see a summary message that reads, “This server is not yet running as a domain controller: Run Active Directory Domain Services Installation Wizard ( dcpromo.exe)

Click on the blue link.

Run Active directory services dcpromo

by clicking on the blue link, the dcpromo.exe wizard should come up:

dcpromo wizard

make sure “Use advanced mode installation” option is checked and click Next.
read the provided information on the next screen. that explains some new features on windows server 2008 domain services that might affect older Windows operating systems and non Microsoft SMB clients on an existing domain.

Operating System compatibility

Click Next after you read the above warning.
on the following screen, choose your deployment configuration.

choose a deployment configuration

because this is my first domain controller, I will choose the “Create a new domain in a new forest” option.

create a new domain in a new forest

click on Next.
Choose the name for your forest root domain on the following window.

name the forest root domain

click Next after choosing your fully qualified domain name.
the wizard will check if that forest name is already in used:

image

after a few seconds, the wizard will ask you to enter the NetBIOS name:

image

the default NetBIOS name should be fine. click on the Next tab.
on the following screen, choose the forest functional level:

Forest functional level

I will choose Windows Server 2003 as my functional level. Choosing windows server 2008 functional level does not provide any new features over the Windows 2003 forest functional level. However, it ensures that any new domains created in this forest will automatically operate at the Windows Server 2008 domain functional level, which does provide unique features. click on Next.

Checking DNS configuration

Clicking next, the dcpromo wizard will check for DNS configurations.
If DNS is not installed on your system, choose the DNS Server option on the following screen.

Installing DNS Server

here you get the info that tells you:

The first domain controller in a forest must be a global catalog server and cannot be an RODC.
Click on Next.

if your server does have static IP address assigned on the server, you might get the following warning:

image

as you can see, having dynamic assigned IP address is not recommended. use static IP addresses for servers whenever is possible. choose your option, and click Next.

another warning:

image

if you get this warning, click on OK.
choose the location of the AD database on the following screen:

Location for database

Leave the default settings, and click on Next.
Enter your the password for your Restore Mode Administrator on the following screen.

Directory Services Restore mode

click Next after entering the password.
on the following screen you should get the Summary page.

image

click on Next.
damn it!! I got an error saying I need to install DNS manually.

image

An error occurred while the wizard was installing DNS, you will have to configure DNS for this domain manually.

this is the first time I let the dcpromo.exe to configure DNS for me, and I kind of was expecting for this error. that will be the subject of the next article.
click OK on the error for now.
active directory installation should start installing. but it won’t work perfect until DNS is install.

active directory installing

after awhile, you should get the completion window.

active directory finish

click on Finish.
you will need to reboot the computer.

restart computer

go ahead and restart the computer, and if you need to install DNS do so after the reboot.