As 4f147388c0512fc291cc53764c017d7117154afc, wbinfo one more time is looking at /tmp/.winbindd dir for finding the winbind pipe. The pipe is by default defined in nsswitch/winbind_struct_protocol.h with the constant :WINBINDD_SOCKET_DIR for samba binary the compilation took place with this CFLAG : -DWINBINDD_SOCKET_DIR=$(winbindd_socket_dir) but for wbinfo no flag is passed. and it's not so simple to pass because it seems that s3 build do not define winbindd_socket_dir and would lead to pb for them
Kai is the winbind guy.
I have to admit that I fail to see how this patch could break wbinfo. Which wbinfo are you trying to use against which winbind server? The S3 wbinfo will only work against S3 winbindd, the S4 wbinfo will only work against S4 winbind. Some of the features might accidently work S3<->S4, but currently that's not supported.
I use the version for s4 with a samba4 server on a freshly recompile samba.
*** Bug 5001 has been marked as a duplicate of this bug. ***
Ok, I've got it reproduced, now I just need to find out how to best get the path into the build system.
Created attachment 4681 [details] Patch for build system in order to overide SOCKET location
Fixed! Thanks to Matthieu for his elegant patch!