troubleshooting Question

IIS 7 Windows Authentication passes wrong user name to website.

Avatar of Madison Perkins
Madison PerkinsFlag for United States of America asked on
Microsoft IIS Web ServerWindows Server 2008
2 Comments1 Solution2458 ViewsLast Modified:
I have a website that uses windows authentication that for only one user and only on his workstation the user name is passed to the IIS7 incorrectly.  the problem started this morning and had been working for weeks.  the user can log on to other machines on the network and authenticate to IIS site. other users can log onto his machine and authenticate to the IIS website. the server was rebooted during patching over the weekend but since this is happening with only one user i doubt that the patching is causing the issue.

when the user attempts to access the website he is presented with a log-on like he is not part of the domain.  it auto fills the user name with DOMAIN\FirstnameLastname AKA DOMAIN\JohnDoe. His user name is DOMAIN\FistnameLastinitial AKA DOMAIN\JohnD.  I reviewed all of the user objects in active directory and although the first and last name are there the user name in all areas are JohnD and anyplace that references his last name presents a space between the first and last name.

I decided to modify his user name in active directory to change everything to only use first name lastinital.  no where in active directory does the last name show up.  i verified that the changes had been made in active directory by reviewing the account on both domain controllers to make sure they were consistent. I logged the user in and out of the computer (Windows 7) and noted that the user name in the start menu now reflects the user name that is used when logging into the machine.

when accessing the computer from the local intranet the company can access it in two ways.  either by computer name which was serialized.  http://aqdfsd7asdf/website which was very difficult to use so we added a dns entry that was more meaningful and added a host header to match.  http://website/website.
Since it was just this user and only on this computer for this user I first went down the path of the normal steps of resetting IE9.  Rest all of the security settings to default and restoring all advanced settings. i would prefer to not reset the profile on that computer but will be my next step after
Other info:
When the website was originally set up we had problems with local authentication from the web server.  we turned off IPv6 and added the DisableComponents registry key to stop the local loop back interface from using ::1.
ASKER CERTIFIED SOLUTION
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooter

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros