Authentication fails when deployed to Windows machine without Go installed
Hajus opened this issue · 4 comments
I wrote an app on Windows using basic authentication, which appears as Go-http-client/2.0 on the server, if run from my developer machine with Go installed, and works well.
On a different machine without Go installed (or on my machine after uninstalling Go) the same client appears as Microsoft-WebDAV-MiniRedir/10.0.16299 on the server, and authentication fails.
I read quite a bit about dynamic linking if using the net package, but right now I am stuck.
can you share some build information?
do you cross compile?
I just run go build . with a unmodified installation of Go.
I develop and deploy on Windows 10, no cross-compilation.
Is this still an issues?
I haven't solved the problem, but it's not an issue for me anymore. I run the WebDAV connection on OS level and use simple file copy for my tool.