?
Solved

Change IIS primary logon authentication

Posted on 2004-08-02
2
Medium Priority
?
729 Views
Last Modified: 2008-03-17
All,
I remember running a script awhile ago that would change the way IIS would look for a user.

I currently have an IIS box that when I log onto it wants to look at the domain for user authentication.  But I have created a local account and want IIS to default to the local computer name for authentication instead of the domain.

Now
Username: LOCALMACHINE\testaccount
Pass: 1234

Want
Username: testaccount
Pass: 1234

If more detail is need please let me know.
Thanks for your help!
0
Comment
Question by:bfisher666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:gexen
ID: 11697096
Hello,
Right click on the domain name under IIS and go to Properties.  Click on Directory Settings, Click on the first Edit button and change it from Intergrated authentication to Basic Authentication.
0
 
LVL 2

Accepted Solution

by:
pmosinskis earned 1000 total points
ID: 11697244
Default FTP domain authentication
See: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q184/3/19.asp&NoWebContent=1

By default IIS 5.0 attempts to authenticate Web and FTP users from the local user database. For a Web site, you can change authentication to the domain user database from within the IIS snap-in. For an FTP site, you must modify the DefaultLogonDomain metabase property for the FTP service.
To do this, you can use the IIS Administration Script Utility (Adsutil.exe), installed with IIS 5.0, as follows:

At the command prompt, type:
cscript adsutil.vbs set msftpsvc/DefaultLogonDomain "Name of Your Domain"

Note: To establish an FTP site where users can upload files, but not see the files already uploaded to the site by other users, use virtual directories. Enable Write, but not Read, permission for the user accounts. Give Read permission to the Administrator account only.

Note #2: To get the userPrincipalName (UPN) user attribute to be used as the primary FTP login, you will need to run the following from the command line, similar to above:

cscript adsutil.vbs set msftpsvc/DefaultLogonDomain \

More information about the UPN can be found at: http://support.microsoft.com/default.aspx?scid=kb;EN-US;260269
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question