Local login fails on WSS v3 for me

We have leased our own dedicated server as part of working on getting the back end tech setup for CodeMash 2008. Last year we used Sharepoint 2003 for the planning portal. This year we will be using WSS v3. There are a lot of great enhancements that will help us a lot.

I installed WSS on our server, and then deployed an asp.net application that we are going to use to collect speaker submissions. This app is a simple form, with some validation, that then submits the topic to a list in WSS via the WSS web services.

The app worked great on my laptop connecting to our WSS site on our dedicated server. When I deployed the app however, it was failing the authentication into the WSS web services.

The first step to troubleshoot this was to log into the portal from my machine. That worked. Then, try to login from the server itself (since that is where the web service is being called from.). That didn't work. The portal was working fine, but wouldn't let you login from the local machine.

After weeks of scouring all search engines, I finally stumbled across a blog posting by Robert Bogue. His article talks about this problem, and has all of the details. The short answer is that with IIS and AD, a site with 'integrated authentication' will use NTLM when the user is remote, but Kerberos when the user is local. Kerberos doesn't like web sites with host headers, and fails to log you in. Robert documents a few command line commands that you can use to disable Kerberos on the specific web site, but leave NTLM in place.

That fixed it. Thanks Robert! Turns out his blog has some great Sharepoint content.

ps. Step seven of his instructions has a small typo. NTAuthenticationProvider should be plural, NTAuthenticationProviders

Tags:

Comments

wow leveling guide People's Republic of China
3/17/2010 4:11:17 PM Permalink

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

Jamorama Review United States
3/23/2010 5:19:09 PM Permalink

i think you have a great site here... today was my first time coming here.. i just happened to find it doing a google search. anyway, good post.. i'll be bookmarking this page for sure.

i know i'm a little off topic, but i just wanted to say i like the layout of your blog. i'm new to the blogegine platform, so any tips on getting my blog looking better would be appreciated.

learn to play guitar United States
3/26/2010 10:36:58 AM Permalink

i know this is not exactly on topic, but i have a blog using the blogengine platform as well and i'm having troubles with my comments displaying. is there a setting i am missing? maybe you could help me out? thanx.

wow leveling guide United States
4/2/2010 4:36:34 PM Permalink

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

horde leveling guide United States
4/6/2010 2:45:00 AM Permalink

Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!

While this subject can be very touchy for most people, my opinion is that there has to be a middle or common ground that we all can find. I do appreciate that youve added relevant and intelligent commentary here though. Thank you!

coffee roasters United States
4/7/2010 5:18:51 AM Permalink

Thanks very much! I really loved reading this. It makes me want to create my own blog. I do not know what topic though? I am a dentist but can't imagine most people wanting to read about that! Perhaps I'm wrong. Any ideas?

canon powershot s5 is United States
4/9/2010 3:15:27 PM Permalink

Thanks for taking this opportunity to talk about this, I feel strongly about it and I benefit from learning about this subject. If possible, as you gain data, please update this blog with new information. I have found it extremely useful.