Yes, most services do
The problem is that Active Directory expects things in a certain way and I haven’t found docs for it.
curl this works:
curl --ntlm -u : --negotiate <url>
-u : means that it should rely on my Windows user/Kerberos ticket.
--negotiate it fails. Running verbose (with
-v) reveals that “Authorization: Negotiate <very long string>” when it works and “Authorization: NTLM <short string>” when it doesn’t work.
I don’t know how the strings are generated.
Is it possible to use a counterpart to
Downloads.download? Or does anyone know how to construct the custom header?