> --with-lockdir=/var/lock Do you have a process that removes everything in /var/lock at startup? If so, have it spare the tdb's, or ./configure samba's lockdir to something else. ~ Daniel