[Samba] Compile Samba for Windows Use - SMBClient.exe mainly

Andrew Bartlett abartlet at samba.org
Fri May 13 21:01:04 UTC 2016

On Fri, 2016-05-13 at 18:28 +0000, Allan P. Dynes wrote:
> Unfortunately that’s not going to be an option.  

I'm not sure there are many good options then.

> I'm using a cloud sharing software package called Pydio and it was
> originally written for *nix platforms.  I got it running amazingly
> well on a 2012 R2 server with IIS 8.5 but there is no built in way to
> access another server share from the platform other than FTP over SSH
> or Samba.  Again it was written for *nix so those options make sense.
>   However I'm on Server 2012 trying to access another Server 2012.

I'm of course assuming you can't just use the system redirector for
some reason?

> From reading more about this the WAF build system was implemented for
> a 4.* series of Samba.  Since others I linked to have compiled
> different version of 3.* it stands to reason I can possible compile
> 3.6.25 on Windows?  Should my question be targeted more twords a
> Cygwin newsgroup/forum then the Samba group or would someone have
> experience with building Samba on Windows have any ideas.  Again I
> only need the client, I really don't need to build all of Samba.

You are asking in the right place, or samba-technical, but this is
essentially uncharted territory.

I don't know if it would help, but so as not to just leave you at a
dead end, perhaps you might get more luck with jcifs? (but you would
have to build the smbclient replacement)

BTW, out of total curiosity, what happens when you do try and run our
build system on Windows, or on cygwin?

(try running the buildtools/bin/waf directly if the make wrapper is in
the way).

Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list