caddyserver / ntlm-transport Goto Github PK
View Code? Open in Web Editor NEWNTLM reverse proxy transport module for Caddy
NTLM reverse proxy transport module for Caddy
When attempting to build Caddy v2, I get the following error:
/go/pkg/mod/github.com/caddyserver/[email protected]/ntlm.go:161:48: not enough arguments in call to n.HTTPTransport.NewTransport
have ()
want (caddy.Context)
Looks like when trying to build with NTLM via xcaddy its complaining about a version mismatch.
2022/07/13 16:35:52 [INFO] exec (timeout=0s): /opt/hostedtoolcache/go/1.18.3/x64/bin/go get -d -v github.com/caddyserver/ntlm-transport github.com/caddyserver/caddy/v2
go: downloading github.com/caddyserver/ntlm-transport v0.1.2
go: github.com/caddyserver/ntlm-transport@upgrade (v0.1.2) requires github.com/caddyserver/caddy/[email protected], not github.com/caddyserver/caddy/v2@upgrade (v2.5.2)
2022/07/13 16:35:56 [FATAL] exit status 1
Error: Process completed with exit code 1.
I saw via issue #2 that it was fixed. Was the version supposed to be bumped to Caddy 2.5.2 and not the non-existent version of 2.5.3?
Hi,
When trying to build Caddy from source using xCaddy, I get this error:
2022/07/25 09:24:05 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/ntlm-transport github.com/caddyserver/caddy/v2
go: downloading github.com/caddyserver/ntlm-transport v0.1.2
go get: github.com/caddyserver/ntlm-transport@upgrade (v0.1.2) requires github.com/caddyserver/caddy/[email protected], not github.com/caddyserver/caddy/v2@upgrade (v2.5.2)
2022/07/25 09:24:07 [FATAL] exit status 1
Any idea how to fix?
Thanks!
Francisco
The module compiles correctly for Caddy 2.6.2
, but NTLM passthrough does not seem to work. In the previous version we used (2.4.6
), it worked perfectly. Upstream server is IIS 7.5.
I've got this error :
[email protected]/ntlm.go:111:18: n.HTTPTransport.SetScheme undefined (type *"github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy".HTTPTransport has no field or method SetScheme)
When I try to install nginx-adapter
This ticket is a part from: caddyserver/nginx-adapter#25 (comment)
I have an unsecured REST API that I'd like to secure using this module, but I can't get a grip on what it does. I need to put a reverse proxy in front of my API that can accept NTLM authentication and route the request based on the username, OU, etc. Is that what this module is for or do I need to use something like Caddy Security for that?
Hello,
Could you update the plugin for using the lastest caddy version ?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.