[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference gyro::internet_toolss

Title:Internet Tools
Notice:Report ALL NETSCAPE Problems directly to [email protected].rnet? Read note 448.L for beginner information.
Moderator:teco.mro.dec.com::tecotoo.mro.dec.com::mayer
Created:Fri Jun 25 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4714
Total number of notes:40609

4659.0. "IIS rejecting username and password" by RDGENG::ddors.reo.dec.com::readings_r () Thu May 08 1997 09:13

I'm using MS Internet Information Server (IIS) to serve private documents. When I 
attempt to access one from a browser it requests user name and password but 
rejects them, although they are valid for the NT domain. 

The IIS is running on a domain controller under NT 4.0 (Alpha), with Basic 
Password Authentication enabled, but NT Challenge/Response disabled.

If I enable NT Challenge/Response then I can access the private pages from MS 
Internet Explorer only (no name/password request).

Any suggestions as to why my user name and password are rejected?

Richard
T.RTitleUserPersonal
Name
DateLines
4659.1PYRO::RONRon S. van ZuylenThu May 08 1997 13:3312
    Try the username is the domain style format:
    
    {nt-domain-name}\{username}
    
    The server doesn't have a clue where to look for a username if you
    aren't using NT authentication.
    
    Be aware (for the anal security folks) that the NT password flys over the
    wire in clear text... just like ftp, VMS/UNIX logins, etc... and unlike
    Windows NT's challenge/response.
    
    --Ron
4659.2Still not there!RDGENG::READINGS_RRichard ReadingsFri May 09 1997 05:3414
Re .1

>    Try the username is the domain style format:
>    
>    {nt-domain-name}\{username}
>    
>    The server doesn't have a clue where to look for a username if you
>    aren't using NT authentication.

That doesn't seem to work either :-(

Thanks for the suggestion - any more?

Richard
4659.3any errors logged by IIS?PARZVL::ogodhcp-125-128-96.ogo.dec.com::kennedynuncam non paratusFri May 09 1997 11:558
did you check to see why IIS is rejecting (any errors
being logged)?

I looked a bit in the docs, expecting to find that
you had to create a username/password database, 
since I don't see how a UNIX client would necessarily
have an NT domain account to be validated against,
but did not find anything helpful.
4659.4IIS log...RDGENG::READINGS_RRichard ReadingsMon May 12 1997 07:2631
Re .3

>did you check to see why IIS is rejecting (any errors
>being logged)?

From the IIS server log...

16.36.80.128, -, 12/05/97, 09:27:22, W3SVC, WATSIT, 16.36.80.163, 7, 191, 145, 
401, 5, GET, /SPE/index.htm, -, 
16.36.80.128, readings, 12/05/97, 09:27:29, W3SVC, WATSIT, 16.36.80.163, 0, 234, 
145, 401, 5, GET, /SPE/index.htm, -, 

(anonymous access followed by user readings) but access denied.

In the security event log for the server I get a Failure Audit corresponding to  
the first (anonymous) attempt to access the page, but no security event for the  
second attempt (user readings). It would appear that IIS itself is rejecting the user 
name/password response for some reason.

>I looked a bit in the docs, expecting to find that
>you had to create a username/password database, 
>since I don't see how a UNIX client would necessarily
>have an NT domain account to be validated against,
>but did not find anything helpful.

I believe the browser is reissuing the anonymous request as a request with 
credentials, including the user name and password entered by the user. The 
server *should* then use those credentials to access the requested object (file) 
but this seems not to be happening, but I can't figure out why.

Richard
4659.5same situtationTAENG4::DOUBLE[email protected]Mon May 12 1997 22:258
    Hi,
    
    I had the same situation as you that force me to use the Internet
    Explorer as the client. There is a post in WINTDOWS-NT conference and
    till now there is no any reply yet.
    
    Regards,
    						-Double
4659.6Why not basic and nt challange setup ?HLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandTue May 13 1997 02:206
    I 've my IS setup using both NT challange and Basic.
    The NT is used by MIE client browsers, the basic by Netscape. This
    works perfectly.
    Why should you try to use either of both ?
    
    Eric
4659.7I didTAENG4::DOUBLE[email protected]Tue May 13 1997 22:5814
    Eric,
    
    I did try to use NT challange and basic. However, when choose "basic as
    an option. The IIS use it anyway. It will always prompt the client
    browser username and password. Say, even you are using IE, it still
    need to type the user data. 
    
    However, I saw strange behaviors, I did set a group of people to the
    protected page, but some of them failed to log on to the server. I
    don't know the reason and can't find out why, all of the people have the
    same privilage and they use IE, but when I disalbe the "basic" option,
    it work again. Suggestion?
    
    						-Double
4659.8Works as expected (?) for me...HLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandWed May 14 1997 02:1915
>    
>    However, I saw strange behaviors, I did set a group of people to the
>    protected page, but some of them failed to log on to the server. I
>    don't know the reason and can't find out why, all of the people have the
>    same privilage and they use IE, but when I disalbe the "basic" option,
>    it work again. Suggestion?
>    
I've seen this behaviour on our webserver pages. There are public and non
public pages. (www-mcs.uto.dec.com - give it a try. Most is public- a the botom
'this server' is restricted').
On a non-public page a MSIE user gets username/passw box. I suspect that MSIE
gives it a second chance when noticing that there is no access via nt/
challange, then it falls over to basic text and provides the box....

eric
4659.9www-mcs.uto.dec.com private?RDGENG::READINGS_RRichard ReadingsThu May 15 1997 04:1510
>I've seen this behaviour on our webserver pages. There are public and non
>public pages. (www-mcs.uto.dec.com - give it a try. Most is public- a the botom
>'this server' is restricted').

MSIE returns "Error: Access is Denied."

Netscape 3.01 requests User Name and Password. Looks like all the pages are 
private!

Richard
4659.10No it's not - but credential are neededHLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandFri May 16 1997 04:4128
>                       -< www-mcs.uto.dec.com private? >-
>
>MSIE returns "Error: Access is Denied."

Most probebly caused by a wrong setup of the proxy server of the MSIE client
browser. Seen this on more than 50% of the Digital community !
The correct setting for proxy should be disable proxy use for *.dec.com.
Setting the intranet box enabled is NOT sufficient.

To correct (on V3.02) : VIEW > OPTIONS > CONNECTION > Exceptions fill *.dec.com

MSIE does send credentials. If going via a proxy server the credentials are
removed (that's what we want when going outside Digital firewalls).
As soon as a webserver does contain restricted information or a webpage does
use a underlying MSsql-server database, credentials are needed and allowing
anonimous is not possible.

>Netscape 3.01 requests User Name and Password. Looks like all the pages are 
>private!
Netscape does not understand windows/nt challange/response so needs to ask the
credentials to the user. The way it does it popping up this box.
The format is digital1\username (or DIGITAL2 or DIGITAL3 when you're outside
US)

Eric 

>Richard
>