[Date Prev][Date Next]
Re: upgrade problems, can't query
Tyler Retzlaff writes:
> After some experimentation with taking a subset of ldif's out of a
> slave (which hasn't been upgraded) and basing the new master (which
> has been upgraded) database on them we've discovered that it's some
> kind of incompatibility with the data itself. Should the data not
> have been forward compatible with the newer version of openldap?
OpenLDAP 2.0 accepted a number of bugs in the data which newer versions
reject. Also, you might note that slapadd to some degree expects
correct data and accepts some bugs that are caught if you add them over
the protocol (e.g. with ldapadd).
Um, you did use 2.0 to dump the data to an LDIF file and import that
into 2.1, instead of just moving the database files directly?
BTW, while you are fiddling with upgrades anyway you might prepare for a
change in 2.2: Values in access control values no longer have regex
syntax by default. So if you have things like 'access to dn=^uid=.* ...'
it pays to change that to dn.regex=^uid=.*.
Finally, it could be that there are some error messages buried in the
part of the debug output where it reads the config files. (With luck,
slapd -d 0 would be enough to see it, so you won't have to dig through
all the other output.)
Don't anthropomorphize computers. They hate that.