Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Hệ điều hành
Active Directory Cookbook for windows server 2003- P18
Đang chuẩn bị liên kết để tải về tài liệu:
Active Directory Cookbook for windows server 2003- P18
Nhật Quân
70
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Active Directory Cookbook for windows server 2003- P18:If you are familiar with the O'Reilly Cookbook format that can be seen in other popular books, such as the Perl Cookbook, Java Cookbook, and DNS and BIND Cookbook, then the layout of this book will not be anything new to you. The book is composed of 18 chapters, each containing 10-30 recipes for performing a specific Active Directory task. Within each recipe are four sections: problem, solution, discussion, and see also. | strUserDN UserDN e.g. cn rallen cn users dc rallencorp dc com strOUDN NewParentDN e.g. ou Sales dc rallencorp dc com ---- END CONFIGURATION ----------- Set objUser GetObject LDAP strUserDN Set objOU GetObject LDAP strOUDN objOU.MoveHere objUser.ADsPath objUser.Name 6.5.3 Discussion Moving a user object between OUs in the same domain has no direct impact to the actual user. The only thing to be cautious of is the impact of moving the user to a new OU that may have different security or GPOs applied to it. 6.5.4 See Also Recipe 4.17 for moving objects between OUs Recipe 6.6 Renaming a User 6.6.1 Problem You want to rename a user. 6.6.2 Solution 6.6.2.1 Using a graphical user interface 1. Open the Active Directory Users and Computers snap-in. 2. In the left pane right-click on the domain and select Find. 3. Type the name of the user and click Find Now. 4. In the Search Results right-click on the user and select Rename. 5. You can modify the Full Name Last Name First Name Display Name User Principal Name logon name and SAM Account Name pre-Windows 2000 . 6. Click OK after you are done. 6.6.2.2 Using a command-line interface The following command will rename the RDN of the user dsmove UserDN -newname NewUserName You can modify the UPN -upn First Name -fn Last Name -ln and Display Name display using the dsmod user command. For example the following command would change the user s UPN and last name dsmod user UserDN -upn NewUserUPN -ln NewUserLastName 181 6.6.2.3 Using VBScript This code renames the RDN of a user and the sAMAccountName attribute. ----- SCRIPT CONFIGURATION ------- strParentDN ParentDN e.g. cn Users dc rallencorp dc com strUserOldName OlduserName e.g. jsmith strUserNewName NewUserName e.g. jim ----- END CONFIGURATION ---------- set objCont GetObject LDAP strParentDN objCont.MoveHere LDAP cn strUserOldName strParentDN cn strUserNewName set objUser GetObject LDAP cn strUserNewName strParentDN objUser.Put sAMAccountName strUserNewName objUser.SetInfo .
TÀI LIỆU LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.