tailieunhanh - Active Directory Cookbook for windows server 2003- P53

Active Directory Cookbook for windows server 2003- P53: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. | First find the NTDS Settings object for the server strBase LDAP cn Sites ConfigurationNamingContext strFilter objectcategory server cn strServer strAttrs cn distinguishedName strScope subtree set objConn CreateObject ADsDSOObject Active Directory Provider set objRS strBase strFilter strAttrs strScope if 1 then Did not find a match for server strServer else strServerDN cn NTDS Settings distinguishedName .Value Make sure the NTDS Settings object actually exists set objNTDSDSA GetObject LDAP strServerDN Found server strServerDN end if Now need to find the crossRef object for the application partition strBase LDAP cn Partitions ConfigurationNamingContext strFilter objectcategory crossRef dnsRoot strAppPart strAttrs cn distinguishedName strScope onelevel set objRS strBase strFilter strAttrs strScope if 1 then Did not find a match for application partition strAppPart else set objAppPart GetObject LDAP distinguishedName .Value Found app partition distinguishedName .Value end if Lastly either add or remove the replica server if boolAdd TRUE then ADS_PROPERTY_APPEND msDS-NC-Replica-Locations Array strServerDN Added server to replica set else 531 ADS_PROPERTY_DELETE msDS-NC-Replica-Locations Array strServerDN Removed server from replica set end if Discussion When you initially create an application partition there is only one domain controller that hosts the application partition namely the one you created the application partition on. You can add any other domain controllers in the forest as replica servers assuming the domain .

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.