tailieunhanh - Active Directory Cookbook for windows server 2003- P14

Active Directory Cookbook for windows server 2003- P14: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. | Solution Using a graphical user interface 1. Open ADSI Edit 2. If an entry for the naming context you want to browse is not already displayed do the following 3. Right-click on ADSI Edit in the right pane and click Connect to . . . 4. Fill in the information for the naming context container or OU that contains the object you want to rename. Click on the Advanced button if you need to enter alternate credentials. 5. In the left pane browse to the container or OU that contains the object you want to modify. Once you ve found the object right-click on it and select Rename. 6. Enter the new name and click OK. Using a command-line interface dsmove ObjectDN -newname NewName Using VBScript This code renames an object and leaves it in the same location. ----- SCRIPT CONFIGURATION -------- strCurrentParentDN CurrentParentDN strObjectOldName cn OldName strObjectNewName cn NewName ----- END CONFIGURATION ----------- set objCont GetObject LDAP strCurrentParentDN LDAP strObjectOldName strCurrentParentDN strObjectNewName Discussion Before you rename an object ensure no applications reference it by name. You can make objects rename-safe by requiring all applications that must store a reference to objects to use the GUID of the object not the name. The GUID stored in the objectGUID attribute is guaranteed to be unique and does not change when an object is renamed. Using a graphical user interface If the parent container of the object you want to rename has a lot of objects in it you may want to add a new connection entry for the DN of the object you want to rename. This may save you time searching through the list of objects in the container. You can do this by right-clicking ADSI Edit and selecting Connect to. Under Connection Point select Distinguished Name and enter the DN of the object you want to rename. Using a command-line interface 141 The two parameters that are needed to rename an object are the

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.