A minimal testcase looks like: $ sudo dpkg-reconfigure slapd # Choose hdb as database type, enter an admin password, and accept defaults for other values.
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f db.ldif # Where db.ldif looks like this: $ cat db.ldif dn: olcDatabase={1}hdb,cn=config objectClass: olcDatabaseConfig objectClass: olcHdbConfig olcDatabase: {1}hdb olcDbDirectory: /var/lib/ldap olcSuffix: dc=balaam,dc=com # Then syslog contains this line, and everything goes wrong from there: slapd[6651]: hdb_db_open: database "dc=balaam,dc=com": unclean shutdown detected; attempting recovery. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1325446 Title: Database corrupted during ldapadd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1325446/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs