Server: nginxWWW-Authenticate: NegotiateWWW-Authenticate: NTLMWWW-Authenticate: Basic realm="****"
C:\> Set-AutodiscoverVirtualDirectory-LiveIdNegotiateAuthentication 0-WSSecurityAuthentication 0 -LiveIdBasicAuthentication 0-BasicAuthentication 1 -DigestAuthentication 0-WindowsAuthentication 0 -OAuthAuthentication 0-AdfsAuthentication 0
Would you recommend me changing auth options to basic?
Is there a way in opnsense to get the paid for version of nginx?
Testing the MAPI Address Book endpoint on the Exchange server.An error occurred while testing the address book endpoint.Test StepsTesting the address book "Check Name" operation for user tim@xxx.com against server mail.xxx.com.An error occurred while attempting to resolve the name.Additional DetailsA protocol layer error occured. HttpStatusCode: 401Failure LID: 47372Failure Information: ###### REQUEST [2021-01-30T01:45:25.6194431Z] [ResolvedIPs: 24.xxx.xxx.41] ######POST /mapi/nspi/?mailboxId=39a98ba9-9188-4474-9811-0ef5db77cf19@xxx.com HTTP/1.1Content-Type: application/octet-stream User-Agent: MapiHttpClient X-RequestId: bb9a9e89-7bcb-48d8-8195-956d0fa21720:1 X-ClientInfo: 1215cce7-aa7c-4990-b850-1e2e98b589e5:1 client-request-id: a0ed4144-7731-4228-a2a6-3de91083488d X-ClientApplication: MapiHttpClient/15.20.3391.4 X-RequestType: Bind Authorization: Negotiate [truncated] Host: mail.xxx.com Content-Length: 0 --- REQUEST BODY [+0.103] ---..[BODY SIZE: 45]--- REQUEST SENT [+0.104] ---###### RESPONSE [+0.155] ######HTTP/1.1 401 UnauthorizedConnection: keep-alive request-id: bf929243-8299-4de9-beb7-5c08bfd6ecf8 X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;; X-FEServer: EXCHANGE2016 Content-Length: 0 Date: Sat, 30 Jan 2021 01:45:25 GMT Server: nginx WWW-Authenticate: Basic [truncated] --- RESPONSE BODY [+0.155] ------ RESPONSE DONE [+0.155] ---###### EXCEPTION THROWN [+0.155] ######HTTP Response Headers:Connection: keep-aliverequest-id: bf929243-8299-4de9-beb7-5c08bfd6ecf8X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;;X-FEServer: EXCHANGE2016Content-Length: 0Date: Sat, 30 Jan 2021 01:45:25 GMTServer: nginxWWW-Authenticate: Basic realm="mail.xxx.com"HTTP Status Code: 401 Unauthorized
to turn to allow basic auth without negotiate on /mapi/nspi without breaking the exchange install
I see it referenced a bit to allow NTLM auth with nginx?
Quote to turn to allow basic auth without negotiate on /mapi/nspi without breaking the exchange installwhat breaks on Exch in this case?QuoteI see it referenced a bit to allow NTLM auth with nginx?ntlm is a part of commercial subscriptionwe can try to strip negotiate and ntlm header with proxy_hide_header and test if you want.but you will need to edit the template by hand and add configuration files
As for what breaks, OWA and EAP wont allow login anymore
I was wondering about proxy_pass and the more_headers
proxy_hide_header WWW-Authenticate; add_header WWW-Authenticate "Basic realm=mail.xxx.com" always;
map $status $forceBasic{ 401 'Basic realm=mail.xxx.com';}
proxy_hide_header WWW-Authenticate; add_header WWW-Authenticate $forceBasic always;