I am using Pydio on a Windows Server 2012 R2 server for "cloud" file sharing. A situation has come up where we would like to connect to a existing share on another 2012 R2 server. Pydio has a SMB wrapper that relies on SMBClient.exe being on the server. If we were using *nix that would be easy but since it's hosted on a windows server we need a windows port of the client. After a lot of searching I found someone that did just that (https://www.leepa.io/lpackham/smbclient/) and another person that did all of Samba (https://smithii.com/samba). Unfortunately both are older version of the client and the do not work on the new Windows server.
Let me rephrase....you can read from a Windows server but you cannot put files...it creates 0 byte files and from research that happens with older versions of the Samba client (version 3's) on newer Windows servers (2012's).
Can anyone guide me on how to recompile the newest version of Samba for Windows? I have attempted it myself using Cygwin but I cannot get it to make successfully and attempting to just compile the client part likewise hasn't worked.