Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Hệ điều hành
Active Directory Cookbook for windows server 2003- P55
Đang chuẩn bị liên kết để tải về tài liệu:
Active Directory Cookbook for windows server 2003- P55
Thúy Minh
48
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Active Directory Cookbook for windows server 2003- P55: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. | robustness of ADSI. Documentation for the Win32 OLE module can be found at http aspn.activestate.com ASPN Perl Products ActivePerl site lib Win32 OLE.html. 18.4.4 See Also http www.cpan.org to download Perl modules Recipe 18.5 Programming with Java 18.5.1 Problem You want to programmatically access Active Directory using Java. 18.5.2 Solution The Java Naming and Directory Interface JNDI is a standard extension to Java that can be used to access a variety of naming and directory services including DNS and LDAP. JNDI is part of the Java Enterprise API set and is documented on the following site http iava.sun.com products jndi . JNDI provides an object-oriented interface to programming with LDAP and is not based on the LDAP C API which many other LDAP API s are based on. The following code uses JNDI to print out the RootDSE for the host DC1 Print the RootDSE for DC1 usage java RootDSE import javax.naming. import javax.naming.directory. class RootDSE public static void main String args try Create initial context. DirContext ctx new InitialDirContext Read attributes from root DSE. Attributes attrs ctx.getAttributes ldap DC1 new String Get a list of the attributes. NamingEnumeration enums attrs.getIDs Print out each attribute and its values. while enums null enums.hasMore String nextattr String enums.next System.out.println attrs.get nextattr 551 Close the context. ctx.close catch NamingException e e.printStackTrace 18.5.3 Discussion Any serious Java programmer should be familiar with JNDI. It is a generic interface that can be used with a variety of services not least of which includes Active Directory. A good tutorial on JNDI is available on Sun s web site http java.sun.com products jndi tutorial . 18.5.4 See Also Sun s JNDI home page http java.sun.com products jndi Recipe 18.6 Programming with Python 18.6.1 Problem You want to programmatically access Active Directory using Python. 18.6.2 Solution As with Perl you have two options for programming Active Directory with
TÀI LIỆU LIÊN QUAN
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.