I'm pretty sure Sleepycat doesn't have any setuid() calls that could be hit from DB_CONFIG or similar. slapd(8) does, of course; are you running slapd with "-u" and/or "-g" options as appropriate? Of course, once the files are there as root:root, slapd -u is insufficient; you'll have to chown them prior to starting slapd.