HƯỚNG DẪN THỰC HÀNH MODULE 3-1

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

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.chm, COPY RA FILE MỚI, HIỆU
CHỈNH LẠI RỒI CHO CHẠY
 Tạo
 Xóa
 Sửa

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 CHO 2 CHI NHÁNH Ở 2 THÀNH PHỐ
2. TẠO 2 USER ADMIN-HCM VÀ ADMIN-HN

 THỰC HIỆN DELEGATE TẤT CẢ CÁC QUYỀN VỀ 2 OU CHO ADMIN-


HCM VÀ ADMIN-HN
 SỬ DỤNG ACCOUNT CỦA MỖI ADMIN, TẠO TIẾP CÁC OU CÒN LẠI
RỐI DELEGATE TIẾP CHO CÁC USER MỐI PHÒNG BAN NHỨNG
QUYỀN CẦN THIẾT (Ex: reset password)

Mr. Phi Long

You might also like