summaryrefslogtreecommitdiffstats
path: root/ldap/schema
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-07-29 18:04:48 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-07-29 18:04:48 -0700
commit666873df0752427eb187ce81c22b1d5db7914415 (patch)
tree9479f1133f3b970cb6d1026bcbde65f29b1a5c44 /ldap/schema
parentbaea677acb49c94b6204b26e7d7aeb20a9474f53 (diff)
downloadds-666873df0752427eb187ce81c22b1d5db7914415.tar.gz
ds-666873df0752427eb187ce81c22b1d5db7914415.tar.xz
ds-666873df0752427eb187ce81c22b1d5db7914415.zip
619595 - Upgrading sub suffix under non-normalized suffix disappears
https://bugzilla.redhat.com/show_bug.cgi?id=619595 Fix Description: The cause of this problem is the config attribute nsslapd-parent-suffix was not defined as an attribute of DN syntax. Because of the missing definition, the value is not the target of the DN normalization and the match fails after upgraded. Adding the attribute to the schema solves this problem. Plus upgradedb does backup the DB before upgrade, and if it fails it restores from the backed up DB. Use dblayer_restore instead of copying DB files one by one.
Diffstat (limited to 'ldap/schema')
-rw-r--r--ldap/schema/02common.ldif1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/schema/02common.ldif b/ldap/schema/02common.ldif
index 5269d3bd..d039be78 100644
--- a/ldap/schema/02common.ldif
+++ b/ldap/schema/02common.ldif
@@ -145,6 +145,7 @@ attributeTypes: ( 1.3.6.1.1.5 NAME 'vendorVersion' EQUALITY 1.3.6.1.4.1.1466.109
attributeTypes: ( 2.16.840.1.113730.3.1.3023 NAME 'nsViewFilter' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'Netscape Directory Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.2063 NAME 'nsEncryptionAlgorithm' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'Netscape Directory Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.2093 NAME 'nsslapd-changelogsuffix' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Netscape' )
+attributeTypes: ( 2.16.840.1.113730.3.1.2094 NAME 'nsslapd-parent-suffix' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Netscape' )
#
# objectclasses:
#