When gpfs and libmapi are found by configure, the tsmsm vfs module should be built automatically. In commit b71f0e5f6f715d7c061d3a845f1e983e2472c1b0 (in v3-4-test), the check for gpfs was simplified and the variable samba_cv_HAVE_GPFS was removed. But the check for building tsmsm still relies on that variable so the patch broke the automatic building of vfs_tsmsm.
Created attachment 5481 [details] Patch for 3.4 and for 3.5. This patch fixes the bug. It applies to 3.4 and 3.5. We should pick it for both releases. It has already been pushed as 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b to master.
Comment on attachment 5481 [details] Patch for 3.4 and for 3.5. Looks good
Pushed to v3-5-test and v3-4-test. Closing out bug report. Thanks!