Re: Problems with Digest Authentication

From: Remco (Remco_at_discussions.microsoft.com)
Date: 07/21/04


Date: Wed, 21 Jul 2004 00:27:01 -0700

The problem isn't solved. Even when I adjust the old accounts to use reversible encryption and I reset the passwords, which should solve de decryption of the MD5 hash, the authentication still doesn't work for these accounts. So I'm still in the dark here..

"Ken Schaefer" wrote:

> You need to get your existing users to change their passwords. When they
> change their passwords, Active Directory will store a copy of their password
> using reversible encryption. When the user authenticates to the web-app,
> then AD decrypts the password, and then hashes the password using the MD5
> hashing algorithm, and compares it to the hash sent by the user.
>
> When you first created the user account however, Active Directory was not
> told to store the passwords using reversible encryption, so when the digest
> auth comes in, AD has no way of calculating what the MD5 hash should be
> (because it doesn't have one stored, and it can't decrypt the existing
> password because that's stored using non-reversible encryption)
>
> You can get more info on digest authentication in my IIS 6.0 Security book -
> the sample chapter here:
> www.adopenstatic.com covers all the auth mechanisms, including
> Digest/Advanced digest auth.
>
> Cheers
> Ken
>
>
> "Remco" <Remco@discussions.microsoft.com> wrote in message
> news:41CCC209-EC56-4BD1-8AAB-421735EB02AE@microsoft.com...
> > We are running IIS 6.0 on a Windows 2003 Enterprise edition which is a
> member server in a Native Windows 2000 Active Directory. Now i'm trying to
> use accounts from the Active Directory for authentcation on the websites. I
> don't want blank passwords over the line so I tried to setup digest
> authentication. After making all the right settings (registering the
> iissuba.dll, setting the identity on local system, adding
> UseDigestSSP="FALSE" to the Metabase and using the option store passwords
> using reversible encryption) I'm having problems authenticating certain
> users, but not all!
> > When I want to authenticate a user that already existed in de AD prior to
> installing the webserver, I can't authenticate. When I create a new user in
> the AD it's working fine.
> > Does anyone know why? And how I can resolve this problem?
> >
> > Thanx!
>
>
>



Relevant Pages

  • Re: How to setup authentication across domains within a forest?
    ... forest, regardless of their location. ... DCs for the domain ... Windows 2003 Server Deployment Guide (Active Directory ... >> authentication db and users authenticate to the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Forms Authentication non-persistent cookie not expiring after closing the browser
    ... If you authenticate against the Active Directory, why not host your solution under intergrated security? ... I use non-persistent cookie so ... that the user is NOT remembered across browser sessions. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Whitepaper on win2003 DNS performance ?
    ... :: currently come thru the T1 to authenticate. ... :: users/machines on remote branch offices. ... Active Directory Deployment including Branch Office Guide Series: ... Best Practice Active Directory Design for Managing Windows Networks [and ...
    (microsoft.public.win2000.dns)
  • Re: Domain Trusts and LDAP
    ... Another solution may could be to use ADAM (Active Directory in Application ... and create ProxyUser Accounts that relays to ... > web via LDAP. ... > internal users to authenticate to the external system without creating new ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to change domain name?
    ... Only if you can go up to Windows Server 2003 Forest Functional Mode. ... to it with something like ADMT (Active Directory Migration Tool). ... > of joesfruitemporium.com with the old NT domain as 'apples'. ... > login they use the old NTdomain of apples\username to authenticate. ...
    (microsoft.public.win2000.active_directory)