[Date Prev][Date Next]
Re: Converting From gdbm to bdb
On Wed, 13 Jul 2005, Brian Gaber wrote:
> /usr/local/sbin/slapadd -f /etc/openldap/slapd.schemacheck-off -l
Not a good idea to turn off schema checking; 2.0 allowed all sorts of
things that will bite you with 2.2, so it's worth taking the trouble to
clean up the data. I wrote a Perl script (on www.horsfall.org/rdnchk)
that will help, but note that it's rather customised.
> slapadd: could not add entry dn="ou=gtis,ou=van1,ou=pac,o=pwgsc"
> (line=8): txn_aborted! DB_KEYEXIST: Key/data pair already exists
And does the entry already exist?
Dave Horsfall DTM VK2KFU email@example.com Ph: +61 2 8425-5508 (d) -5500 (sw)
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia