TAILIEUCHUNG - Active Directory Cookbook for windows server 2003- P21

Active Directory Cookbook for windows server 2003- P21: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. | Table 6-3. ADS_USER_FLAG_ENUM values Name Value Description controller. ADS_UF_DONT_EXPIRE_PASSWD 65536 Password will not expire. ADS_UF_MNS_LOGON_ACCOUNT 131072 MNS logon account. ADS_UF_SMARTCARD_REQUIRED 262144 Smart card is required for log ADS_UF_TRUSTED_FOR_DELEGATION 524288 Allow Kerberos delegation. ADS_UF_NOT_DELEGATED 1048576 Do not allow Kerberos deleg ADS_UF_TRUSTED_FOR_ is enabled. ADS_UF_USE_DES_KEY_ONLY 2097152 Requires DES encryption for ADS_UF_DONT_REQUIRE_PREAUTH 4194304 Account does not require Ke preauthentication for logon. ADS_UF_PASSWORD_EXPIRED 8388608 Read-only flag indicating ac password has expired. Only WinNT provider. ADS_UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION 16777216 Account is enabled for deleg See Also Recipe for setting a bit-flag attribute and MSDN ADS_USER_FLAG_ENUM Recipe Setting a User s Account to Expire in the Future Problem You want a user s account to expire at some point in the future. Solution 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. Select the appropriate domain beside In. 4. Beside Name type the name of the user you want to modify and click Find Now. 5. In the Search Results double-click on the user. 211 6. Click the Account tab. 7. Under Account expires select the radio button beside End of. 8. Select the date the account should expire. 9. Click OK. Using a command-line interface Valid values for the -acctexpires flag include a positive number of days in the future when the account should expire to expire the account at the end of the day or never to disable account expiration. dsmod user UserDN -acctexpires NumDays Using VBScript This code sets the account expiration date for a user. ----- SCRIPT CONFIGURATION ------- strExpireDate Date . 07 10 2004 strUserDN UserDN . cn rallen ou Sales dc rallencorp dc com ----- END CONFIGURATION .

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.