diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2009-08-25 13:23:16 -0600 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2009-08-25 13:24:12 -0600 |
| commit | 177f772ec3d596028eb2a633f3ed360186df42fc (patch) | |
| tree | bfbbf1b2ed0ec0a9a752708e40211153045a7459 /ldap/schema | |
| parent | 1a4437b32afd9f9c089cb35943a0e3eaea129e2d (diff) | |
| download | ds-177f772ec3d596028eb2a633f3ed360186df42fc.tar.gz ds-177f772ec3d596028eb2a633f3ed360186df42fc.tar.xz ds-177f772ec3d596028eb2a633f3ed360186df42fc.zip | |
Need to store additional attributes in Retro Changelog
https://bugzilla.redhat.com/show_bug.cgi?id=504651
Resolves: 504651
Bug Description: Need to store additional attributes in Retro Changelog
Submitted by: Endi Sukma Dewata <edewata@redhat.com>
Reviewed by: rmeggins (thanks!)
Platforms tested: FC10 x86_64
Fix Description: The fix allows recording some user-defined attributes
from the target entry of the operation (e.g. objectGUID) and built-in
attributes generated by the plugin (e.g. isReplicated) into the change
log entry. The attributes should be specified in the configuration entry:
dn: cn=Retro Changelog Plugin,cn=plugins,cn=config
...
nsslapd-attribute: objectGUID
nsslapd-attribute: isReplicated
The change log entry will contain the additional attributes:
dn: changeNumber=...,cn=changelog
...
objectGUID: ...
isReplicated: ...
---
Diffstat (limited to 'ldap/schema')
| -rw-r--r-- | ldap/schema/02common.ldif | 1 | ||||
| -rw-r--r-- | ldap/schema/60changelog.ldif | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ldap/schema/02common.ldif b/ldap/schema/02common.ldif index d284779c..cf851e13 100644 --- a/ldap/schema/02common.ldif +++ b/ldap/schema/02common.ldif @@ -182,3 +182,4 @@ objectClasses: ( 2.16.840.1.113730.3.2.128 NAME 'costemplate' DESC 'Netscape def objectClasses: ( 2.16.840.1.113730.3.2.304 NAME 'nsView' DESC 'Netscape defined objectclass' SUP top AUXILIARY MAY ( nsViewFilter $ description ) X-ORIGIN 'Netscape Directory Server' ) objectClasses: ( 2.16.840.1.113730.3.2.316 NAME 'nsAttributeEncryption' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ nsEncryptionAlgorithm ) X-ORIGIN 'Netscape Directory Server' ) objectClasses: ( 2.16.840.1.113730.3.2.317 NAME 'nsSaslMapping' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ nsSaslMapRegexString $ nsSaslMapBaseDNTemplate $ nsSaslMapFilterTemplate ) X-ORIGIN 'Netscape Directory Server' ) +attributeTypes: ( 2.16.840.1.113730.3.1.2085 NAME 'isReplicated' DESC 'Changelog attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Netscape Directory Server' ) diff --git a/ldap/schema/60changelog.ldif b/ldap/schema/60changelog.ldif index 20dff136..ba3b82e9 100644 --- a/ldap/schema/60changelog.ldif +++ b/ldap/schema/60changelog.ldif @@ -81,6 +81,17 @@ attributeTypes: ( # ################################################################################ # +attributeTypes: ( + 2.16.840.1.113730.3.1.2085 + NAME 'isReplicated' + DESC 'a flag which indicates whether the change was replicated' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 + SINGLE-VALUE + ) +# +################################################################################ +# objectClasses: ( 2.16.840.1.113730.3.2.1 NAME 'changeLogEntry' |
