> Is SMBW_HANDLE something I am supposed to set? no, it's set by smbsh at startup (in smbwrapper/shared.c) and should be propogated to all child processes as an environment variable. That error means it isn't being propogated correctly for some reason.