I''m trying to upgrade from fedora-ds-base-1.1.2 and admin-1.1.6 to 389-ds-base-1.2.4 and admin-1.1.9. Running setup-ds-admin.pl -u I get: Are you ready to set up your servers? [yes]: dn: cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config objectclass: top objectclass: nsSlapdPlugin cn: SMD5 nsslapd-pluginpath: libpwdstorage-plugin nsslapd-plugininitfunc: smd5_pwd_storage_scheme_init nsslapd-plugintype: pwdstoragescheme nsslapd-pluginenabled: on Error adding entry ''cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config''. Error: Object class violation Could not reconfigure the admin server. Exiting . . . I''m guessing I need to copy the new /etc/dirsrv/schema files into /etc/dirsrv/slapd-<serverid>/schema? Don''t see that mentioned here: http://directory.fedoraproject.org/wiki/Install_Guide#Upgrading Should I file a bug? Thanks! -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
On 01/05/2010 02:23 PM, Orion Poplawski wrote:> Error adding entry ''cn=SMD5,cn=Password Storage > Schemes,cn=plugins,cn=config''. Error: Object class violationCause appears to be: [05/Jan/2010:14:11:10 -0700] - Entry "cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config" missing attribute "nsslapd-pluginDescription" required by object class "nsslapdPlugin" same schema requirements for this in both versions. I installed 1.2.5-0.4.rc3 and the problem went away even though the /usr/share/dirsrv/updates/50smd5pwdstorageplugin.ldif file appears to be the same. Perhaps no longer applied? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
Orion Poplawski wrote:> I''m trying to upgrade from fedora-ds-base-1.1.2 and admin-1.1.6 to > 389-ds-base-1.2.4 and admin-1.1.9. Running setup-ds-admin.pl -u I get: > > Are you ready to set up your servers? [yes]: > dn: cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config > objectclass: top > objectclass: nsSlapdPlugin > cn: SMD5 > nsslapd-pluginpath: libpwdstorage-plugin > nsslapd-plugininitfunc: smd5_pwd_storage_scheme_init > nsslapd-plugintype: pwdstoragescheme > nsslapd-pluginenabled: on > > Error adding entry ''cn=SMD5,cn=Password Storage > Schemes,cn=plugins,cn=config''. Error: Object class violation > Could not reconfigure the admin server. > Exiting . . . > > I''m guessing I need to copy the new /etc/dirsrv/schema files into > /etc/dirsrv/slapd-<serverid>/schema?No. With 389-ds-base 1.2.3 and later, this should be done automatically. Is there any additional information in the access or error log, like which attribute is causing the object class violation?> Don''t see that mentioned here: > http://directory.fedoraproject.org/wiki/Install_Guide#Upgrading > > Should I file a bug? > > Thanks! >
Orion Poplawski wrote:> On 01/05/2010 02:23 PM, Orion Poplawski wrote: >> Error adding entry ''cn=SMD5,cn=Password Storage >> Schemes,cn=plugins,cn=config''. Error: Object class violation > > Cause appears to be: > > [05/Jan/2010:14:11:10 -0700] - Entry "cn=SMD5,cn=Password Storage > Schemes,cn=plugins,cn=config" missing attribute > "nsslapd-pluginDescription" required by object class "nsslapdPlugin"Does the entry cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config exist in your /etc/dirsrv/slapd-instance/dse.ldif?> > same schema requirements for this in both versions. > > I installed 1.2.5-0.4.rc3 and the problem went away even though the > /usr/share/dirsrv/updates/50smd5pwdstorageplugin.ldif file appears to > be the same. Perhaps no longer applied?If the entry is already in dse.ldif, when it is loaded, the plugin code will add nsslapd-pluginDescription - this doesn''t happen when adding over LDAP.
On 01/05/2010 03:05 PM, Rich Megginson wrote:> Does the entry cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config > exist in your /etc/dirsrv/slapd-instance/dse.ldif?It does now.>> I installed 1.2.5-0.4.rc3 and the problem went away even though the >> /usr/share/dirsrv/updates/50smd5pwdstorageplugin.ldif file appears to >> be the same. Perhaps no longer applied? > If the entry is already in dse.ldif, when it is loaded, the plugin code > will add nsslapd-pluginDescription - this doesn''t happen when adding > over LDAP.So perhaps 1.2.5 adds it to dse.ldif, but 1.2.4 did not? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
Orion Poplawski wrote:> On 01/05/2010 03:05 PM, Rich Megginson wrote: >> Does the entry cn=SMD5,cn=Password Storage Schemes,cn=plugins,cn=config >> exist in your /etc/dirsrv/slapd-instance/dse.ldif? > > It does now. > >>> I installed 1.2.5-0.4.rc3 and the problem went away even though the >>> /usr/share/dirsrv/updates/50smd5pwdstorageplugin.ldif file appears to >>> be the same. Perhaps no longer applied? >> If the entry is already in dse.ldif, when it is loaded, the plugin code >> will add nsslapd-pluginDescription - this doesn''t happen when adding >> over LDAP. > > So perhaps 1.2.5 adds it to dse.ldif, but 1.2.4 did not?I think that even though you got the error with 1.2.4, it was added anyway.