Created attachment 9829 [details] Level 10 debug log With 4.2.0pre1-GIT-fc4845f smbd and nmbd stop working directly after startup and winbindd crashes with stacktrace, when at least one of the lock/state/cache directory parameters has a trailing slash, like lock directory = /usr/var/samba/lock/ In 4.0.x and 4.1.x this wasn't a problem. [2014/04/04 20:38:21, 2, pid=62155, effective(0, 0), real(0, 0)] ../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) tdb(/usr/var/samba/lock): tdb_open_ex: could not open file /usr/var/samba/lock: Ist ein Verzeichnis [2014/04/04 20:38:21, 2, pid=62155, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:140(messaging_tdb_init) ERROR: Failed to initialise messages database: Ist ein Verzeichnis [2014/04/04 20:38:21, 2, pid=62155, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:204(messaging_init) messaging_tdb_init failed: NT_STATUS_FILE_IS_A_DIRECTORY The example in the manpage is without trailing slash. But if this changes and it's not allowed any more, then a note about that should be added to this 3 parameters in the manpage
Reproduced - fix to follow shortly. Jeremy.
Created attachment 9831 [details] git-am fix for master. Fixes it here, please test. I'll get this pushed to master. Jeremy.
Patch applied to master. Works. Thanks for fixing.
Pushed to master by Volker. Not needed in earlier builds.