TAILIEUCHUNG - Active Directory Cookbook for windows server 2003- P29

Active Directory Cookbook for windows server 2003- P29: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. | strOU OrgUnitDN . ou Sales dc rallencorp dc com boolBlock TRUE . set to FALSE to not block inheritance ------ END CONFIGURATION --------- set objGPM CreateObject set objGPMConstants Initialize the Domain object set objGPMDomain strDomain Find the specified OU set objSOM strOU if IsNull objSOM then Did not find OU strOU Exiting. else Found OU end if on error resume next boolBlock if 0 then There was an error blocking inheritance. Error else Successfully set inheritance blocking on OU to boolBlock end if Discussion By default GPOs are inherited down through the directory tree. If you link a GPO to a top-level OU that GPO will apply to any objects within the child OUs. Sometimes that may not be what you want and you can disable inheritance as described in the solutions. Try to avoid blocking inheritance when possible because it can make determining what settings should be applied to a user or computer difficult. If someone sees that a GPO is applied at a toplevel OU they may think it applies to any object under it. Using the Resultant Set of Policies RSoP snap-in can help identify what settings are applied to a user or computer see Recipe . Using VBScript To block inheritance I first have to get a gpmsom object for the OU by calling the method. The only parameter to this method is the DN of the OU or leave blank to reference the domain itself . Next I call the gpmsom. GPOinheritanceBiocked method which should be set to either TRUE or FALSE depending if you want inheritance blocked or not. 291 See Also MSDN and MSDN Recipe Applying a Security Filter to a GPO Problem You want to configure a GPO so that it applies .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.