I've looked at the forms auth how to on support.microsoft.com and several other samples that all look the same. And I'm generating the information the same way I think (my other code works great using standard auth). Here's what I'm writing to the content stream: destination=https%3a%2f%2f<ServerName>%2fExchange %2f<alias>&username=<domain>\<user Name>&password=<password> All URLEncoded of course. the URL that I'm requesting from is: https://<server name>/exchweb/bin/auth/owaauth.dll Every time I do this, I get a (401) unauthorized exception in my c# code. Does anyone have any suggestions on what I"m dong wrong? I found all kinds of people pinging about 401 but not one that had any answer on how to solve it. Thanks!
"John Galt" wrote in message news:cd06e301-b097-452e-b86b-918d615e166c@h11g2000prf.googlegroups.com... > I've looked at the forms auth how to on support.microsoft.com and > several other samples that all look the same. > > And I'm generating the information the same way I think (my other code > works great using standard auth). Here's what I'm writing to the > content stream: > > destination=https%3a%2f%2f<ServerName>%2fExchange > %2f<alias>&username=<domain>\<user Name>&password=<password> > > All URLEncoded of course. > > the URL that I'm requesting from is: > > https://<server name>/exchweb/bin/auth/owaauth.dll > > Every time I do this, I get a (401) unauthorized exception in my c# > code. > > Does anyone have any suggestions on what I"m dong wrong? I found all > kinds of people pinging about 401 but not one that had any answer on > how to solve it. > > Thanks! Maybe you don't have Anonymous Access enabled on your exchweb Virtual Directory? Lee. -- _______________________________________ Outlook Web Access for PDA, OWA For WAP: www.leederbyshire.com ________________________________________
I turned on Anonymous access and now I get a 503 error "Server Unavailable".
"John Galt" wrote in message news:91f8b0e6-d2a1-4409-9daf-10ad41fcd672@b64g2000hsa.googlegroups.com... >I turned on Anonymous access and now I get a 503 error "Server > Unavailable". I think that should be 'Service Unavailable'. Can you have a look in the IIS log, and see exactly which request caused that status message to be returned?
> I think that should be 'Service Unavailable'. Can you have a look in the > IIS log, and see exactly which request caused that status message to be > returned? 2008-03-12 12:52:20 W3SVC1 192.168.xxx.xxx POST /exchweb/bin/auth/ owaauth.dll - 443 - 75.xxx.xx.xxx - 503 0 0 I put XXX in for the ips obviously but there is the request. Thanks!
"John Galt" wrote in message news:a80ffe35-59a3-4d2a-801e-cc41847955f9@f63g2000hsf.googlegroups.com... > I think that should be 'Service Unavailable'. Can you have a look in the > IIS log, and see exactly which request caused that status message to be > returned? >2008-03-12 12:52:20 W3SVC1 192.168.xxx.xxx POST /exchweb/bin/auth/ >owaauth.dll - 443 - 75.xxx.xx.xxx - 503 0 0 > >I put XXX in for the ips obviously but there is the request. > >Thanks! Hmm. See if this helps; http://support.microsoft.com/kb/823159
"John Galt" wrote in message news:a80ffe35-59a3-4d2a-801e-cc41847955f9@f63g2000hsf.googlegroups.com... > I think that should be 'Service Unavailable'. Can you have a look in the > IIS log, and see exactly which request caused that status message to be > returned? >2008-03-12 12:52:20 W3SVC1 192.168.xxx.xxx POST /exchweb/bin/auth/ >owaauth.dll - 443 - 75.xxx.xx.xxx - 503 0 0 > >I put XXX in for the ips obviously but there is the request. > >Thanks! Oh, one other thing. Is OWA actually working on that server?
Yes, I'm logged in right now. It's Exchange Server 2007 sp1.
Hi John, Exchange 2007 uses another path for the FBA authenticaiton. Try your request with owa/auth/owaauth.dll instead of exchweb/bin/auth/owaauth.dll. Kind regards, Henning Krause "John Galt" wrote in message news:d1ec7466-a1a5-4025-a337-d8ec68ac1052@y77g2000hsy.googlegroups.com... > Yes, I'm logged in right now. It's Exchange Server 2007 sp1.
On Mar 12, 1:06 pm, "Henning Krause [MVP - Exchange]" wrote: > Hi John, > > Exchange 2007 uses another path for the FBA authenticaiton. > > Try your request with owa/auth/owaauth.dll instead of > exchweb/bin/auth/owaauth.dll. > Thanks that worked. Nasty that it changed... I had to put a hack in it to handle both.. not nice at all! I really appreciate your help, James Hancock