Hallvard B Furuseth wrote:
The default wasn't much of a problem before, but with the addition of cn=config people will need to play with multiple databases.
So they should learn how to use -n or -b.
Anyway, let's see for now if your improved error helps helps.
Instead of some automagic for choosing the database I'd rather suggest to print out the number and naming context of the configured databases together with the error message.
Ciao, Michael.