TAILIEUCHUNG - Active Directory Cookbook for windows server 2003- P13

Active Directory Cookbook for windows server 2003- P13: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. | The same logic applies if they want to remove a bit except the XOR logical operator is used. Active Directory contains numerous bit-flag attributes most notably options which is used on several different object classes and userAccountControl which is used on user objects . I do not recommended blindly setting those attributes unless you know what you are doing. It is preferable to use a script from this recipe so that it calculates the new value based on the existing value. See Also Recipe for searching with a bit-wise filter Recipe Dynamically Linking an Auxiliary Class This recipe requires the Windows Server 2003 forest functional level. Problem You want to dynamically link an auxiliary class to an existing object instance. Solution In each solution below an example of adding the custom rallencorp-SalesUser auxiliary class to the jsmith user object will be described. Using a graphical user interface 1. Follow the directions for Recipe . 2. Edit the values for the objectClass attribute. 3. For Value to add enter rallencorp-SalesUser. 4. Click Add. 5. Click OK twice. Using a command-line interface Create an LDIF file called with the following contents dn cn jsmith cn users dc rallencorp dc com changetype modify add objectClass objectClass rallencorp-SalesUser 131 then run the following command Idifde -v -i -f dynamically link Using VBScript const ADS_PROPERTY_APPEND 3 set objUser GetObject LDAP cn jsmith cn users dc rallencorp dc com ADS PROPERTY APPEND objectClass Array rallencorp-SalesUser Discussion Dynamically linking an auxiliary class to an object is an easy way to use new attributes without modifying the object class definition in the schema directly. In Windows 2000 auxiliary classes could only be statically linked in the schema. With Windows Server 2003 you can dynamically link them by appending the auxiliary class name to .

Đã 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.