Welcome! Log In Create A New Profile

Advanced

Problem using EWS part of exchange

Posted by cehes 
Problem using EWS part of exchange
September 22, 2014 11:15AM
Hi there,

i set up nginx for my customers to access their exchange servers (2003/2010) that are hosted by us.

OWA -> great, no problem

Android -> Ok as well (i saw a thread where someone had problem... i had nothing to do to have it work)

EWS (used by mac, mail program) -> not working, this is my problem
in fact the mac is trying to connect to https://mail.domain.com/ews/exchange.asmx but is looping asking user/password.
For debug purpose, when i try this url with a browser, bypassing nginx, i get a kind of xml file. Doing it going through nginx ask me user/password as a loop.

Be sure i spent all the afternoon searching related problem but found very few things but using another reverse proxy (!)
It seems this is the way EWS works that confuse nginx that is awaiting something instead of passing through.
Saw that in this thread : http://forum.nginx.org/read.php?2,236709,236724#msg-236724


I there obvious things i can try or do you need more informations ?

Many thanks for any help.


My config is quite simple :

server {
listen 443;
ssl on;
ssl_certificate ssl/mail.domain.com.crt;
ssl_certificate_key ssl/mail.domain.com.key;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 SSLv3;
ssl_ciphers HIGH:!ADH:!MD5:@STRENGTH;
ssl_session_cache shared:TLSSL:16m;
ssl_session_timeout 5m;

server_name mail.domain.com;
access_log /var/log/domain.access.log;
error_log /var/log/domain.nginx_error.log debug;
location / {
proxy_pass https://192.168.1.1/;
Re: Problem using EWS part of exchange
September 24, 2014 02:41AM
Hi,

i'm still searching but found nothing that can help me.


As i have no reply, can you tell me if my question :

- is posted in the wrong section
- is asked in a bad way
- is too difficult :-)
- anything else


Thank you a lot
Re: Problem using EWS part of exchange
October 01, 2014 04:54PM
I ran in the same issue today.

The solution was to disable integrated windows authentication and enable basic authentication instead under Server/Virtual Directorys/EWS in Exchange Admin Panel.



Edited 1 time(s). Last edit at 10/01/2014 04:54PM by blade5502.
Re: Problem using EWS part of exchange
November 24, 2015 11:36AM
Hi, i'm really ashamed, i totaly missed your reply and never found the solution !

now when doing https://mail.domain.com/ews/exchange.asmx i can enter with password with no problem, great !

For the time being, i can not test on a mac but i'll try asap.

I hope this could help others...

Thanks a lot
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready