18 Aralık 2007 Salı

The Princeton Review Grammar Smart CD: An Audio Guide to Perfect Usage



Linkler:Herhangi biri;
http://rapidshare.com/files/77446612/Princ-GrSm_au.rar
http://rapidshare.com/files/77195338/Princ-GrSm_au.rar
http://depositfiles.com/files/2743283
http://rapidshare.com/files/77194011/Princ-GrSm_au.rar
http://rapidshare.com/files/77194011/Princ-GrSm_au.rar
http://rapidshare.com/files/77194011/Princ-GrSm_au.rar

Windows Desktop Deployment Resource Kit



http://rapidshare.com/files/77434797/DepReskit.pdf

30 Kasım 2007 Cuma

FIREWALL CLIENT YAZILIMI YÜKLEME METOTLARI

FIREWALL CLIENT YAZILIMI YÜKLEME METOTLARI

FWC yazılımı 3 farklı şekilde sistemlerimize yükleyebiliriz.

1- Manuel yükleme: ISA kurulumu sırasında Firewall Client Installation Share seçeneği kullanılmışsa ISA server otomatik olarak FWC kurulum dosyalarını \\ISA_Server\mspclnt klasörü içerisine oluşturur ve paylaşıma açar. Burada bulunan MS_FPC.msi dosyasını kullanarak istemcilerimize kurulum yapabiliriz. Ayrıca istenirse bir answer file ile unattended kurulum gerçekleştirebiliriz. Komut dizimi ise;

Path\Setup.exe /v" [SERVER_NAME_OR_IP=NameOfTheIsaServerComputer] [ENABLE_AUTO_DETECT={1 or 0}] [REFRESH_WEB_PROXY={1 or 0}] /qn"

Şeklindedir. İncelemek gerekirse;

PATH: Setup.exe dosyasının bulunduğu paylaşılan klasörün yolunu gösterir. Varsayılanda \\ISA_Server\mspclnt klasörüdür.

NameOfTheIsaServerComputer: FWC yazılımının hangi ISA server’ı kullanacağını belirtir.

ENABLE_AUTO_DETECT=1 FWC yazılımının ISA server’ı otomatik olarak algılamasını sağlar.

REFRESH_WEB_PROXY=1 FWC yazılımının istemcide Web Proxy ayarlarını güncellemesini sağlar.

2- System Management Server 2003 kullanarak FWC yüklemek: SMS Server 2003 kullanılarak istenirse Windows Installer (.msi) ya da Package Definition Format (.pdf , .sms) dosyaları kolaylıkla dağıtılabilir. Genel olarak kısaca bahsetmek gerekirse;

a) ISA FWC yazılımının yükleneceği bilgisayarlardan oluşan bir grup oluşturun. Bu gurup SMS içerisinden yönetilebilecek bilgisayar ya da kullanıcılardan oluşan mantıksal bir yapıdır. SMS ile IP adresine göre, donanıma göre, kullanıcı adı ya da gruplara göre vb. şekillerde grup oluşturabilirsiniz.

b) ISA FWC yükleme paketini (MS_FWC.msi) import ederek bir SMS paketi yaratın. Bu SMS paketi ile FWC yazılımı üzerinde sistem ya da kullanıcı bazında istediğiniz değişiklikleri uygulayabilirsiniz.

c) SMS paketini yüklemek için uygun bir zaman aralığı belirleyin ve oluşturduğunuz gruba yüklmeyi gerçekleştirin.

3- Active Directory GPO kullanarak FWC yüklemek: FWC yüklemelerini otomatize etmek için kullanılabilecek bir diğer metot ise Active Directory üzerinde Group Policy Software seçeneğidir. Bu seçenekle ilgili olarak bir sonraki makalemde ayrıntılı olarak ve ekran görüntüleriyle bilgi vereceğim ancak yine de kısaca değinmek gerekirse;

a) FWC kurulum dosyalarını ağ üzerinde paylaştırılmış bir lokasyona kopyalayın ya da bulunduğu lokasyonu paylaşıma açın.

b) FWC yazılımını kullanıcılara mı bilgisayarlara mı atayacağınızı belirleyin. Eğer FWC yazılımını kullanıcılara atamaya karar verirseniz yazılım kullanıcı ilk oturum açtığında yüklenecek ya da isterse kullanıcı Add/Remove Programs menüsünü kullanarak kurulumu başlatabilecektir. Eğer yazılımı bilgisayarlara dağıtmak isterseniz FWC yazılımı bilgisayarın ilk yeniden başlatılmasından sonra yüklenecektir.

c) Group Policy kullanarak Software distribution Policy oluşturun. Software Disribution Policy’i paylaştırılmış klasördeki yükleme dosyalarını kullanacak şekilde yapılandırın. Ayrıca isterseniz policy’i kullanarak yükleme seçenekleri üzerinde değişiklikte yapabilirsiniz.

d) Kullanıcı oturum açtığında ya da bilgisayar yeniden başladığında FWC yazılımı otomatik olarak kurulmuş olacaktır. FWC otomatik olarak ISA server’ı tespit edecek, yapılandırma dosyasını yükleyecek ve bağlantıyı sağlayacaktır.

Her bir OU’ya farklı ISA server’lar atayamazsınız. Bunu yapabilmeniz için ISA server setup.exe dosyasını paylaştırılmış bir klasör içerisinden komut satırı kullanarak çalıştırmalısınız. Bunun için 1. Yükleme metodunda anlatılanları uygulayabilir ve hangi OU’da hangi sunucunun kullanılacağını tespit edebiliriz.

18 Kasım 2007 Pazar

Domaini Komut Satırından Yönetmek

How To Use the Directory Service Command-Line Tools to Manage Active Directory Objects in Windows Server 2003
I:How to Manage Users

Creating a New User Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsadd user userdn -samid sam_name
The following values are used in this command:
•userdn specifies the distinguished name (also known as the DN) of the user object that you want to add.
•sam_name specifies the security account manager (SAM) name used as the unique SAM account name for this user (for example, Linda).
4.To specify the user account password, type the following command, where password is the password that is to be used for the user account:
dsadd user userdn -pwd password
NOTE: To view the complete syntax for this command, and to obtain more information about entering more user account information, at a command prompt, type dsadd user /?.

Resetting a User Password
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod user user_dn -pwd new_password
This command uses the following values:
•user_dn specifies the distinguished name of the user for which the password will be reset.
•new_password specifies the password that will replace the current user password
4.If you want to require the user to change this password at the next logon process, type the following command:
dsmod user user_dn -mustchpwd {yes|no}
NOTE: If a password is not assigned, the first time the user tries to log on (by using a blank password), the following logon message is displayed:
You are required to change your password at first logon
After the user has changed the password, the logon process continues.

You must reset the services that are authenticated with a user account if the password for the service's user account is changed.

NOTE: To view the complete syntax for this command, and to obtain more information about entering more user account information, at a command prompt, type dsmod user /?.


Disabling or Enabling a User Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod user user_dn -disabled {yes|no}
This command uses the following values:
•user_dn specifies the distinguished name of the user object to be disabled or enabled.
•{yes|no}specifies whether the user account is disabled for log on (yes) or not (no).

NOTE: As a security measure, instead of deleting that user's account, you can disable user accounts to prevent a particular user from logging on. If you disable user accounts that have common group memberships, you can use disabled user accounts as account templates to simplify user account creation.

Deleting a User Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command, where user_dn specifies the distinguished name of the user object to be deleted:
dsrm user_dn
After you delete a user account, all of the permissions and memberships that are associated with that user account are permanently deleted. Because the security identifier (SID) for each account is unique, if you create a new user account that has the same name as a previously deleted user account, the new account does not automatically assume the permissions and memberships of the previously deleted account. To duplicate a deleted user account, you must manually re-create all permissions and memberships.

NOTE: To view the complete syntax for this command, and to obtain more information about entering more user account information, at a command prompt, type dsrm /?.

II:How to Manage Groups
Creating a New Group
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsadd group group_dn -samid sam_name -secgrp yes | no -scope l | g | u
This command uses the following values:
•group_dn specifies the distinguished name of the group object that you want to add.
•sam_name specifies the SAM name that is the unique SAM account name for this group (for example, operators).
•yes | no specifies whether the group you want to add is a security group (yes) or a distribution group (no).
•l | g | u specifies the scope of the group you want to add ( domain local [l], global [g], or universal [u]).

If the domain in which you are creating the group is set to the domain functional level of Windows 2000 mixed, you can select only security groups with domain local scopes or global scopes.

To view the complete syntax for this command, and to obtain more information about entering more group information, at a command prompt, type dsadd group /?.

Adding a Member to a Group
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod group group_dn -addmbr member_dn
This command uses the following values:
•group_dn specifies the distinguished name of the group object that you want to add.
•member_dn specifies the distinguished name of the object that you want to add to the group.

In addition to users and computers, a group can contain contacts and other groups.

To view the complete syntax for this command, and to obtain more information about entering more user account and group information, at a command prompt, type dsmod group /?.

Converting a Group to Another Group Type
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod group group_dn -secgrp {yes|no}
This command uses the following values:
•group_dn specifies the distinguished name of the group object for which you want to change the group type.
•{yes|no} specifies that the group type is set to security group (yes) or distribution group (no).

To convert a group, the domain functionality must be set to Windows 2000 Native or higher. You cannot convert groups when the domain functionality is set to Windows 2000 Mixed.

To view the complete syntax for this command, at a command prompt, type dsmod group /?.

Changing Group Scope
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod group group_dn -scope l|g|u
This command uses the following values:
•group_dn specifies the distinguished names of the group object to which the scope will be changed.
•l|g|u specifies the scope that the group is to be set to (local, global or universal). If the domain is still set to Windows 2000 mixed, the universal scope is not supported. Also, it is not possible to convert a domain local group to global group or vice versa.
NOTE: You can only change group scopes when the domain functional level is set to Windows 2000 native or higher.

Deleting a Group
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsrm group_dn
This command uses the following value:
•group_dn specifies the distinguished name of the group object to be deleted.

NOTE: If you delete the group, the group is permanently removed.

By default, local groups that are provided automatically in domain controllers that are running Windows Server 2003, such as Administrators and Account Operators, are located in the Builtin folder. By default, common global groups, such as Domain Admins and Domain Users, are located in the Users folder. You can add or move new groups to any folder. Microsoft recommends that you keep groups in an organizational unit folder.

To view the complete syntax for this command, at a command prompt, type dsrm /?.

Finding Groups in Which a User Is a Member
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsget user user_dn -memberof
This command uses the following value:
•user_dn specifies the distinguished name of the user object for which you want to display group membership.

To view the complete syntax for this command, at a command prompt, type dsget user /?.

III:How to Manage Computers
Creating a New Computer Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsadd computer computer_dn
This command uses the following value:
•computer_dn specifies the distinguished name of the computer you want to add. The distinguished name indicates the folder location.

To view the complete syntax for this command, at a command prompt, type dsadd computer /?.

To modify the properties of a computer account, use the dsmod computer command.


Adding a Computer Account to a Group
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod group group_dn -addmbr computer_dn
This command uses the following values:
•group_dn specifies the distinguished name of the group object to which you want to add the computer object.
•computer_dn specifies the distinguished name of the computer object to be added to the group. The distinguished name indicates the folder location.

When you add a computer to a group, you can assign permissions to all of the computer accounts in that group, and then filter Group Policy settings on all accounts in that group.

To view the complete syntax for this command, at a command prompt, type dsmod group /?.

Resetting a Computer Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod computer computer_dn -reset
This command uses the following value:
•computer_dn specifies the distinguished names of one or more computer objects that you want to reset.

NOTE: When you reset a computer account, you break the computer's connection to the domain. You must rejoin computer account to the domain computer account after you reset it.

To view the complete syntax for this command, at a command prompt, type dsmod computer /?.

Disabling or Enabling a Computer Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsmod computer computer_dn -disabled {yes|no}
This command uses the following values:
•computer_dn specifies the distinguished name of the computer object that you want to disable or enable.
•{yes|no} specifies whether the computer is disabled for log on (yes) or not (no).

When you disable a computer account, you break the computer's connection with the domain and the computer cannot authenticate to the domain.

To view the complete syntax for this command, at a command prompt, type dsmod computer /?.

IV:How to Manage Organizational Units
Creating a New Organizational Unit
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsadd ou organizational_unit_dn
This command uses the following value:
•organizational_unit_dn specifies the distinguished name of the organizational unit to be added.

To view the complete syntax for this command, at a command prompt, type dsadd ou /?.

NOTE: To modify the properties of an organizational unit, use the dsmod ou command.

Deleting an Organizational Unit
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsrm organizational_unit_dn
This command uses the following value:
•organizational_unit_dn specifies the distinguished name of the organizational unit to be deleted.
To view the complete syntax for this command, at a command prompt, type dsrm /?.

NOTE: If you delete an organizational unit, all of the objects that it contains are deleted.

V:How to Search Active Directory
Finding a User Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery user parameter
This command uses the following value:
•parameter specifies the parameter to use. For the list of parameters, see the online help for the dsquery user command.

To view the complete syntax for this command, at a command prompt, type dsquery user /?.

Finding a Contact
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery contact parameter
This command uses the following values:
• parameter specifies the parameter to use. For the list of parameters, see the online help for the dsquery user command.

Finding a Group
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery group parameter
This command uses the following values:
•parameter specifies the parameter to use. For the list of parameters, see the online help for the dsquery user command.

By default, local groups that are provided automatically in domain controllers that are running Windows Server 2003, such as Administrators and Account Operators, are located in the Builtin folder. By default, common global groups, such as Domain Admins and Domain Users, are located in the Users folder. You can add or move new groups to any folder. Microsoft recommends that you keep groups in an organizational unit folder.


Finding a Computer Account
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery computer -name name
This command uses the following value:
•name specifies the computer name that the command searches for. This command searches for computers whose name attributes (value of CN attribute) matches name.

To view the complete syntax for this command, at a command prompt, type dsquery computer /?.

Finding an Organizational Unit
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery ou parameter
This command uses the following value:
•parameter specifies the parameter to use. For the list of parameters, see the online help for dsquery ou.

To view the complete syntax for this command, at a command prompt, type dsquery ou /?.

Finding a Domain Controller
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery server parameter
This command uses the following values:
•parameter specifies the parameter to use. There are several attributes of a server that you can search by using this command. For the list of parameters, see online help for dsquery server.

Performing a Custom Search
1.Click Start, and then click Run.
2.In the Open box, type cmd.
3.At the command prompt, type the following command:
dsquery * parameter
This command uses the following value:
•parameter specifies the parameter to use. There are several attributes that you can search by using this command. For more information about LDAP searches, see the Windows Server 2003 Resource Kit.

9 Kasım 2007 Cuma

Active Directory Nedir?

Active Directory Servisi

Active Directory servisi Windows 2000 Server ile hayatımıza girdi ve o günden beri network sistemlerimizin en önemli parçalarından birisi haline gelmiştir.

Active Directory servisi kendi içerisinde de ikiye ayrılmakdatır ve bütün nesneleri ve organizasyonumuzun gereksinimlerini bu yapılar içinde saklar. Bunlar;

1)Mantıksal Yapı

2)Fiziksel Yapı

Active Directory kullanıcı hesapları, bilgisayar hesapları ve network üzerinde bulunan diğer bütün kaynaklar hakkında bilgileri tutar ve bu kaynaklara erişimi ve kullanımı sağlar. Ayrıca bu kaynaklar hakkında isim bilgisi, lokasyon bilgisi, tanımlama bilgisi, yönetim bilgisi ve güvenlikleri hakkında da bilgiler tutar.

Active Directory fonksiyonlarına bakarsak eğer karşımıza aşağıdaki değerler çıkmaktadır;

Network kaynaklarının merkezi kontrolü : Active Directory sayesinde sunucularımızı, paylaşılmış dosya ve klasörlerimizi, yazıcılarımızı ve diğer network kaynaklarımızı dizin içinde merkezi olarak yetkilendirilmiş kullanıcıların erişimine olanak tanırız.

Kaynak yönetiminin merkezi ve dağıtık yapılması : Sistem yöneticileri dağınık bir yapıda bulunan bilgisayarları, sunucuları, yazıcıları, network servislerini ve uygulamaları var olan yapı dahilinde merkezi bir yerden yönetebilirler. Ayrıca delegasyon yöntemini kullanarak bazı yetkilerini diğer kişilere aktarabilirler.

Nesneleri mantıksal yapısı içerisinde güvenli bir şekilde saklar : Active Directory bütün nesneleri güvenli ve hiyerarşik olarak mantıksal yapısı içerisinde saklar.

Network trafiğini optimum kullandırır : Active Directory’nin fiziksel yapısı network bant genişliğini en verimli şekilde kullanmayı sağlar.

Mantıksal Yapı

Active Directory hiyerarşik olarak mantıksal yapısı içerisinde nesneleri güvenli bir şekilde saklar. Bu hiyerarşik yapıda neler var onlara bir bakalım;

Nesneler (Objects) : Mantıksal yapının en basit bileşenleridir. Kullanıcı hesabı, bilgisayar hesabı, bir yazıcı tanımlaması vs nesnelere örnektir.

Yapısal Birimler (Organizational Units) : Yönetimsel amaçlarımıza göre daha doğrusu yönetimi biraz daha kolaylaştırmak adın kullanabileceğimiz bir yapıdır. Dolayısı ile nesnelerimizi kategorilere, bölümlere vs ayırıp yönetim işimizi daha da kolaylaştırabiliriz. Delegasyon yöntemini de bu yapı üzerinde uygulayıp bazı yetkilerimizi balşa kişilere aktarabiliriz. Yapısal birimler diğer yapısal birimlerle birleştirilebilir ya da iç içe olabilirler.

Etki alanı (Domain) : Active Directory’nin temel fonksiyonlarını getirebildiği yapıdır. Yönetimsel olarak bütün nesneler bu yapıda yer alır ve paylaştırılmış bir veritabanını, güvenlik ilkelerini ve diğer domainlerle güven ilişkilerini sağlarlar. 3 farklı fonksiyonu vardır;

Nesneler için yönetim sınırını belirler

Paylaştırılmış kaynaklar için güvenlik tanımlamaları

Nesnelerin replikasyonunun bir parçasıdır

Etki alanı ağaçları (Domain Trees) : En az iki ve ya daha fazla etki alanının birleşmesinden oluşan bir yapıdır. Mesela ikinci bir etki alanı root etki alanına eklenirse bu çocuk (Child) etki alanı olur. Çocuk etki alanının bağlı olduğu yapıya yani Root etki alanına ise Ana Etki alanı (Parent Domain) denir.

Çocuk etki alanının adı ana etki alanının devamı şeklindedir. Örnek vermek gerekirse cryptonium.com ana etki alanımız olsun ve çocuk etki alanımız ise istanbul.cryptonium.com şeklinde olacaktır.

Ormanlar (Forests) : Active Directory’nin tüm yapısını içerir. Bir veya birden fazla etki alanı ağacını içerir. Orman içindeki ilk etki alanı Root Domain olarak kabul edilir. Bu da örnek ile açıklanmak gerekirse cryptonium.com bizim root domainimizdir, istanbul.cryptonium.com ise çocuk domainimizdir.


Fiziksel Yapı


Bileşenlerine kısaca göz atmak gerekirse eğer;

Etki Alanı Denetleyicileri (Domain Controllers) : Windows Server 2003 veya Windows 2000 Server ürün ailelerinden birisinin üzerinde kurulu olduğu ve Active Directory servisinin kurulmuş olduğu sunucular Etki Alanı Denetleyicileri olarak adlandırılır. Her etki alanı denetleyicisi depolama ve replikasyon yapılarını düzenler ve gerçekleştirir. Bir etki alanı denetleyicisi sadece bir etki alanına hizmet verebilir. Eğer sistemin sürekliliğinden emin olmak istiyorsak birden fazla etki alanı denetleyicisi kurulmalıdır.

Active Directory Sites : Biribirine iyi bağlantılarla bağlanmış olan bilgisayar kümelerinden oluşur. Site kullanmamızın amacı değişik lokasyonlarda konuşlandırdığımız etki alanı denetleyicilerinin aralarındaki bant genişliğini en iyi şekilde kullanmalarını sağlamaktır. Ayrıca farklı etki alanı denetleyicileri üzerindeki değişiklikleri de günceller eşitleriz.

WAN Link : Siteler arasındaki bağlantıyı sağlar.

Active Directory Bölümleri

Her etki alanı denetleyicisi üzerinde oluşturulan bölümler vardır. Bunlar aşağıdaki gibidir;

Domain Bölümü (Domain Partition) : Etki alanında bulunan bütün nesnelerin bir kopyasını üzerinde saklar. Bu bölüm sadece aynı domain içinde bulunan diğer bir etki alanı denetleyicisi ile eşitlenir.

Konfigürasyon Bölümü (Configuration Partition) : Orman topolojisi bu kısımdadır. Topoloji ise, orman (Forest) içerisindeki bütün etki alanı denetleyicileri ve onların kendi aralarındaki bağlantılarını barındırır.

Şema Bölümü (Schema Partiton) : Orman (Forest-Wide) şemayı içerir. Her orman her nesnenin sınıfını belirleyen bir şemaya sahiptir. Konfigürasyon ve şema bölümler orman içinde bulunan bütün etki alanı denetleyicileri ile eşitlenir.

Uygulama Bölümü (Application Partition) : Güvenlikle ilgili olmayan ve bazı uygulamalar tarafında kullanılan nesneleri içerir. Bu bölüm özel etki alanı denetleyicileri ile eşitlenir.

Operations Masters

Eğer etki alanı içerisinde herhangi bir değişiklik olduğunda bu değişiklik etki alanı içerisinde bulunan bütün etki alanı denetleyicileri ile eşitlenir. Bazı değişiklikler ise daha önce de bahsettiğimiz gibi mesela şema üzerinde yapılan değişikler ise orman içerisinde bulunan bütün etki alanları ile eşitlenir. Bu eşitleme sistemine Multimaster Replication denir.

Multimaster eşitleme süresinde çakışmalar olabilir. Bunun sebebi ise aynı nesne üzerinde darklı etki alanları üzerinde değişikliklerin yapılması ile mümkün olur. Çakışmaları önlemek için Single Master Replication kullanılabilir. Bu işlemi de tek bir etki alanı denetleyicisini tanımlamakla mümkün olur.

Operations Masters rolleri uygun bir sırada ve birlikte çalışabilecek yapıda orman ya da etki alanı içinde yer alırlar. Active Directory üzerinde 5 farklı rol vardır. Bunlar;

Orman genelinde geçerli olan roller ve Etki alanı genelinde geçerli olan roller vardır.

Orman genelinde olanlar : Schema Master, Domain Naming Master

Etki alanı genelinde olanlar : Relative Identifier (RID), PDC Emulator, Infrastructure Master

Kısaca bu rolleri incelemek gerekirse;

Schema Master : Şema ile ilgili bütün güncellemeleri kontrol eder. Schema Master rolü Active Directory üzerinde oluşturulacak olan bütün nesnelerin sınıf ve nitelikleri ile ilgili listeleri üzerinde barındırır.

Domain Naming Master : Orman içerisinde yeni eklenecek olan ya da kaldırılacak olan etki alanlarının kontrolünü yapar. Bir nevi ormanın bekçisi gibidir ve kesilen ya da ekilen ağaçları kontrol eder ve gereken izni verir. Eğer bir etki alanı eklenmek istenirse devreye girer ve işlevini yerine getirir.

Primary Domain Controller Emulator (PDC Emulator) : Mixed Mode etki alanı ortamında Windows NT gibi hareket eder. İlk kurulan etki alanı denetleyicisi PDC Emulator görevini alır.

Relative Identifier (RID) Master : Yeni bir nesne oluşturulduğu zaman devreye girer ve Security Identifier (SID) atamalarında görev alır.

Infrastructure Master : Nesnelerin bir etki alanından diğerine taşınması esnasında göre alır ve nesnenin eski ve yeni etki alanındaki yerini belirler. Kısacası etki alanlarındaki nesne taşımalarını takip eder.

Active Directory hakkında kısaca temel bilgileri aldıktan sonra artık Active Directory servisimizi kurmaya başlayabiliriz.

Active Directory servisini kurabilmemiz için bazı sistem gereksinimlerimiz olacaktır.

Bu sistem gereksinimlerimiz ise aşağıdaki gibidir;

Windows Server 2003 veya Windows 2000 Server ailesinden birisi kurulu olan bir bilgisayar olmalı

NTFS olarak formatlanmış en az 250 MB boş disk alanı olmalı

Etki alanını oluşturabilmek için yönetimsel yetkiye sahip olmalı

TCP/IP bileşenleri yüklü olmalı ve statik bir IP adresi girilmiş olmalı

DNS bilgileri tanımlanmış olmalı

Evet yukarıdaki gereksinimleri karşılıyorsak eğer dizinimizin kurulumuna başlayabiliriz.

Active Directory kurulum işlemi aşağıdaki yapıları oluşturur;

Güvenlik protokolünü başlatır ve güvenlik ilkelerini tanımlar

Active Directory bölümlerini, veritabanlarını ve log dosyalarını oluşturur

Ormanın root etki alanını oluşturur

SYSVOL klasörünü oluşturur

Etki alanı denetleyicisinin site üyeliğini tanımlar

Dizin üzerindeki ve eşitleme yapısındaki güvenlik değerleri tanımlar

Yedekten geri dönüşün güvenli olması için şifre tanımlamasını sağlar

4 Kasım 2007 Pazar

Terminal Servislerde (Server-Client) Port Yönlendirme

Terminal Server Port Ayarları :
Terminal Server gelen bağlantı isteklerini 3389 numaralı TCP portu üzerinden dinler. Eğer bir Firewall arkasındaki Terminal Server’a ulaşacaksanız bu durumda Firewall üzerinde bu porta gelecek bağlantı isteklerine izin verecek şekilde bir konfigürasyon yapmalısınız. Eğer Terminal Server’ın bu çok bilinen 3389 numaralı TCP portunu değil de kendi belirleyeceğiniz başka bir TCP portunu dinlemesini istiyorsanız :

**Öncelikle Terminal Server’da aşağıda listelenen Registry anahtarlarını bulup, bu anahtarların değerlerini , kullanmak istediğiniz yeni TCP portunu ifade edecek şekilde değiştirin.

****HKLM| System | CurrentControlSet | Control | Terminal Server | Wds | Rdpwd | Tds | TCP |PortNumber

****HKLM | System | CurrentControlSet | Control | Terminal Server | WinStations | PortNumber

Bu değişiklikleri yaptıktan sonra server’ı yeniden başlattığınızda Terminal Server gelen bağlantı isteklerini sizin belirlemiş olduğunuz TCP portu üzerinden dinleyecektir. Bu sayede herkes tarafından bilinen 3389 numaralı TCP portunu kapatarak Terminal Server’ın güvenliğini arttırmış olursunuz.

***Peki istemci bilgisayarların Terminal Server’ın yeni portuna bağlantı kurmaları için ne yapmalıyız? Bunun için istemci tarafında aşağıdaki komut’u yazarak Remote Desktop Connection uygulamasını başlatacağız. Örneğimizde Terminal Server’ın gelen bağlantı isteklerini dinlediği port numarası olarak 5555 nolu TCP portunu kullandığını varsayıyoruz. Bağlantı kurulacak Terminal Server’ın adının da Server1 olduğunu düşünürsek çalıştıracağımız komut ;

mstsc /v:ServerinAdı:5555

şeklinde olacaktır.

Eğer Terminal Server’a ActiveX bileşenini kullanarak Web Browser üzerinden bağlanacaksanız bu durumda istemci tarafında yeni port numarasını nasıl tanımlayacağız? Bunun için \Windows\Web\TSWeb klasörünün altında bulunan connect.asp dosyasını Notepad’de açıp, bu dosyanın içindeki MsTsc.AdvancedSettings2.RDPPort=3389 satırının sonunda bulunan 3389 sayısını yeni port numarası ile değiştirip dosyayı kaydediyoruz. Böylece Terminal Server’a Web Browser üzerinden yapılacak bağlantılarda artık yeni port numarası kullanılacaktır.

3 Kasım 2007 Cumartesi