The Samba-Bugzilla – Bug 6065
libsmbclient-3.2 is not reentrant
Last modified: 2009-05-14 09:54:41 UTC
libsmbclient-3.2 is not reentrant, while libsmbclient-3.0 is. This causes fusesmb to crash, which assumes reentrancy. See
This is caused by the introduction of talloc_stack.c which uses global variables to build up a stack of allocations.
I've worked around this in fusesmb by disabling multi threading, I don't know if it's feasible or not to fix this in samba3, but this definitely should not be forgotten in the long run.
The goal eventually is to make libsmbclient thread safe, so we are on the same page on this.
This is the first of the thread-safety issues to have been fixed in the 'master' branch. Much more thread-safety work to be done, but this bug can be closed now.