Training
Certifications
Books
Special Offers
Community




 
Microsoft® Windows® 2000 Active Directory™ Programming
Author Charles Oppermann
Pages 480
Disk 1 Companion CD(s)
Level Intermediate
Published 05/30/2001
ISBN 9780735610378
ISBN-10 0-7356-1037-1
Price(USD) $49.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Related Series
Related Books
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 

Table of Contents


Forewordxiii
Acknowledgmentsxvii
Introductionxix
PART I OVERVIEW OF ACTIVE DIRECTORY 
    1 Introduction to Directory Services3
        Network Computing Long Ago3
        What Is a Directory?6
        What Is a Directory Service?7
        A Brief History of Directories8
            Domain Name System9
            X.500 Directory Service10
            The Advent of LDAP12
        The Present State of Directories13
        Active Directory Features14
    2 Active Directory Architecture17
        Active Directory Concepts17
            Objects and Attributes18
            Schema18
            Domains19
            Namespaces23
            Trees and Forests23
            Organizational Units25
            Security26
            Directory Partitions and Naming Contexts26
            Global Catalog28
            Multimaster Operations28
            Replication30
        Active Directory Components36
            Directory System Agent37
            Security Accounts Manager37
            Database Layer37
            Extensible Storage Engine38
        Examples of Services That Use Active Directory39
            Network Services39
            Dynamic DNS Service40
            IntelliMirror Service40
        Tools for Active Directory42
            Administrative Tools42
            Active Directory Schema43
            ADSI Edit45
            Ldp45
            Ntdsutil46
            ADSI Viewer47
        Summary48
    3 Programming Interfaces for Active Directory49
        Incredibly Simple Sample49
        Interfaces to Active Directory51
            Lightweight Directory Access Protocol51
            Active Directory Service Interfaces57
        Relationship Between ADSI and Active Directory60
        Deciding on the Best Interface60
            The Programming Language Makes a Difference60
            Platform Considerations61
            Performance62
            Documentation and Resources62
            What This Book Uses62
        But First … a COM Primer63
            What Is COM?63
            COM Interfaces64
            Methods and Properties66
            Automation66
            COM Example67
            Accessing Objects68
        ADSI and COM72
            What Is an ADSI Object?72
            ADSI Interfaces72
        Summary76
PART II PROGRAMMING WITH ACTIVE DIRECTORY 
    4 Connecting to Active Directory79
        Step by Step79
        Binding80
            Getting an ADSI Object81
            ADsPath83
            Distinguished Name and Relative Distinguished Name84
            Naming Attributes85
            Objects and Containers87
            Stringing It Together87
            Got Object?87
        Binding Options92
            Serverless Binding92
            RootDSE94
            Global Catalog98
            GUID Binding101
            Authentication107
            Performance Considerations When Binding112
        Summary114
    5 Searching Active Directory115
        Search Technologies115
        A Searching Sample Using ADO and VBScript117
            Phone Sample118
            Gathering Input122
            Query Statement124
            Using ADO135
        Using IDirectorySearch142
        Search Options146
            Referrals146
            Asynchronous Searches149
            Authentication and Security150
            Search Limits151
            Performance152
        Summary153
    6 Reading and Writing Directory Data155
        Directory Attributes155
            Naming Conventions156
            Terminology157
            Attributes vs. Properties157
        Reading Attributes158
            The Get Method162
            Handling Errors in ADSI163
            Properties and Attributes Revisited166
        Reading Multivalued Attributes168
            The GetEx Method172
        Named Properties or the Get Method: Which Is Better?173
            Accessing Properties in Yet Another Way174
        The Property Cache174
            The GetInfo Method175
            The GetInfoEx Method176
        Writing Attributes177
            ADSI Properties177
            The Put Method182
            The SetInfo Method183
        Writing Multivalued Attributes184
            The PutEx Method184
        Containers188
            Enumerating Containers189
            Adding Objects194
            Deleting Objects195
            Easy Deleting with IADsDeleteOps195
            Creating and Deleting Objects Sample196
        Summary198
    7 Advanced Properties and Values199
        Trolling for Properties 199
        The Property Cache Interfaces202
            IADsPropertyList204
            PropertyEntry and PropertyValue Objects206
            Value Data Types208
        Monster Property Cache Interfaces Sample212
        IDirectoryObject 221
            Using IDirectoryObject from C and C++221
            GetObjectInformation226
            GetObjectAttributes227
            Writing Attributes with SetObjectAttributes231
        Summary232
    8 The Active Directory User Interface233
        But First, a Note from Our Sponsor…233
        Common Dialog Boxes234
            Container Browser Dialog Box234
            Domain Browser Dialog Box244
            Object Picker Dialog Box246
        Display Specifiers253
            Display Specifiers Background256
            International Support258
            IDsDisplaySpecifier259
            Display Specifier Sample260
        Summary264
PART III SPECIAL TOPICS 
    9 Active Directory Schema267
        Understanding the Schema267
            Object Classes267
            Object Attributes268
            Syntaxes268
            Object Identifiers269
            Schema Structure270
            Abstract Schema274
            Tools for Exploring the Schema278
        Working with Classes282
            Class Inheritance283
            Security285
            Class Categories287
            Object Classes and Object Categories289
            Object Naming293
            IADsClass295
        Working with Attributes300
            Types of Attributes302
            IADsProperty303
            Attribute Syntaxes306
            IADsSyntax310
        Extending the Schema310
            The Process for Extending the Schema311
            When to Extend the Schema311
            Determining the Method of Extension313
            Enabling Schema Changes313
            Obtaining an Object Identifier324
            Creating Schema Objects326
            Updating the Schema Cache333
            ExtendSchema Sample336
        Summary340
    10 Active Directory Administration Using Windows Script341
        Windows Scripting341
            Windows Script Host342
            Windows Script Files342
            Windows Script Object Model343
            Type Libraries345
            Creating and Editing Scripts347
        Managing Users348
            The IADsUser Interface348
            Creating Users351
            Passwords357
        Managing Groups360
            Types of Groups361
            ADSI Group Interfaces362
            Creating a Group363
            Enumerating Groups366
            Modifying Group Membership367
        Managing Computers371
        Managing Services374
            Managing Print Queues375
            Volumes379
        Summary383
    11 The Web and Beyond385
        Active Directory and ASP385
            Authentication391
            Basic Authentication395
            COM+ Components396
        Windows Platform Considerations397
            Using the WinNT Provider with Active Directory399
            ADSI Versions399
            Determining the ADSI Version400
        Whistler402
            Dynamic Objects404
            Application Partitions406
            inetOrgPerson406
            Virtual List View Searching409
            User Interface Enhancements416
        Summary417
APPENDIX  Active Directory Resources419
INDEX423




Top of Page


Last Updated: Saturday, July 7, 2001