Active Directory Programming
Home > Computing and Information Technology > Business applications > Active Directory Programming
Active Directory Programming

Active Directory Programming


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Active Directory Programming provides you with all the information needed to tap into the Active Directory from your own programs. After being provided with the groundwork of how the Active Directory works, you will be taught both how to design and how to create Active Directory enabled applications. This includes detailed discussions on the different programming interfaces that can be used. The book also contains ADSI and LDAP references that make this a handy resource when you are implementing Active Directory solutions. Coverage includes: Active Directory Fundamentals, Accessing Active Directory with LDAP, Accessing Active Directory with the Active Directory Services Interface (ADSI), The Contents of Active Directory, Active Directory Security, and more.

Table of Contents:
Introduction. I. ACTIVE DIRECTORY FUNDAMENTALS. 1. An Introduction to Network Directories. What's a Directory? Simple Directories. Application Directories. Standalone Network Directories. NOS-Integrated Directories. Global Directories. 1999-The Year of the Directory? Why Directories? Single Sign-on. Security. Device Identification and Location. Location Independence. Global Address Book. Simplified Administration. Reliability. Quality of Service and the DEN Initiative. Directories-The Technical Challenge. The Requirements for a Successful Directory. The Solutions. 2. An Introduction to Active Directory. Active Directory: The Directory for Windows 2000. Standards-Based. Scalable. Secure. Integrated and Integratable. Extensible Schema. Backward-Compatible. Integration with Windows 2000. Integration with Other Microsoft Products. Microsoft Exchange. Zero Administration Windows and Active Directory. Integration with Other Directory Services. Active Directory Versus Windows NT 4 Domains. Active Directory Versus Novell Directory Services. 3. The Components of Active Directory. The Logical Structure of Active Directory. Active Directory Is a Collection of Objects. Classes of Objects. Attributes and Values. The Active Directory Schema. The Directory Information Tree. Identifying Directory Objects. Organizing the Directory Tree. The Root Domain, Domain Trees, and Forests. The Domain Naming System and Active Directory Domains. The Physical Structure of Active Directory. Domain Controllers. Partitions and Replicas. Global Catalogs. Active Directory Replication. Active Directory Sites. 4. Active Directory Security. Overview of Windows 2000 Security. The Features of Windows 2000 Security. The Components of Windows 2000 Security. Default Access Rights. Evaluating Access Rights. Windows 2000 Security and Active Directory. Domain Controllers and the Local Security Authority. Active Directory Domains. Domain Trusts. Access Rights Inheritance. Default Access Rights. Default Owner. Property and Property Group Access Rights. Extending Windows 2000 Security with Private Object Security. Security Descriptors as Strings. Programming Active Directory Security. Active Directory Security Attributes. Active Directory Security and LDAP. Active Directory Security and ADSI. 5. Active Directory and DNS. The Origins of DNS and DNS Basics. DNS Domains. DNS Zones. Host Names. Name Servers. Primary and Secondary DNS Servers. DNS Records. Name Resolution. Updating. Why DNS? Active Directory and. How DNS Defines the Active Directory Domain Structure. Locating Domain Controllers with. Active Directory: Integrated DNS Servers. Finding DNS Zone Information in Active Directory and Where It Is Stored. II. THE CONTENTS OF ACTIVE DIRECTORY. 6. Active Directory Operational Attributes. RootDSE. configurationNamingContext. currentTime. defaultNamingContext. dnsHostName. dsServiceName. highestCommittedUSN. ldapServiceName. namingContexts. rootDomainNamingContext. schemaNamingContext. serverName. subschemaSubentry. supportedControl. supportedLDAPPolicies. supportedLDAPVersion. supportedSASLMechanisms. Operational Attributes on Active Directory Objects. allowedAttributes. allowedAttributesEffective. allowedChildClasses. allowedChildClassesEffective. canonicalName. createTimeStamp. dITContentRules. extendedAttributeInfo. extendedClassInfo. modifyTimeStamp. objectClasses. sDRightsEffective. 7. The Active Directory Domain Structure. LDAP Directory Hierarchy. Container Objects. Leaf Objects. Hierarchical Object Names. Naming Contexts. Partitions and Replicas. Windows NT Domains. Active Directory Domains. Domain Trusts. DNSDomain. Active Directory Trees and Forests. The Root Domain. Domain Controllers and Replicas. Sites. 8. The Configuration Naming Context. A Quick Tour of the Configuration Naming Context. The Configuration Container Object. DisplaySpecifiers. ExtendedRights. LostAndFoundConfig. Partitions. Schema. Services. Sites. WellKnownSecurityPrincipals. 9. The Active Directory Schema. Introduction to the Active Directory Schema. Class Definitions. Three Kinds of Class Definitions. Identifying the Class. Defining the Attributes of a Class. Defining Containment Relationships. Inheritance in the Active Directory Schema. Defining Class Security. The classSchema Attributes. Attribute Definitions. Identifying the Attribute. Defining the Attribute's Type. Indexing and the Global Catalog. Linked Attributes. Other Administrative Attributes. Attribute Syntax. The Undefined Syntax. The DN Syntax. The OID Syntax. The caseExactString Syntax. The CaseIgnoreString Syntax. The IA5String Syntax. The NumericString Syntax. The ORName Syntax. The Boolean Syntax. The Integer Syntax. The OctetString Syntax. The GeneralizedTime Syntax. The DirectoryString Syntax. The PresentationAddress Syntax. The DNWithString Syntax. The NTSecurityDescriptor Syntax. The INTEGER8 Syntax. The DNWithBinary Syntax. The Sid Syntax. The Aggregate Object. attributeTypes. objectClasses. dITContentRules. extendedAttributeInfo. extendedClassInfo. Investigating the Schema. Using LDAP to Search the Schema. Using ADSI to Search the Schema. Manipulating the Schema. Finding the Schema FSMOMaster. Making Sure the Schema Can Be Changed. Obtaining OIDs for Schema Extensions. Why Your Schema Changes Don't Show. Sample Schema Manipulation Programs. Obtaining the Schema FSMO. Adding a New Class to the Schema. Adding a New Attribute to the Schema. Disabling a Class in the Schema. Disabling an Attribute in the Schema. 10. The Active Directory Domain Naming Context. Active Directory Domains. The Builtins Container. Local Groups. Global Groups. Universal Groups. Attributes of Group Objects. The Computers Container. Computer Attributes Inherited from the User Class. Other Attributes of the Computer Object. The ForeignSecurityPrincipals Container. The foreignSecurityPrincipal Object. The Infrastructure Object. The LostAndFound Container. The System Container. trustedDomain Objects. The RIDManager$ Object. The CN=System,CN=Policies Container and Group Policy Objects. The Users Container. User Identification Attributes. Security Attributes. Login Attributes. System Service Attributes. The Domain Controllers Container. dNSHostName. operatingSystem. operatingSystemHotfix. operatingSystemServicePack. operatingSystemVersion. rIDSetReferences. serverReferenceBL. servicePrincipalName. III. ACTIVE DIRECTORY SERVICES INTERFACE. 11. ADSI Fundamentals. Introduction to Active Directory Services Interface. Multiple Client Platforms. Multiple Directory Providers. ADSI or LDAP? Platform. Language. Portability Between Directories. Other Considerations. Component Object Model (COM) Basics. I Know Don Box, and I'm No Don Box. What Is COM? Why COM? What's the Big Idea? The Components of COM. Getting Started with ADSI. Setting Up Your Machine. The "Hello, World" ADSI Program. Special COM Data Classes. A Note on Exceptions with _bstr_t and _variant_t. The _bstr_t Class. The _variant_t Class. The _com_error Class. Binding to Active Directory Objects. ADsPaths. Serverless Binding with ADSI. Binding to a Directory Object by GUID. What Happens When You Bind to a Directory Object? Fast Binding with ADSI. Binding with the Helper Functions ADsGetObject(). Binding with the Helper Functions ADsOpenObject(). Binding with the IADsOpenDSObject::OpenDSObject() Function. 12. Basic Active Directory ADSI Interfaces. The ADSI Directory Object Interfaces. The IADs Interface. The IADsPropertyList Interface. The IADsPropertyEntry Interface. The IADsPropertyValue Interface. The IADsPropertyValue2 Interface. The IDirectoryObject Interface. The IADsContainer Interface. The IADsDeleteOps Interface. 13. Searching Active Directory with ADSI. Introduction to Searching with ADSI. Specifying a Search Base. Search Filter. Specifying Attributes to Return. Objects as Rows. Attributes as Columns. The IDirectorySearch Interface. Starting and Ending a Search with IDirectorySearch. Terminating a Search with IDirectorySearch::CloseSearchHandle(). Retrieving Objects with IDirectorySearch::GetNextRow(). Retrievng Attributes with IDirectorySearch::GetNextCol() and IDirectorySearch::GetColumn(). ASimple Search Using IDirectorySearch. Extended Searches Using Search Preferences. Synchronous and Asynchronous Searching with IDirectorySearch. Paged Searches Using IDirectorySearch. Sorting Search Results with IDirectorySearch. Enabling and Disabling the Results Cache with IDirectorySearch. Setting Limits on Searches with IDirectorySearch. 14. Accessing Users, Groups, and Organization with ADSI. Accessing User Objects with ADSI. The IADsUser Interface. Getting a User's Name with IADsUser. Locking a User Account with IADsUser. Setting a User Password with IADsUser. Accessing Groups with ADSI. The IADsGroup Interface. The IADsMembers Interface. Accessing Organizations, Localities, and Organizational Units with ADSI. The IADsO, IADsOU, and IADsLocality Interfaces. Getting the Description of an Organization. Enumerating the Contents of an. 15. Accessing the Active Directory Schema with ADSI. A Tale of Two Schemas. Which Version of the Schema Should You Use? Using the Generic Object Interfaces to Access the Schema. Enumerating Classes in the Schema Using the Generic Object Interfaces. Binding to the Schema Master. Adding a New Attribute Using the Generic Object Interfaces. Adding a New Class Using the Generic Object Interfaces. Using the Abstract Schema Interface to Access the Schema. Binding to the Abstract Schema. Using the Abstract Schema Container Interface. Accessing a Schema Class Object with IADsClass. Accessing a Schema Property Object with IADSProperty. Accessing a Schema Syntax Object with IADsSchema. 16. Other Active Directory API Functions. Connecting to an Active Directory Service. Translating Directory Service Names. Discovering Sites, Servers, and Domains. Finding a Domain Controller. Listing the Sites in Active Directory. Listing the Servers in a Site. IV. LIGHTWEIGHT DIRECTORY ACCESS PROTOCOL. 17. LDAP Fundamentals. LDAP History. LDAP Version. LDAP Version. LDAP Version. Installing the LDAPComponents. LDAP Programming Components. WINLDAP.H. WLDAP32.LIB. WLDAP32.DLL. Setting Up Visual Studio for LDAP Programming. Method One: Modify the Project Settings. Method Two: Modify the Visual C++ Directories Options. Method Three: Modify the System Environment Variables. LDAP Programming Model. Initializing the Client Library. Connecting to an Active Directory Server. Issuing LDAP Requests. Processing LDAP Results. Closing the Connection. Some General Notes About LDAP Programming for Active Directory. Creating an LDAP Connection. Error Handling. ANSI and Unicode Character Sets. Object Identifiers (OIDs). Synchronous and Asynchronous (Multithreaded) Functions. A Simple LDAPProgram. 18. Connecting to Active Diractory with LDAP. A Note About Using the LDAP Client Library. Locating a Domain Controller. Intitializing the LDAPClient Library. The ldap_init() Function. A Note on Port Numbers. The ldap_sslinit() Function. Connecting to the Domain Controller. The ldap_connect() Function. The ldap_open() Function. Connecting with UDPUsing the cldap_open()Function. Disconnecting from an Active Directory Domain Controller. 19. Authenticating with Active Directory. Authentication Credentials. Multiple Binds. Anonymous Connections. LDAPBinding Funtions. Simple LDAP Binding with ldap_simple_bind_s(). Using SASL to Authenticate with Active Directory. Using ldap_bind_s() to Authenticate with Active Directory. 20. Searching Active Directory with LDAP. Specifying an LDAP Search. The Starting Point of the Search. Search Depth. Search Criteria. Requesting Attributes. A Simple Search Using ldap_search_s(). Processing the Search Results. Iterating the Returned Entries. Getting the Distinguished Name of a Returned Entry. Retrieving the Returned Attributes. Processing the Attribute Values. Processing Binary Attribute Values. Searching with a Timeout Value. 21. Advanced Searching with LDAP. Complex Search Criteria. How LDAP Processes Search Filters. The Full LDAP Search Filter Syntax. Searching for Bit-Field Attributes. Checking the Validity of an LDAPSearch Filter. Asynchronous LDAP Searches. Starting an Asynchronous Search. Processing Asynchronous Search Results. Abandoning an Asynchronous Search. Attribute Requests. Requesting All Attributes. Requesting Specific Attributes. Requesting Operational Attributes. Requesting All Attributes and Operational Attributes. Requesting No Attributes. Time-Limited LDAP Searches. Setting a Server Time Limit for a Search. Setting a Client Time Limit for a Search. Changing the Server Search Time Limits. Entry-Limited LDAP Searches. Why Entry Limits Aren't. Setting Search Entry Limits. 22. Extending LDAP Searches. Extending LDAP Searches with LDAP Controls. Client and Server Controls. The LDAPControl Structure. The Extended LDAP Functions. Introduction to Active Directory Search Controls. Getting Notifications of Directory Changes. Searching for Deleted Objects. Retrieving Security Descriptors for Directory Objects. Retrieving Extended Name Information. Getting Search Results-A Page at a Time. Two Ways to Perform a Paged Search. Setting Up the Paged Search. Retrieving Pages of Entries. Abandoning a Paged Search. Getting Search Results in Sorted Order. Sorting Oddities and Limitations. The Sorted Search Functions. Using Paged and Sorted Searches Together. 23. Processing LDAP Referrals. Two Kinds of Referrals. When Are Referrals Generated? Two Strategies for Handling Referrals. Configuring the LDAP Client to Chase Referrals. Chasing Referrals from Search Results. Caching Connections for Referrals. 24. Modifying Active Directory Objects with LDAP. Things to Know Before You. Multiple Modification Operations. Multivalued Attributes. Modification Operations. No Empty Attributes. Schema Rules. Access Rights. Data Structures for Modifying Objects with LDAP. Selecting the Appropriate API Function. API Data Structures for Modifying Objects with LDAP. The berval Structure. The ldapmod Structure. Modifying an Existing Attribute. Adding a New Attribute to an Existing Object. Adding a New Attribute Using the berval Structure. Deleting an Existing Attribute. Adding Additional Values to an Existing Attribute. Deleting a Value from a Multivalued Attribute. Performing Bulk Directory Updates with the Lazy Commit Control. Asynchronous Directory Modifications. Retrieving the Results of an Asynchronous Modification. Using Asynchronous Search and Modifications Together. Moving and Renaming Active Directory Objects. Renaming an Active Directory Object with LDAP. Renaming Active Directory Objects Asynchronously. 25. Adding Active Directory Objects with LDAP. Things to Know Before You. Adding Objects Is a Lot Like Modifying Them. Adding Multiple Attributes at Once. Multivalued Attributes. Existence of the Parent Container. Schema Rules. API Data Structures for Adding Objects with LDAP. The berval Structure. The ldapmod Structure. Selecting the Appropriate API Function. Adding Objects Synchronously by Using ldap_add_s(). Adding Objects Asynchronously by Using ldap_add(). Retrieving the Results of an Asynchronous Addition. Adding Objects in Bulk by Using the Lazy Commit Control. Adding Objects to the Directory with ldap_add_ext_s(). 26. Deleting Active Directory Objects with LDAP. Things to Know Before You. Access Rights. Containers Must Be Empty Before You Can Delete Them. Selecting the Appropriate API Function. Deleting Objects Synchronously by Using ldap_delete_s(). Deleting a Container and Its Subordinate Objects Using ldap_delete_ext_s(). Deleting Objects Asynchronously Using ldap_delete(). Retrieving the Results of an Asynchronous Deletion. Deleting Objects Asynchronously Using LDAP Controls with ldap_delete_ext(). 27. Comparing Active Directory Objects with LDAP. Things to Know Before You. The Differences Between Compare and Search. Matching Rules. Access Rights. Comparing Binary Values. Testing Multivalued Attributes. Using ldap_compare_s() to Test Attribute Assertions. Using ldap_compare_ext_s() to Test Attribute Assertions. Using ldap_compare() to Test Attribute Assertions. Retrieving the Results of an Asynchronous Comparison. Using ldap_compare_ext() to Test Attribute Assertions. 28. Extending LDAP with Options and Controls. LDAP Options. Reading the Options. Setting the Options. Turning Options On and Off. "Standard" LDAP Options. LDAP_OPT_DESC. LDAP_OPT_DEREF. LDAP_OPT_SIZELIMIT. LDAP_OPT_TIMELIMIT. LDAP_OPT_REFERRALS. LDAP_OPT_RESTART. LDAP_OPT_PROTOCOL_VERSION and LDAP_OPT_VERSION. LDAP_OPT_HOST_NAME. LDAP_OPT_ERROR_NUMBER. LDAP_OPT_ERROR_STRING. Microsoft-Specific LDAP Options. LDAP_OPT_SSL. LDAP_OPT_REFERRAL_HOP_LIMIT. LDAP_OPT_PING_KEEP_ALIVE, LDAP_OPT_PING_WAIT_TIME, and LDAP_OPT_PING_LIMIT. LDAP_OPT_DNSDOMAIN_NAME. LDAP_OPT_GETDSNAME_FLAGS. LDAP_OPT_PROMPT_CREDENTIALS. LDAP_OPT_AUTO_RECONNECT. LDAP_OPT_SSPI_FLAGS. LDAP Controls. Paged Search. Sorted Search. Get Security Descriptor. Change Notification (Persistent Search). Show Deleted Objects. Lazy Commit. DirSync Control. Return Extended. Tree Delete. Cross Domain Move. Verify Server Name. Search with Local Scope. Permissive Modify. 29. LDAP Error-Handling Functions. Handling LDAP Errors. LDAP Error Codes. Getting String Descriptions of LDAP Errors. Converting LDAP Errors to Win32 Errors. V. APPENDIX. Appendix A. ADSI Interfaces for Active Directory. Appendix B. Microsoft Windows 2000 LDAP Functions. Index

About the Author :
Gil Kirkpatrick is Director of Engineering at NetPro. He recently was architect and lead engineer for Directory Analyzer for Active Directory, the first and only monitoring and troubleshooting tool for Active Directory. Kirkpatrick's professional software experience dates back to 1976, when he started writing applications and software tools in DataBasic for the Pick operating system. Since then, he has had the good fortune to design and develop many different kinds of software, including embedded real-time systems, network protocols, compilers, distributed databases, and client/server applications. For the last eight years, he has focused on commercial enterprise-class directory-based applications and directory-management software. Kirkpatrick lives in Fountain Hills, Arizona with Kiry, his wife, and their two children, Molly and Scott.


Best Sellers


Product Details
  • ISBN-13: 9780672315879
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Sams Publishing
  • Height: 230 mm
  • No of Pages: 870
  • Weight: 1515 gr
  • ISBN-10: 0672315874
  • Publisher Date: 06 Apr 2000
  • Binding: SA
  • Language: English
  • Spine Width: 50 mm
  • Width: 185 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Active Directory Programming
Pearson Education (US) -
Active Directory Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Active Directory Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!