书目详情:
Mastering OpenLDAPTable of ContentsMastering OpenLDAPCreditsAbout the AuthorAbout the ReviewersPrefaceWhat This Book CoversWhat You Need for This BookConventionsReader FeedbackCustomer SupportDownloading the Example Code for the BookErrataQuestions1. Directory Servers and LDAPLDAP BasicsWhat is a Directory?The Structure of a Directory EntryA Unique Name: The DNAn Example LDAP EntryThe Object Class AttributeOperational AttributesThe Directory Information TreeWhat to Do with an LDAP ServerThe History of LDAP and OpenLDAPA Technical Overview of OpenLDAPThe ServerClientsUtilitiesLibrariesSummary2. Installation and ConfigurationBefore Getting StartedOpenLDAP Binaries for Operating SystemsCommercial OpenLDAP DistributionSource Code CompilationA Quick Note on VersionsInstallationDependenciesInstalling OpenLDAPConfiguring the SLAPD ServerBasicsSchemasMore DirectivesModule DirectivesDatabase ConfigurationACLsVerifying a Configuration FileStarting and Stopping the ServerUsing the Init ScriptRunning SLAPD DirectlyConfiguring the LDAP ClientsA Basic ldap.conf FileSize and Time LimitsTesting the ServerSummary3. Using OpenLDAPA Brief Survey of the LDAP SuiteLDAP from the Server SideSLAPDThe Binding OperationThe Search OperationMore Operations: Additions, Modifications, and DeletionsThe Addition OperationThe Modification OperationThe Delete OperationInfrequent OperationsThe ModifyDN OperationThe Compare OperationThe Extended OperationSLAPD SummarySLURPDCreating Directory DataThe LDIF File FormatAnatomy of an LDIF FileRepresenting Attribute Values in LDIFExample.Com in LDIFDefining the Base DN RecordStructuring the Directory with Organizational UnitsTheory 1: Directory as Organizational ChartTheory 2: Directory as IT ServiceExpressing the OUs in LDIFAdding User RecordsAdding System RecordsAdding Group RecordsThe Complete LDIF FileUsing the Utilities to Prepare the DirectoryslapaddWhen Should slapadd be Used?What Does slapadd Do?Loading the LDIF FileStopping the ServerRunning ldapadd in Test ModeImporting the Records Using slapaddRestarting the DirectoryIf Something Went Wrong...Destroying and Recreating the Directory FilesslapindexslapcatOperational AttributesslapaclslapauthslapdnslappasswdStoring and Using Passwords in OpenLDAPGenerating a Password with slappasswdslaptestPerforming Directory Operations Using the ClientsCommon Command-Line FlagsCommon FlagsSetting Defaults in ldap.confldapsearchA Simple SearchRestricting Returned FieldsRequesting Operational AttributesSearching Using a FileldapaddAdding Records from a FileldapmodifyAdding a Record with ldapmodifyModifying Existing RecordsModifying the Relative DNMoving a Record with modrdnDeleting Entire RecordsldapdeleteldapcompareldapmodrdnModifying the Superior DN with ldapmodrdnldappasswdldapwhoamiSummary4. Securing OpenLDAPLDAP Security: The Three AspectsSecuring Network-Based Directory Connections with SSL/TLSThe Basics of SSL and TLSAuthenticityEncryptionStartTLSCreating an SSL/TLS CACreating a CertificateCreating a New Certificate RequestSigning the Certificate RequestConfiguring and Installing the CertificatesRemove the Pass Phrase from the KeyRelocate the CertificatesInstall the CA CertificateOptional: Clean UpConfiguring StartTLSConfiguring Client TLSConfiguring LDAPSDebugging with the OpenSSL ClientUsing Security Strength FactorsThe security DirectiveA Fine-Grained security DirectiveAuthenticating Users to the DirectorySimple BindingUsing an Authentication User for Simple BindingSASL BindingConfiguring Cyrus SASLThe SASL Configuration FileSetting a User PasswordConfiguring SLAPD for SASL SupportUsing a Replacement String in authz-regexpUsing a Search Filter in authz-regexpA Note on ACLs and Search FiltersFailure of MappingRemoving the Need to Specify the RealmDebugging the SASL ConfigurationUsing Client SSL/TLS Certificates to AuthenticateCreating a New Client CertificateConfiguring the ClientConfiguring the ServerTesting with ldapwhoamiGoing Further with SASLControlling Authorization with ACLsThe Basics of ACLsAccess to [resources]Access using DNAccess using attrsAccess using FiltersCombining Access SpecifiersBy [who] [type of access granted] [control]The Access FieldThe who FieldThe * and anonymous SpecifiersThe self SpecifierThe users SpecifierThe dn SpecifierGroups and MembersMember-Based Record AccessNetwork, Connections, and SecurityAdvanced Step: Using the set SpecifierThe control FieldGetting More from Regular ExpressionsDebugging ACLsA Practical ExampleSummary5. Advanced ConfigurationMultiple Database BackendsThe slapd.conf FileCreating and Importing a Second DirectoryPerformance TuningPerformance DirectivesGlobal DirectivesTime LimitsIdle TimeoutsSize LimitsThreadsDirectives in the Database SectionLimitsRead-only and Restrict DirectivesIndex BDB/HDB Backends Only)Controlling the Cache BDB/HDB Only)Reducing Disk I/O Latency BDB/HDB Only)The DB_CONFIG FileSetting the Cache SizeConfiguring the Data DirectoryOptimizing BDB/HDB Transaction LoggingTuning Lock FilesMore about Berkeley DBDirectory OverlaysA Brief Tour of the Official OverlaysConfiguring an Overlay: denyopLoading the moduleAdding the OverlayAdding Overlay-Specific DirectivesReferential Integrity OverlayConfiguring the OverlayModifying the RecordsDrawbacksA Useful NoteThe Uniqueness OverlaySummary6. LDAP SchemasIntroduction to LDAP SchemasWhy Do They Look So Complicated?Schema DefinitionsObject Classes and AttributesObject Class DefinitionsAttribute DefinitionsObject Identifier DefinitionsDIT Content RulesRetrieving the Schemas from SLAPDThe ObjectClass HierarchyAttribute HierarchiesSubordinate Attributes and SearchingObject Class Types: Abstract, Structural, and AuxiliaryThe Object Class Hierarchy: An OverviewAbstract ClassesStructural Object ClassesAuxiliary Object ClassesMoving OnwardSchemas: Accesslog and Password Policy OverlaysLogging with the Accesslog OverlayLoading the accesslog ModuleConfiguring the Access Log BackendCreating A Directory for the Access Log FilesEnabling Logging for the Main BackendThe Log RecordsImplementing a Complex Overlay: Password PolicySetting the Global Directives in slapd.conf: Schema and ModuleCreating a Password PolicyConfigure the Overlay DirectivesTest the OverlayPassword Policy Operational AttributesSummary of ppolicy Operational AttributesCreating a SchemaGetting an OIDGiving Our OID a NameCreating Object ClassesCreating AttributesLoading the New SchemaTroubleshooting Schema LoadingA New RecordSummary7. Multiple DirectoriesReplication: An OverviewSyncReplConfiguring SyncReplConfiguring the Master ServerCreating a SyncRepl UserConfiguring the Shadow ServerThe syncrepl DirectiveConfiguring a ReferralStarting ReplicationFor Larger Directories...Delta SyncReplThe Master Servers ConfigurationThe Shadow Servers ConfigurationDebugging SyncReplStarting OverStrategic LoggingA Few Common MistakesConfiguring an LDAP ProxyUsing the LDAP BackendUsing Identity Management FeaturesTurning the Simple Proxy into a Caching ProxyNotes on the Attribute Sets and TemplatesA Translucent ProxySummary8. LDAP and the WebThe LDAP-Aware ApplicationApache and LDAPA Short Guide to Installing ApacheConfiguring LDAP AuthenticationLoading the ModulesEditing the default Configuration FileThe Directory Section—Apache 2.2Changes in Apache 2.0Other Features of the Require ParameterphpLDAPadminPrerequisitesInstalling phpLDAPadminIs Your Package Broken?Configuring phpLDAPadminA Basic Look at Configuration ParametersSetting a variableCalling a functionSetting an Array ValueConfiguring the LDAP Server SettingsA First Look at phpLDAPadminNavigating phpLDAPadminViewing and Modifying a RecordAdding a New RecordSearching with phpLDAPadminSummaryA. Building OpenLDAP from SourceWhy Build from Source?Getting the CodeThe Tools for CompilingBuild ToolsInstalling DependenciesCompiling OpenLDAPConfiguringBuilding with makeInstallationBuilding EverythingSummaryB. LDAP URLsThe LDAP URLCommon Uses of LDAP URLsNot all LDAP URLs are for SearchingFor More Information on LDAP URLs...SummaryC. Useful LDAP CommandsGetting Information about the DirectoryThe Root DSEThe Subschema RecordThe Configuration RecordMaking a Directory BackupA Backup Copy of the Directory DatabaseAn LDIF Backup FileRebuilding a Database BDB, HDB)Step 1: Stop the ServerStep 2: Dump the DatabaseStep 3: Delete the Old Database FilesStep 4: Create a New DatabaseStep 5: Restart SLAPDTroubleshooting RebuildsSummaryIndex
评论:

