Authentication and Security Using WebDAV
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Authentication and Security Using WebDAV

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
George Durzi
Guest





Posted: Wed Nov 10, 2004 9:29 pm    Post subject: Authentication and Security Using WebDAV Reply with quote

I'm coming across a weird issue when I try to use WebDAV from my .net web
application to open a users Contacts folder in Exchange.
Depending on how I set up the authType in the NetworkCredential I use to
access the Exchange store, I get different results.
The account myDomain\SCM is an enterprise administrator

The request fails when I use Basic as an authType and the virtual directory
has both Anonymous and Integrated security on it
2004-11-10 14:28:00 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous, and Integrated Windows
authentication

I don't understand this one, the request seems to fail, then it works
2004-11-10 14:57:29 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
2004-11-10 14:57:30 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 myDomain\SCM 172.31.1.18 - 207 0 0
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous

The request fails when I specify NTLM as my authType
2004-11-10 14:31:05 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: NTLM
Credentials: myDomain\SCM
ExchWeb directory security: Anonymous, and Integrated Windows authentication


Any idea?

Back to top
Tom Rizzo [MSFT]
Guest





Posted: Sat Nov 13, 2004 11:49 pm    Post subject: Re: Authentication and Security Using WebDAV Reply with quote

Sounds like there is a disconnect between the "client" auth and the server.
Do you pass the credentials beforehand? .NET will sometimes hit the server,
get unauthorized and then pass the credentials which is perhaps what you're
seeing in #1.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp



"George Durzi" <gdurzi@hotmail.com> wrote in message
news:%232UliozxEHA.3976@TK2MSFTNGP09.phx.gbl...
Quote:
I'm coming across a weird issue when I try to use WebDAV from my .net web
application to open a users Contacts folder in Exchange.
Depending on how I set up the authType in the NetworkCredential I use to
access the Exchange store, I get different results.
The account myDomain\SCM is an enterprise administrator

The request fails when I use Basic as an authType and the virtual
directory has both Anonymous and Integrated security on it
2004-11-10 14:28:00 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous, and Integrated Windows
authentication

I don't understand this one, the request seems to fail, then it works
2004-11-10 14:57:29 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
2004-11-10 14:57:30 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 myDomain\SCM 172.31.1.18 - 207 0 0
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous

The request fails when I specify NTLM as my authType
2004-11-10 14:31:05 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: NTLM
Credentials: myDomain\SCM
ExchWeb directory security: Anonymous, and Integrated Windows
authentication


Any idea?
Back to top
George Durzi
Guest





Posted: Mon Nov 15, 2004 11:27 pm    Post subject: Re: Authentication and Security Using WebDAV Reply with quote

Tom,
Since it works fine when you browse directly using IE, I think you're right
about the credentials.

I have a call in to Microsoft Support to try and figure out why Basic works,
but NTLM doesn't.

Thanks!

"Tom Rizzo [MSFT]" <thomriz@microsoft.com> wrote in message
news:%23LYtvkayEHA.1392@TK2MSFTNGP14.phx.gbl...
Quote:
Sounds like there is a disconnect between the "client" auth and the
server. Do you pass the credentials beforehand? .NET will sometimes hit
the server, get unauthorized and then pass the credentials which is
perhaps what you're seeing in #1.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp



"George Durzi" <gdurzi@hotmail.com> wrote in message
news:%232UliozxEHA.3976@TK2MSFTNGP09.phx.gbl...
I'm coming across a weird issue when I try to use WebDAV from my .net web
application to open a users Contacts folder in Exchange.
Depending on how I set up the authType in the NetworkCredential I use to
access the Exchange store, I get different results.
The account myDomain\SCM is an enterprise administrator

The request fails when I use Basic as an authType and the virtual
directory has both Anonymous and Integrated security on it
2004-11-10 14:28:00 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous, and Integrated Windows
authentication

I don't understand this one, the request seems to fail, then it works
2004-11-10 14:57:29 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
2004-11-10 14:57:30 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 myDomain\SCM 172.31.1.18 - 207 0 0
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous

The request fails when I specify NTLM as my authType
2004-11-10 14:31:05 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: NTLM
Credentials: myDomain\SCM
ExchWeb directory security: Anonymous, and Integrated Windows
authentication


Any idea?




Back to top
George Durzi
Guest





Posted: Tue Nov 16, 2004 12:46 am    Post subject: Re: Authentication and Security Using WebDAV Reply with quote

Fixed, the issue.

Added Integrate Authentication as a permission on the Exchange virtual
directory

"George Durzi" <gdurzi@hotmail.com> wrote in message
news:e6K3vhzyEHA.3336@TK2MSFTNGP11.phx.gbl...
Quote:
Tom,
Since it works fine when you browse directly using IE, I think you're
right about the credentials.

I have a call in to Microsoft Support to try and figure out why Basic
works, but NTLM doesn't.

Thanks!

"Tom Rizzo [MSFT]" <thomriz@microsoft.com> wrote in message
news:%23LYtvkayEHA.1392@TK2MSFTNGP14.phx.gbl...
Sounds like there is a disconnect between the "client" auth and the
server. Do you pass the credentials beforehand? .NET will sometimes hit
the server, get unauthorized and then pass the credentials which is
perhaps what you're seeing in #1.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp



"George Durzi" <gdurzi@hotmail.com> wrote in message
news:%232UliozxEHA.3976@TK2MSFTNGP09.phx.gbl...
I'm coming across a weird issue when I try to use WebDAV from my .net
web application to open a users Contacts folder in Exchange.
Depending on how I set up the authType in the NetworkCredential I use to
access the Exchange store, I get different results.
The account myDomain\SCM is an enterprise administrator

The request fails when I use Basic as an authType and the virtual
directory has both Anonymous and Integrated security on it
2004-11-10 14:28:00 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous, and Integrated Windows
authentication

I don't understand this one, the request seems to fail, then it works
2004-11-10 14:57:29 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
2004-11-10 14:57:30 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 myDomain\SCM 172.31.1.18 - 207 0 0
authType: Basic
Credentials: myDomain\SCM
ExchWeb virtual directory security: Anonymous

The request fails when I specify NTLM as my authType
2004-11-10 14:31:05 172.16.1.3 SEARCH /exchange/gdurzi/contacts/
Cmd=contents 80 - 172.31.1.18 - 401 2 2148074254
authType: NTLM
Credentials: myDomain\SCM
ExchWeb directory security: Anonymous, and Integrated Windows
authentication


Any idea?




Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB