You are on page 1of 1

HƯỚNG DẪN THỰC HÀNH MODULE 3 – MÔN: 70-294

BÀI 1: TẠO OU. GỒM 4 CÁCH SAU

CÁCH 1: DÙNG TOOL ACTIVE DIRECTORY USERS & COMPUTERS


Làm như các bài trước
CÁCH 2: DÙNG COMMAND-LINE. CÚ PHÁP LỆNH:
- TẠO:
dsadd ou OrganizationalUnitDN -desc Description -d Domain -u UserName -p
Password
- SỬA:
dsmod ou OrganizationalUnitDN -desc Description -d Domain -u UserName -p
Password
- XÓA:
dsrm OrganizationalUnitDN -d Domain -u UserName -p Password

CÁCH 3: DÙNG SCRIPT:


MỞ FILE TEMPLATE script_repository_1_1.chm, COPY RA FILE MỚI,
HIỆU CHỈNH LẠI RỒI CHO CHẠY

CÁCH 4: DÙNG LỆNH: LDIFDE


a. Tạo file nội dung như sau:
dn: OU=SampleOU,DC=nwtraders,DC=msft
changetype: add
objectClass: organizationalUnit
b. Chạy:
C:\>ldifde -i -k -f OUList.ldf -b UserName Domain Password
Giải thích:
• -i specifies the import mode. If not specified the default mode is export.
• -k ignores errors during an import operation and continues processing.
• -f specifies the import or export filename.
• OUList.ldf is the input file.
• -b specifies the username, domain name and password for the user
account that will be used to perform the import or export operation.

BÀI 2:
1. TẠO RA 2 OU : HCM VÀ HN, TẠO 2 USER ADMIN-HCM VÀ ADMIN-HN
2. THỰC HIỆN DELEGATE TẤT CẢ CÁC QUYỀN VỀ 2 OU CHO ADMIN-HCM
VÀ ADMIN-HN
3 KIỂM TRA LẠI BẰNG OPTION SECURITY

You might also like