Can"t get advanced digest authentication working

Can"t get advanced digest authentication working

am 07.06.2007 17:26:19 von david

Any pointers on what I've missed would be great:
Windows 2003 IIS, domain functional level is windows 2003 (forest still at
2000).
Have set UseDigestSSP at the w3svc level to 1 via
adsutil.vbs w3svc/useDigestSSP1 and checked with Metabase Explorer tool that
correctly set.
Set the website to use only digest authentication via IIS manager and set
realm to fqdn of domain.
Restarted iis services, changed password on user account but get access
denied errors on IE6 page request (if use other authentication methods the
page loads ok).
I've seen one reference that the MD5 password hash may be stored in AD in
the altsecurityparameter attribute for a user but this isn't populated in
adsiedit on a password reset.
Thanks
David

RE: Can"t get advanced digest authentication working

am 08.06.2007 11:10:40 von wjzhang

Hi David,

First of all, is the server a member of Windows 2003 domain? Currently only
Windows 2003 domain supports Advanced Digest authentication because only
Windows 2003 domain controller stores the digest hash. Please refer to:

824032 Digest authentication and Advanced Digest authentication in Windows
Server 2003
http://support.microsoft.com/default.aspx?scid=kb;EN-US;8240 32

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx .

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Re: Can"t get advanced digest authentication working

am 08.06.2007 11:54:21 von david

Hi there - yes it is a member server.
As per your Q article a user should have the password hash stored in
AltSecID . I assume this is the same as altsecurityidentities as shown in
adsiedit (we don't have altsecid listed). How do we troubleshoot this - or
is this an AD group question?
Thanks
David

""WenJun Zhang[msft]"" wrote in message
news:vmpdzzaqHHA.3656@TK2MSFTNGHUB02.phx.gbl...
> Hi David,
>
> First of all, is the server a member of Windows 2003 domain? Currently
> only
> Windows 2003 domain supports Advanced Digest authentication because only
> Windows 2003 domain controller stores the digest hash. Please refer to:
>
> 824032 Digest authentication and Advanced Digest authentication in Windows
> Server 2003
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;8240 32
>
> Thanks.
>
> Sincerely,
>
> WenJun Zhang
>
> Microsoft Online Community Support
>
> ==================================================
>
> Get notification to my posts through email? Please refer to:
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at:
>
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>

Re: Can"t get advanced digest authentication working

am 08.06.2007 13:00:35 von david

From Microsoft Windows XP/2003 Security Target paper, 2005:
http://niap.bahialab.com/cc-scheme/st/st_vid4025-st.pdf

'However, in Windows Server 2003 TOE, the AD extended schema properties
ensures that every newly created user account automatically has the Digest
authentication password hashed and stored as a field in the "AltSecId"
property of the user object.'

Also altsecid and atsecurityidentities appear to be identical?
http://www.google.co.uk/search?hl=en&q=altsecid+altsecurityi dentities&meta=

Our problem is that when a new domain account is created
altsecurityidentities is not populated for that user.

Thanks

David



"David" wrote in message
news:et069LbqHHA.4108@TK2MSFTNGP06.phx.gbl...
> Hi there - yes it is a member server.
> As per your Q article a user should have the password hash stored in
> AltSecID . I assume this is the same as altsecurityidentities as shown in
> adsiedit (we don't have altsecid listed). How do we troubleshoot this -
> or is this an AD group question?
> Thanks
> David
>
> ""WenJun Zhang[msft]"" wrote in message
> news:vmpdzzaqHHA.3656@TK2MSFTNGHUB02.phx.gbl...
>> Hi David,
>>
>> First of all, is the server a member of Windows 2003 domain? Currently
>> only
>> Windows 2003 domain supports Advanced Digest authentication because only
>> Windows 2003 domain controller stores the digest hash. Please refer to:
>>
>> 824032 Digest authentication and Advanced Digest authentication in
>> Windows
>> Server 2003
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;8240 32
>>
>> Thanks.
>>
>> Sincerely,
>>
>> WenJun Zhang
>>
>> Microsoft Online Community Support
>>
>> ==================================================
>>
>> Get notification to my posts through email? Please refer to:
>> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
>> follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at:
>>
>> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>>
>> ==================================================
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>
>

Re: Can"t get advanced digest authentication working

am 09.06.2007 17:58:13 von DaveMo

On Jun 8, 4:00 am, "David" wrote:
> From Microsoft Windows XP/2003 Security Target paper, 2005:http://niap.bahialab.com/cc-scheme/st/st_vid4025-st.pdf
>
> 'However, in Windows Server 2003 TOE, the AD extended schema properties
> ensures that every newly created user account automatically has the Digest
> authentication password hashed and stored as a field in the "AltSecId"
> property of the user object.'
>
> Also altsecid and atsecurityidentities appear to be identical?http://www.google.co.uk/search?hl=en&q=altsecid+al tsecurityidentities...
>
> Our problem is that when a new domain account is created
> altsecurityidentities is not populated for that user.
>
> Thanks
>
> David
>
> "David" wrote in message
>
> news:et069LbqHHA.4108@TK2MSFTNGP06.phx.gbl...
>
>
>
> > Hi there - yes it is a member server.
> > As per your Q article a user should have the password hash stored in
> > AltSecID . I assume this is the same as altsecurityidentities as shown in
> > adsiedit (we don't have altsecid listed). How do we troubleshoot this -
> > or is this an AD group question?
> > Thanks
> > David
>
> > ""WenJun Zhang[msft]"" wrote in message
> >news:vmpdzzaqHHA.3656@TK2MSFTNGHUB02.phx.gbl...
> >> Hi David,
>
> >> First of all, is the server a member of Windows 2003 domain? Currently
> >> only
> >> Windows 2003 domain supports Advanced Digest authentication because only
> >> Windows 2003 domain controller stores the digest hash. Please refer to:
>
> >> 824032 Digest authentication and Advanced Digest authentication in
> >> Windows
> >> Server 2003
> >>http://support.microsoft.com/default.aspx?scid=kb;EN-US;82 4032
>
> >> Thanks.
>
> >> Sincerely,
>
> >> WenJun Zhang
>
> >> Microsoft Online Community Support
>
> >> ==================================================
>
> >> Get notification to my posts through email? Please refer to:
> >>http://msdn.microsoft.com/subscriptions/managednewsgroups/ default.asp...
> >> ications.
>
> >> Note: The MSDN Managed Newsgroup support offering is for non-urgent
> >> issues
> >> where an initial response from the community or a Microsoft Support
> >> Engineer within 1 business day is acceptable. Please note that each
> >> follow
> >> up response may take approximately 2 business days as the support
> >> professional working with you may need further investigation to reach the
> >> most efficient resolution. The offering is not appropriate for situations
> >> that require urgent, real-time or phone-based interactions or complex
> >> project analysis and dump analysis issues. Issues of this nature are best
> >> handled working with a dedicated Microsoft Support Engineer by contacting
> >> Microsoft Customer Support Services (CSS) at:
>
> >>http://msdn.microsoft.com/subscriptions/support/default.as px.
>
> >> ==================================================
>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.- Hide quoted text -
>
> - Show quoted text -

The AltSecId attribute probably is being populated but you can't see
it. My memory is fuzzy of exactly how this got spec'd, but since the
MD5 hash of the password is essentially a secret that we wouldn't have
wanted to make publicly available (dictionary attacks and all of that)
the ACL on the attribute is probably set such that only the DC local
system accounts have access since only the DC LSA needs to be able to
retrieve this info.

The problem may be on the client side.

- What client are you using?
- What version of IE?
- Is the client joined to the same domain?
- Are you testing with a domain user logged on?
- Are you seeing a password prompt?

Dave