Understanding and Deploying LDAP Directory Services - Timothy Howes  Ph.D., Mark Smith, Gordon Good

Understanding and Deploying LDAP Directory Services

Buch | Softcover
936 Seiten
2013 | 2nd edition
Addison-Wesley Educational Publishers Inc (Verlag)
978-0-672-33446-7 (ISBN)
89,95 inkl. MwSt
Successfully implement and maintain your LDAP directory services projects with help from the experts.
Lightweight Directory Access Protocol (LDAP) is the standard for directory information access and is the underlying protocol for a variety of email systems, Web systems, and enterprise applications. LDAP enables central management of users, groups, devices, and other data, thereby simplifying directory management and reducing the total cost of ownership. Understanding and Deploying LDAP Directory Services, written by the creators of the protocol, is known as the LDAP bible and is the classic text for learning about LDAP and how to utilize it effectively. The Second Edition builds on this success by acting as an exhaustive resource for designing, deploying, and maintaining LDAP directory services. Topics such as implementation pitfalls, establishing and maintaining user access to information, troubleshooting, and real-world scenarios will be thoroughly explored.

Timothy A. Howes, Ph.D., coinventor of the LDAP protocol, is the cofounder and chief technology officer of Opsware Inc., the leading provider of data center automation software. Previously, Dr. Howes served as vice president of technology for America Online, as chief technology officer of Netscape¿s Server Products division, and as chief architect of several Netscape server products. Mark C. Smith is the chief architect for directory products at Netscape Communications Corporation, an AOL Time Warner company, where he is responsible for the technical evolution of Netscape Directory Server and several other products and services. Mr. Smith is coauthor of LDAP: Programming Directory-Enabled Applications with Lightweight Directory Access Protocol (Macmillan, 1997) and has written many RFCs and Internet Drafts. Gordon S. Good is a senior software engineer at Opsware, Inc. Before joining Opsware, he worked at Netscape Communications Corporation, where he led the directory-server-replication development team. Gordon has written several RFCs and Internet Drafts. 0672323168AB03212003

I. INTRODUCTION TO DIRECTORY SERVICES AND LDAP.

1. Directory Services Overview and History.


What a Directory Is.



Directories Are Dynamic.



Directories Are Flexible.



Directories Can Be Secure.



Directories Can Be Personalized.



Directory Described.



What a Directory Can Do for You.



Finding Things.



Managing Things.



Lightweight Database Applications.



Security Applications.



What a Directory Is Not.



Directories versus Databases.



Directories versus File Systems.



Directories versus Web Servers.



Directories versus FTP Servers.



Directories versus DNS Servers.



The Complementary Directory.



The History and Origins of LDAP.



The Dawn of Standard Directories: X.500.



The Creation and Rise of LDAP.



The Key Advantages of LDAP.



Further Reading.



Looking Ahead.

2. Introduction to LDAP.


What Is LDAP?



The LDAP Protocol.



The LDAP Protocol on the Wire.



The LDAP Models.



The LDAP Information Model.



The LDAP Naming Model.



The LDAP Functional Model.



The LDAP Security Model.



LDIF.



LDIF Representation of Directory Entries.



LDIF Update Statements.



LDAP Server Software.



LDAP Command-Line Utilities.



The ldapsearch Command-Line Utility.



The ldapmodify Command-Line Utility.



LDAP APIs.



Overview of the LDAP C API.



Other LDAP APIs.



LDAP and Internationalization.



LDAP Overview Checklist.



Further Reading.



Looking Ahead.

3. LDAPv3 Extensions.


How LDAPv3 Is Extended.



LDAP Controls.



LDAP Extended Operations.



SASL Authentication Mechanisms.



The Root DSE and Extension Discovery.



Selected LDAPv3 Extensions.



The ManageDSAIT Control.



The Persistent Search Request and Entry Change Notification Response Controls.



The Server-Side Sorting Request and Response Controls.



The Virtual List View Request and Response Controls.



The Proxied Authorization Control.



Password Expiration Controls.



Bulk Import Extended Operations.



The EXTERNAL SASL Mechanism.



The DIGEST-MD5 SASL Mechanism.



Future Directions: Where Is LDAP Headed Next?



Increased Integration into Operating Systems and Middleware.



Emerging Standards Work.



Other LDAP-Related Standards Work.



LDAP and XML.



DSML.



LDAP Extensions and Future Directions Checklists.



Further Reading.



Looking Ahead.

4. Overview of Netscape Directory Server.


Basic Installation.



Extracting and Starting the Setup Program.



Answering Installation Questions.



Completing the Installation and Loading Sample Data.



A Brief Hands-on Tour of Netscape Directory Server.



Searching.



Manipulating Netscape Directory Server Databases.



Controlling Access to Directory Data.



Changing the Server Configuration Using LDAP.



Product Focus and Feature Set.



Origin.



Product Focus.



Feature Set.



Extending the Netscape Server: A Simple Plug-in Example.



Problem Statement.



The Design of the Value Constraint Plug-In.



The Source Code for the Value Constraint Plug-In.



Compiling and Installing the Value Constraint Plug-In.



The Resulting Server Behavior.



Ideas for Improvement.



Further Reading.



Looking Ahead.

II. Designing Your Directory Service.

5. Directory Design Road Map.


The Directory Life Cycle.



Design.



Deployment.



Maintenance.



Directory Design Checklist.



Further Reading.



Looking Ahead.

6. Defining Your Directory Needs.


Overview of the Directory Needs Definition Process.



Step 1: Analyze Your Environment.



Step 2: Determine and Prioritize Needs.



Step 3: Choose an Overall Directory Design and Deployment Approach.



Step 4: Set Goals and Milestones.



Analyzing Your Environment.



Organizational Structure and Geography.



Computer Systems.



The Network.



Application Software.



Determining and Prioritizing Application Needs.



Data.



Performance.



Level of Service.



Security.



Prioritizing Application Needs.



Determining and Prioritizing Users' Needs and Expectations.



Asking Your Users.



Accuracy and Completeness of Data.



Privacy.



Audience.



The Relationship of User Needs to Application Needs.



Prioritizing Your Users' Needs.



Determining and Prioritizing Deployment Constraints.



Resources.



Openness of the Process.



Skills of the Directory System Designers.



Skills and Needs of System Administrators.



The Political Climate.



Prioritizing Your Deployment Constraints.



Determining and Prioritizing Other Environmental Constraints.



Hardware and Software.



The Network.



Criticality of Service.



Security.



Coexistence with Other Databases and Directories.



Prioritizing Your Environmental Constraints.



Choosing an Overall Directory Design and Deployment Approach.



Match the Prevailing Philosophy.



Take Constraints into Account.



Favor Simple over Complex.



Focus on the Most Important Needs.



Setting Some Goals and Milestones.



Goals.



Milestones.



Recommendations for Setting Goals and Milestones.



Defining Your Directory Needs Checklist.



Further Reading.



Looking Ahead.

7. Data Design.


Data Design Overview.



Common Data-Related Problems.



Creating a Data Policy Statement.



Identifying Which Data Elements You Need.



General Characteristics of Data Elements.



Format.



The Size of Each Data Value.



The Number of Distinct Data Values.



Data Ownership and Restrictions.



Consumers.



Frequency of Changes in Values: Dynamic or Static?



Range of Applicability: Shared or Application-Specific?



Relationships with Other Data Elements.



A Data Element Characteristics Example.



Analyzing Data Elements.



Sources of Data.



Other Directory Services and Network Operating Systems.



Databases.



Files.



Applications.



Administrators.



End Users.



Maintaining Good Relationships with Other Data Sources.



Replication.



Synchronization.



Batch Updates.



Political Considerations.



Data Design Checklist.



Further Reading.



Looking Ahead.

8. Schema Design.


The Purpose of a Schema.



Elements of LDAP Schemas.



Attributes.



Object Classes.



Schema Element Summary.



Directory Schema Formats.



The LDAPv3 Schema Format.



The ASN.1 Schema Format.



The Schema-Checking Process.



Schema-Checking Examples.



Schema Design Overview.



A Few Words about Schema Configuration.



The Relationship of Schema Design to Data Design.



Let's Call the Whole Thing Off.



Sources of Predefined Schemas.



Directory-Enabled Applications.



Standard Schemas.



Schemas Provided by Directory Vendors.



Adding a Schema to an Installed Directory Server.



Defining New Schema Elements.



Choosing Names for New Attribute Types and Object Classes.



Obtaining and Assigning Object Identifiers.



Modifying Existing Schema Elements.



Subclassing an Existing Object Class.



Adding Auxiliary Information to a Directory Object.



Accommodating New Types of Objects.



Tips for Defining New Schemas.



Documenting and Publishing Your Schemas.



Schema Maintenance and Evolution.



Establishing a Schema Review Board.



Granting Permission to Change the Schema Configuration.



Changing Existing Schemas.



Upgrading Directory Service Software.



Schema Design Checklist.



Further Reading.



Looking Ahead.

9. Namespace Design.


The Structure of a Namespace.



The Purposes of a Namespace.



Analyzing Your Namespace Needs.



Choosing a Suffix.



Flat and Hierarchical Schemes.



Naming Attributes.



Application Considerations.



Administrative Considerations of Naming Attributes and RDNs.



Privacy Considerations.



Anticipating the Future.



Examples of Namespaces.



Flat Namespace Examples.



Hierarchical Namespace Examples.



Namespace Design Checklist.



Further Reading.



Looking Ahead.

10. Topology Design.


Directory Topology Overview.



Definition of a Partition.



Gluing the Directory Together: Knowledge References.



Name Resolution in the Distributed Directory.



Configuring a Distributed Directory.



Authentication in a Distributed Directory.



Security Implications.



Advantages and Disadvantages of Partitioning.



Designing Your Directory Server Topology.



Step 1: Inventory Your Directory-Enabled Applications.



Step 2: Understand Your Directory Server Software and Its Capabilities.



Step 3: Create a Map of Your Physical Network.



Step 4: Review Your Directory Namespace Design.



Step 5: Consider Political Constraints.



Directory Partition Design Examples.



Topology Design Checklist.



Further Reading.



Looking Ahead.

11. Replication Design.


Why Replicate?



Replication Concepts.



Suppliers, Consumers, and Replication Agreements.



The Unit of Replication.



Consistency and Convergence.



Incremental and Total Updates.



Initial Population of a Replica.



Replication Strategies.



Replication Protocols.



Advanced Replication Features.



Replicating a Subset of Directory Information.



Active Directory GC Servers.



Scheduling Replication.



Scheduling Update Latency by Attribute Type.



Schemas and Replication.



Access Control and Replication.



Designing Your Directory Replication System.



Designing for Maximum Reliability.



Designing for Maximum Performance.



Other Considerations.



Choosing Replication Solutions.



Replication Design Checklist.



Further Reading.



Looking Ahead.

12. Privacy and Security Design.


Security Guidelines.



The Purpose of Security.



Security Threats.



Unauthorized Access.



Unauthorized Tampering.



Denial-of-Service Attacks.



Security Tools.



Analyzing Your Security and Privacy Needs.



Directory Requirements.



Understanding Your Environment.



Understanding Your Users.



Understanding Your Corporate Policies and Applicable Laws.



Designing for Security.



Authentication.



Access Control.



Information Privacy and Integrity.



Administrative Security.



Respecting Your Users' Privacy.



Security versus Deployability.



Privacy and Security Design Checklist.



Further Reading.



Looking Ahead.

III. Deploying Your Directory Service.

13. Evaluating Directory Products.


Making the Right Product Choice.



Categories of Directory Software.



NOS Applications.



Intranet Applications.



Extranet Applications.



Internet-Facing Hosted Applications.



Lightweight Database Applications.



Evaluation Criteria for Directory Software.



Core Features.



Management Features.



Reliability.



Performance and Scalability.



Security.



Standards Compliance.



Interoperability.



Cost.



Flexibility and Extensibility.



Other Considerations.



An Evaluation Criteria Example.



Reaching a Decision.



Gathering Basic Product Information.



Quizzing the Software Vendors.



Challenging the Vendors to Show What Their Products Can Do.



Conducting a Directory Services Pilot.



Negotiating the Best Possible Deal.



Evaluating Directory Products Checklist.



Further Reading.



Looking Ahead.

14. Piloting Your Directory Service.


A Piloting Road Map.



Prepilot Testing.



Defining Your Goals.



Defining Your Scope and Time Line.



Developing Documentation and Training Materials.



Selecting Your Users.



Setting Up Your Environment.



Rolling Out the Pilot.



Collecting Feedback.



Scaling Up the Pilot.



Applying What You've Learned.



Piloting Your Directory Service Checklist.



Looking Ahead.

15. Analyzing and Reducing Costs.


The Politics of Costs.



Reducing Costs.



General Principles of Cost Reduction.



Design, Piloting, and Deployment Costs.



Design Costs.



Piloting Costs.



Deployment Hardware Costs.



Deployment Software Costs.



Ongoing Costs of Providing Your Directory Service.



Software Upgrade Costs.



Hardware Upgrade and Replacement Costs.



Monitoring Costs.



Data Maintenance Costs.



Backup and Restore Costs.



Disaster Recovery Plan Costs.



Support and Training Costs.



Support and Maintenance Contract Costs.



Costs of Adding New Directory-Enabled Applications.



Analyzing and Reducing Costs Checklist.



Further Reading.



Looking Ahead.

16. Putting Your Directory Service into Production.


Creating a Plan for Putting Your Directory Service into Production.



List the Resources Needed for the Rollout.



Create a List of Prerequisite Tasks.



Create a Detailed Rollout Plan.



Develop Criteria for Success.



Create a Publicity and Marketing Plan.



Advice for Putting Your Directory Service into Production.



Don't Jump the Gun.



Maintain Focus.



Adopt an Incremental Approach.



Prepare Yourself Well.



Executing Your Plan.



Putting Your Directory Service into Production Checklist.



Looking Ahead.

IV. Maintaining Your Directory Service.

17. Backups and Disaster Recovery.


Backup and Restore Procedures.



Backing Up and Restoring Directory Data Using Traditional Techniques.



Other Things to Back Up.



Using Replication for Backup and Restore.



Using Replication and Traditional Backup Techniques Together.



Safeguarding Your Backups.



Verifying Your Backups.



Disaster Planning and Recovery.



Types of Disasters.



Developing a Directory Disaster Recovery Plan.



Directory-Specific Issues in Disaster Recovery.



Backups and Disaster Recovery Checklist.



Further Reading.



Looking Ahead.

18. Maintaining Data.


The Importance of Data Maintenance.



The Data Maintenance Policy.



Application-Maintained Data.



Centrally Maintained Data.



User-Maintained Data.



Handling New Data Sources.



Handling Exceptions.



Checking Data Quality.



Methods of Checking Quality.



Implications of Checking Quality.



Correcting Bad Data.



Maintaining Data Checklist.



Further Reading.



Looking Ahead.

19. Monitoring.


Introduction to Monitoring.



Methods of Monitoring.



General Monitoring Principles.



Selecting and Developing Monitoring Tools.



Monitoring Your Directory with SNMP and an NMS.



Monitoring Your Directory with Custom Probing Tools.



Notification Techniques.



Basic Notification Principles.



Notification Methods.



Testing Your Notification System.



Taking Action.



Planning Your Course of Action.



Minimizing the Effect.



Understanding the Root Cause.



Correcting the Problem.



Documenting What Happened.



A Sample Directory Monitoring Utility.



Performance Analysis.



Obtaining Raw Usage Data.



Digesting and Analyzing Raw Performance Data.



Drawing Conclusions.



Monitoring Checklist.



Further Reading.



Looking Ahead.

20. Troubleshooting.


Discovering Problems.



Types of Problems.



Directory Outages.



Performance Problems.



Problems with Directory Data.



Security Problems.



Troubleshooting and Resolving Problems.



Step 1: Assess the Problem, and Inform Affected Persons.



Step 2: Contain the Damage.



Step 3: Put the System Back into Service by Applying a Short-Term Fix.



Step 4: Fully Understand the Problem, and Devise a Long-Term Fix.



Step 5: Implement the Long-Term Fix, and Take Steps to Prevent the Problem from Recurring.



Step 6: Arrange to Monitor for the Problem.



Step 7: Document What Happened.



Troubleshooting Checklist.



Directory Outages.



Performance Problems.



Problems with Directory Data.



Security Problems.



Further Reading.



Looking Ahead.

V. Leveraging Your Directory Service.

21. Developing New Applications.


Reasons to Develop Directory-Enabled Applications.



Lowering Your Data Management Costs.



Adapting the Directory to Fit Your Organization.



Saving on Deployment and Maintenance Costs.



Creating Entirely New Kinds of Applications.



When It Does Not Make Sense to Directory-Enable.



Common Ways That Applications Use Directories.



Locating and Sharing Information.



Verifying Authentication Credentials.



Aiding the Deployment of Other Services.



Making Access Control Decisions.



Enabling Location Independence.



Tools for Developing LDAP Applications.



LDAP SDKs.



LDAP Command-Line Tools.



LDAP Tag Libraries for Web Development.



Directory-Agnostic SDKs.



Advice for LDAP Application Developers.



Striving to Fit In.



Communicating Your Application's Directory Needs.



Designing for Good Performance and Scalability.



Developing a Prototype and Conducting a Pilot.



Leveraging Existing Code.



Avoiding Common Mistakes.



Example 1: setpwd, a Password-Resetting Utility.



Directory Use.



The Help Desk Staff's Experience.



The Source Code.



Ideas for Improvement.



Example 2: SimpleSite, a Web Site with User Profile Storage.



Directory Use.



The User Experience.



The Source Code.



Ideas for Improvement.



Developing New Applications Checklist.



Further Reading.



Looking Ahead.

22. Directory-Enabling Existing Application


Reasons to Directory-Enable Existing Applications.



Enabling New Features in Applications.



Lowering Data Management Costs.



Simplifying Life for End Users.



Bringing the Directory Service to Your End Users.



Advice for Directory-Enabling Existing Applications.



Hide the Directory Integration.



Make the New Directory Capabilities Visible.



Use a Protocol Gateway to Achieve Integration.



Avoid Problematic Architectural Choices.



Consider How the Directory Service Will Be Affected.



Plan for a Smooth Transition.



Be Creative, and Consider All Your Options.



Example 1: A Directory-Enabled finger Service.



The Integration Approach.



Directory Use.



The End-User Experience.



The Source Code.



Ideas for Improvement.



Example 2: Adding LDAP Address Lookup to an E-Mail Client.



The Integration Approach.



The End-User Experience.



The Source Code.



Ideas for Improvement.



Directory-Enabling Existing Applications Checklist.



Further Reading.



Looking Ahead.

23. Directory Coexistence.


Why Is Coexistence Important?



Coexistence Techniques.



Migration.



One-Way Synchronization.



Two-Way Synchronization.



N-Way Join.



Virtual Directory.



Data Translation.



Privacy and Security Considerations.



The Join Attribute.



Data Transport.



Data Source Security.



Determining Your Coexistence Requirements.



Directory Coexistence Implementation Considerations.



Implementation Options.



Performance Implications.



Directory Coexistence Tools.



Tuning and Troubleshooting.



Monitoring and Caring for Your Coexistence Solution.



Example: The ldapsync Tool: One-Way Synchronization with Join.



How It Works.



Usage Examples.



The Source Code.



Ideas for Improvement.



Directory Coexistence Checklist.



Further Reading.



Looking Ahead.

VI. Case Studies.

24. Case Study: Netscape Communications Corporation 797


Overview of the Organization.



Directory Drivers.



Directory Service Design.



Needs.



Data.



Schema.



Namespace.



Topology.



Replication.



Privacy and Security.



Directory Service Deployment.



Product Choice.



Piloting.



Putting Your Directory Service into Production.



Directory Service Maintenance.



Data Backups and Disaster Recovery.



Maintaining Data.



Monitoring.



Leveraging the Directory Service.



Directory Deployment Impact.



Summary and Lessons Learned.



Further Reading.



Looking Ahead.

25. Case Study: A Large Multinational Enterprise.


Overview of the Organization.



Directory Drivers.



Directory Service Design.



Needs.



Data.



Schema.



Namespace.



Topology.



Replication.



Privacy and Security.



Directory Service Deployment.



Product Choice.



Piloting.



Analyzing and Reducing Costs.



Putting the Directory Service into Production.



Directory Service Maintenance.



Data Backups and Disaster Recovery.



Maintaining Data.



Monitoring.



Troubleshooting.



Leveraging the Directory Service.



Applications.



Directory Deployment Impact.



Summary and Lessons Learned.



Further Reading.



Looking Ahead.

26. Case Study: An Enterprise with an Extranet.


Overview of the Organization.



Directory Drivers.



Directory Service Design.



Needs.



Data.



Schema.



Namespace.



Topology.



Replication.



Privacy and Security.



Directory Service Deployment.



Product Choice.



Piloting.



Putting Your Directory Service into Production.



Directory Service Maintenance.



Data Backups and Disaster Recovery.



Maintaining Data.



Monitoring.



Troubleshooting.



Leveraging the Directory Service.



Directory Deployment Impact.



Summary and Lessons Learned.



Looking Ahead.

Index. 0672323168T04142003

Erscheint lt. Verlag 1.5.2013
Verlagsort New Jersey
Sprache englisch
Maße 188 x 231 mm
Gewicht 1545 g
Themenwelt Informatik Netzwerke LDAP / Active Directory
ISBN-10 0-672-33446-1 / 0672334461
ISBN-13 978-0-672-33446-7 / 9780672334467
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein: