#38 nisDomain schema is incorrect, causes errors upon upgrade
Closed: Fixed None Opened 7 years ago by mkosek.


Description of problem:

Upgrading from 1.2.6 to 1.2.8 leads to the following errors on service startup:

[08/Jul/2011:15:48:39 -0700] attr_syntax_create - Error: the EQUALITY matching
rule [caseIgnoreMatch] is not compatible with the syntax
[] for the attribute [nisDomain]
[08/Jul/2011:15:48:39 -0700] attr_syntax_create - Error: the SUBSTR matching
rule [caseIgnoreSubstringsMatch] is not compatible with the syntax
[] for the attribute [nisDomain]

Fix: 60nis.ldif should be updated as follows:

attributeTypes: (
  NAME 'nisDomain'
  DESC 'NIS domain'
  SUP name
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch

I was told to report this bug by richm1 from #389 on freenode.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  Install 1.2.6
2.  Notice that there are no errors on startup
3.  Upgrade to 1.2.8
4.  Notice that there are errors on startup

Actual results:

Service does not start up without errors.

Expected results:

Service should start up without errors.

Additional info:

Fix is pushed

[mareynol@localhost schema]$ git push origin master
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 553 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
790cbbb..b4cd137 master -> master

Added initial screened field value.

Metadata Update from @nkinder:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.2.10.rc1

2 years ago

Login to comment on this ticket.