⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slapo-lastmod.5

📁 ldap服务器源码
💻 5
字号:
.\" Copyright 2004-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply.  See COPYRIGHT/LICENSE..TH SLAPO_LASTMOD 5 "RELEASEDATE" "OpenLDAP LDVERSION".SH NAMEslapo-lastmod \- Last Modification overlay.SH SYNOPSISETCDIR/slapd.conf.SH DESCRIPTION.LPThe .B lastmodoverlay creates a service entry rooted at the suffix of the databaseit's stacked onto, which holds the DN, the modification type,the modifiersName and the modifyTimestamp of the last write operationperformed on that database.The lastmod overlay cannot be used when the "lastmod" featureis disabled, i.e. "lastmod off" is used..PAll operations targeted at the DN of the lastmod entry are rejected,except reads, i.e. searches with .B basescope.Regular operations are ignored, unless they result in writing; then,in case of success, the lastmod entry is updated accordingly,if possible..SH CONFIGURATIONThese .B slapd.confconfiguration options apply to the lastmod overlay. They must appearafter the.B overlaydirective..TP.B lastmod-rdnvalue <RDN value>Specify the value of the RDN used for the service entry.  By default.I Lastmodis used..TP.B lastmod-enabled {yes|no}Specify whether the overlay must be enabled or not at startup.By default, the overlay is enabled; however, by changing the booleanvalue of the attribute.IR lastmodEnabled ,one can affect the status of the overlay.This is useful, for instance, to inhibit the overlay from keeping trackof large bulk loads or deletions..SH OBJECT CLASSThe .B lastmodoverlay depends on the.B lastmodobjectClass.  The definition of that class is as follows:.LP.RS 4( 1.3.6.1.4.1.4203.666.3.13 "    NAME 'lastmod'    DESC 'OpenLDAP per-database last modification monitoring'    STRUCTURAL    SUP top    MUST ( cn $ lastmodDN $ lastmodType )    MAY ( description $ seeAlso ) ).RE.SH ATTRIBUTES.PEach one of the sections below details the meaning and use of a particularattribute of this.B lastmodobjectClass.Most of the attributes that are specific to the lastmod objectClass areoperational, since they can logically be altered only by the DSA.The most notable exception is the.I lastmodEnabledattributeType, which can be altered via protocol to change the statusof the overlay..P.B lastmodEnabled.PThis attribute contains a boolean flag that determines the statusof the overlay.  It can be altered via protocol by issuing a modifyoperation that replaces the value of the attribute..LP.RS 4(  1.3.6.1.4.1.4203.666.1.30   NAME 'lastmodEnabled'   DESC 'Lastmod overlay state'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7   EQUALITY booleanMatch   SINGLE-VALUE ).RE.SH OPERATIONAL ATTRIBUTES.PEach one of the sections below details the meaning and use of a particularattribute of this.B lastmodobjectClass.Most of the attributes that are specific to the lastmod objectClass areoperational, since they can logically be altered only by the DSA..P.B lastmodDN.PThis attribute contains the distinguished name of the entrythat was last modified within the naming context of a database..LP.RS 4(  1.3.6.1.4.1.4203.666.1.28   NAME 'lastmodDN'   DESC 'DN of last modification'   EQUALITY distinguishedNameMatch   SYNTAX 1.3.6.1.4.1.1466.115.121.1.12   NO-USER-MODIFICATION   USAGE directoryOperation ).RE.B lastmodType.PThis attribute contains the type of the modification that occurredto the last modified entry.  Legal values are.BR add ,.BR delete ,.BR exop ,.BR modify ,.B modrdnand.BR unknown .The latter should only be used as a fall-thru in case of unhandledrequest types that are considered equivalent to a write operation..LP.RS 4(  1.3.6.1.4.1.4203.666.1.29   NAME 'lastmodType'   DESC 'Type of last modification'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.15   EQUALITY caseIgnoreMatch   SINGLE-VALUE   NO-USER-MODIFICATION   USAGE directoryOperation ).RE.SH EXAMPLES.LP.RS.nfdatabase    bdbsuffix      dc=example,dc=com\...overlay     lastmodlastmod-rdnvalue "Last Modification".fi.RE.SH SEE ALSO.BR ldap (3),.BR slapd.conf (5),.LP"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/).LP.SH BUGSIt is unclear whether this overlay can safely interoperate with other overlays.If the underlying backend does not implement entry_get/entry_releasehandlers, modrdn update can become tricky.The code needs some cleanup and more consistent error handling.So far, the OIDs for the schema haven't been assigned yet..SH ACKNOWLEDGEMENTS.PThis module was written in 2004 by Pierangelo Masarati in fulfillmentof requirements from SysNet s.n.c.; this man page has been copiedfrom .BR slapo-ppolicy (5),and most of the overlays ever written are copied from Howard Chu'sfirst overlays..P.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -