Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 13th, 2004, 04:15 PM
Adam S Adam S is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Adam S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Made domain controllers 2003 and now windows integrated auth. doesn't work!

We were running two windows 2000 servers as domain controllers. We brought up two windows 2003 domain controllers, transferred all the master roles properly, and then decommisioned the 2k servers.

We're running an app server ona 2k member server. Some of our pages are sent to integrated auth. prior to this, they all worked fine. now they don't - it fails on a GetObject command and we get the error '80070035' .

however, if we change it to basic auth, it prompts us to login, we login, and it works just fine. but then we put it back to integrated auth. and it does not work.

so then we setup the site on the 2k3 domain controller, chose windows integrated auth, and it works on that server. However, we aren't sure if it is working because it's directly on the domain controller it is querying, or because it is a 2k3 box. we dont have a 2k Dc or a 2k3 member server to see for sure.

so my question is, what could be causing only basic auth to work, and not integrated auth? it worked fine and literally broke as soon as we switched out the domain controllers.

we even tried seizing the fsmo roles just in case they didnt transfer fully.

I've run netdiag and dcdiag and everything passes just fine.

any thoughts?

Reply With Quote
  #2  
Old February 13th, 2004, 05:46 PM
Adam S Adam S is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Adam S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok, here's an interesting twist. If I am on the server, and bring up the webpage on that server, it works. I can use both 'localhost' and the server's name, and it works. however, if i try to access the site from another server or workstation, it still does not work.

I copied this site out to multiple web servers, and got the same result - it works when I go access the server from the server, but not from another server or workstation.

This is very odd....

Reply With Quote
  #3  
Old February 14th, 2004, 12:49 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
Unfortunately I don't have 2003 to play with, but my guess is there is some firewall blockage. Does W2003 have an integrated firewall?
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #4  
Old February 14th, 2004, 08:38 AM
Adam S Adam S is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Adam S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't think it's that, because like I said, it works when you're directly ont he server. Meaning, I can access http://server1/login.asp from server1, but if I try to access http://server1/login.asp from server2 or workstation1, integrated auth fails - only basic auth works.

Reply With Quote
  #5  
Old August 6th, 2004, 04:33 AM
LesBillBell LesBillBell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 LesBillBell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Confirm problem exists

This won't help, Adam, but I have the same problem - I don't know if it worked before the domain controllers were made Server 2003, but I have a getObject asp script on an IIS 5.0 that works using basic authentication, but not with windows integrated. When you use a browser on the IIS server itself it works OK, but not when the client is elsewhere. Even when basic and integrated authentication are both enabled in IIS, and you go in with Mozilla using basic, it doesn't work. We want an authenticating page to check whether userts are in staff or student groups, but don't want to put them off by presenting them with username-password prompts. If you could let me know if you found a solution, I would be grateful.

Reply With Quote
  #6  
Old August 6th, 2004, 07:15 AM
Adam S Adam S is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Adam S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a fix for the problem, and it should help you too!

It turns out that windows 2003 domains handle "double hop" authentication differently than windows 2000 domain controllers. here is how you fix the problem:

- Open up Active Directory Users and Computers on a domain controller
- Find the computer that has the IIS server that is running the app
- Double-click the computer name to open it up, and check the box that says "Trust Computer for delegation"
- Wait for replication or force it
- Reboot that server

Depending on how the app is written, that may be all you need. However, you may need to also enable delegation for the user accounts that access it. So if this doesn't work, do the following:

- locate your user account in AD Users and Computers, and double click it
- Click the "account" tab
- Under the "account options" section, scrool down and check "account is trusted for delgation"
- Wait for replication or force it
- Log off of any computers you are logged into, then login and try it again.

That fixed the issue for me. If it doesn't, or you have questions, reply back.

Reply With Quote
  #7  
Old August 9th, 2004, 06:14 AM
LesBillBell LesBillBell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 LesBillBell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Still not working with windows authentication

Adam,

I though it was very good of you to post that helpful reply, but it has not solved our problem, which remains as before. Is there anything else we can do?

Regards

Quote:
Originally Posted by Adam S
I have a fix for the problem, and it should help you too!

It turns out that windows 2003 domains handle "double hop" authentication differently than windows 2000 domain controllers. here is how you fix the problem:

- Open up Active Directory Users and Computers on a domain controller
- Find the computer that has the IIS server that is running the app
- Double-click the computer name to open it up, and check the box that says "Trust Computer for delegation"
- Wait for replication or force it
- Reboot that server

Depending on how the app is written, that may be all you need. However, you may need to also enable delegation for the user accounts that access it. So if this doesn't work, do the following:

- locate your user account in AD Users and Computers, and double click it
- Click the "account" tab
- Under the "account options" section, scrool down and check "account is trusted for delgation"
- Wait for replication or force it
- Log off of any computers you are logged into, then login and try it again.

That fixed the issue for me. If it doesn't, or you have questions, reply back.

Reply With Quote
  #8  
Old August 9th, 2004, 12:32 PM
Adam S Adam S is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Adam S User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry that did not help the issue. It fixed it completely here, so I'm not sure what to tell you.

Reply With Quote
  #9  
Old August 10th, 2004, 03:23 AM
freeasphelp's Avatar
freeasphelp freeasphelp is offline
Beyond The Impossible
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Shawnee Mission, KS, USA
Posts: 921 freeasphelp User rank is Corporal (100 - 500 Reputation Level)freeasphelp User rank is Corporal (100 - 500 Reputation Level)freeasphelp User rank is Corporal (100 - 500 Reputation Level)freeasphelp User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 25 m 9 sec
Reputation Power: 6
What are you trying to get with GetObject. If you are trying to access say a IIS metabase property then you will need to change the Metabase ACLs to allow, IUSR_MachineName to access the apporiate path. This can be done with MetabaseExplorer which is available with IIS 6.0 Resource Kit. If you are not trying to change anything in the IIS 6.0 metabase then this will not help you.
__________________
John Shepard
Beyond The Impossible
-----------------------------
Has a post helped you? Please show your apprecitation by clicking the
image in the right upper corner.
Posting code? Put your code between [code] and [/code] tags.
X-Login and X-Send

Reply With Quote
  #10  
Old August 10th, 2004, 07:27 AM
LesBillBell LesBillBell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 LesBillBell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
GetObject is getting user

The web site uses SSL and authenticates the user, hence the code in the web page does not run under the IUSR_MachineName account. GetObject is getting the user so that we can then find what groups the user belongs to and hence if they are staff or student. I believe I have found the relevant Microsoft article: it is
http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;278836
I have not yet had time to try out Microsoft's solutions - except using basic authentication, which we don't want to do in this instance.

Thanks for your suggestion! Thanks for showing an interest in my problem.

Quote:
Originally Posted by freeasphelp
What are you trying to get with GetObject. If you are trying to access say a IIS metabase property then you will need to change the Metabase ACLs to allow, IUSR_MachineName to access the apporiate path. This can be done with MetabaseExplorer which is available with IIS 6.0 Resource Kit. If you are not trying to change anything in the IIS 6.0 metabase then this will not help you.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Made domain controllers 2003 and now windows integrated auth. doesn't work!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway