SamDecrock / node-http-ntlm

Node.js module to authenticate using HTTP NTLM
MIT License
192 stars 89 forks source link

getting 401 while using in linux envioronment, in window working fine #41

Closed mek-omkar closed 8 years ago

mek-omkar commented 8 years ago

headers: { 'content-type': 'text/html; charset=us-ascii', server: 'Microsoft-HTTPAPI/2.0', 'www-authenticate': 'NTLM TlRMTVNTUAACAAAACAAIADgAAAAFgomi8ovAzT+1+PkAAAAAAAAAAI4AjgBAAAAABgGxHQAAAA9HAE0AQwBGAAIACABHAE0AQwBGAAEAGABBAFQATAAtAFAASQBNAFMAMgAwADEANAAEABAAZwBtAGMAZgAuAG8AcgBnAAMAKgBhAHQAbAAtAHAAaQBtAHMAMgAwADEANAAuAGcAbQBjAGYALgBvAHIAZwAFABAAZwBtAGMAZgAuAG8AcgBnAAcACABzTtTIY8zRAQAAAAA=', date: 'Wed, 22 Jun 2016 08:55:11 GMT', 'content-length': '341' }, statusCode: 401

{ headers: { 'content-type': 'text/html', server: 'Microsoft-IIS/7.5', 'www-authenticate': 'Negotiate, NTLM', 'x-powered-by': 'ASP.NET', date: 'Wed, 22 Jun 2016 08:55:11 GMT', connection: 'close', 'content-length': '1293' }, statusCode: 401

mek-omkar commented 8 years ago

problem in my code