Closed baur closed 2 years ago
or
const ldap = ntlm({
check: function (request, response, next) {
if (res.locals.SkipNTLM) {next()}
}
domain: "domen",
domaincontroller: "ldap://server",
});
anyway I'd like to skip NTLM in some cases (same route)
You can skip the module whenever you want (just don't add it as a middleware). This is not something that needs to be built into this module.
Hi, Cant I skip NTLM auth in some cases in the same URL
For example