Click here to get back home

IISADMPWD solution for AD expired password ?

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
IISADMPWD solution for AD expired password ? Pascal 12-07-2007
Posted by Pascal on December 7, 2007, 10:30 am
Please log in for more thread options
Hi,

we would like to be able to let users modifying their password through
IIS (for example).

Indeed, those users are connecting to a IIS server (in US) from another
country (Italy) but with credentials stored on a local DC (DC in US
so).

Every user has an account on the DC in US but the security policy
states that the password has a maximum lifetime of 90 days.

The idea is to let them reseting their password through IIS (and
IISADMPWD so).

I have two questions :

1. What's happened if they didn't change their passwords before it
expired ? (Do I need to let the IISADMPWD with anonymous access so ?)
2. What protocol is used when the password is modified from the IIS to
the DC ? (of course I will use HTTPS from the client to the IIS).

Thank you

--
Pascal



Posted by S. Pidgorny on December 7, 2007, 10:33 pm
Please log in for more thread options
1. You can set policy to allow logging on with expired passwords to change
the password; otherwise indeed you need anonymous access.
2. Interesting question. I'm sure kpassword is not used, which leaves us
with RPC - maybe encrypted in SMB. Capture traffic when changing password on
your worksation to fing out - IIS will be same. And as secure.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

* http://sl.mvps.org * http://msmvps.com/blogs/sp *

> Hi,
>
> we would like to be able to let users modifying their password through IIS
> (for example).
>
> Indeed, those users are connecting to a IIS server (in US) from another
> country (Italy) but with credentials stored on a local DC (DC in US so).
>
> Every user has an account on the DC in US but the security policy states
> that the password has a maximum lifetime of 90 days.
>
> The idea is to let them reseting their password through IIS (and IISADMPWD
> so).
>
> I have two questions :
>
> 1. What's happened if they didn't change their passwords before it expired
> ? (Do I need to let the IISADMPWD with anonymous access so ?)
> 2. What protocol is used when the password is modified from the IIS to the
> DC ? (of course I will use HTTPS from the client to the IIS).
>
> Thank you
>
> --
> Pascal
>
>



Posted by Pascal on December 10, 2007, 4:50 am
Please log in for more thread options
Hi Svyatoslav ,

thank you for your answer

1. About this, could you tell me which policy allow logging on with
expired passwords please ?
2. I will try if nobody can't give me the information before :D

Someone has feedbacks about the IIS reset passwords solution ?

Thank you

> 1. You can set policy to allow logging on with expired passwords to change
> the password; otherwise indeed you need anonymous access.
> 2. Interesting question. I'm sure kpassword is not used, which leaves us with
> RPC - maybe encrypted in SMB. Capture traffic when changing password on your
> worksation to fing out - IIS will be same. And as secure.
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
> * http://sl.mvps.org * http://msmvps.com/blogs/sp *
>
>> Hi,
>>
>> we would like to be able to let users modifying their password through IIS
>> (for example).
>>
>> Indeed, those users are connecting to a IIS server (in US) from another
>> country (Italy) but with credentials stored on a local DC (DC in US so).
>>
>> Every user has an account on the DC in US but the security policy states
>> that the password has a maximum lifetime of 90 days.
>>
>> The idea is to let them reseting their password through IIS (and IISADMPWD
>> so).
>>
>> I have two questions :
>>
>> 1. What's happened if they didn't change their passwords before it expired
>> ? (Do I need to let the IISADMPWD with anonymous access so ?)
>> 2. What protocol is used when the password is modified from the IIS to the
>> DC ? (of course I will use HTTPS from the client to the IIS).
>>
>> Thank you
>>
>> -- Pascal
>>
>>

--
Pascal



Posted by Pascal on December 11, 2007, 5:54 am
Please log in for more thread options
Nobody ? :)

Third question so ! :D

3. Another solution could be to change the password through LDAP v3
request no ? (from the Web server to a specific DC)
If you confirm that it is possible, do you have a sample code for this
kinf of solution please ?

Thank you


> Hi Svyatoslav ,
>
> thank you for your answer
>
> 1. About this, could you tell me which policy allow logging on with expired
> passwords please ?
> 2. I will try if nobody can't give me the information before :D
>
> Someone has feedbacks about the IIS reset passwords solution ?
>
> Thank you
>
>> 1. You can set policy to allow logging on with expired passwords to change
>> the password; otherwise indeed you need anonymous access.
>> 2. Interesting question. I'm sure kpassword is not used, which leaves us
>> with RPC - maybe encrypted in SMB. Capture traffic when changing password
>> on your worksation to fing out - IIS will be same. And as secure.
>>
>> --
>> Svyatoslav Pidgorny, MS MVP - Security, MCSE
>> -= F1 is the key =-
>>
>> * http://sl.mvps.org * http://msmvps.com/blogs/sp *
>>
>>> Hi,
>>>
>>> we would like to be able to let users modifying their password through IIS
>>> (for example).
>>>
>>> Indeed, those users are connecting to a IIS server (in US) from another
>>> country (Italy) but with credentials stored on a local DC (DC in US so).
>>>
>>> Every user has an account on the DC in US but the security policy states
>>> that the password has a maximum lifetime of 90 days.
>>>
>>> The idea is to let them reseting their password through IIS (and IISADMPWD
>>> so).
>>>
>>> I have two questions :
>>>
>>> 1. What's happened if they didn't change their passwords before it expired
>>> ? (Do I need to let the IISADMPWD with anonymous access so ?)
>>> 2. What protocol is used when the password is modified from the IIS to the
>>> DC ? (of course I will use HTTPS from the client to the IIS).
>>>
>>> Thank you
>>>
>>> -- Pascal
>>>
>>>

--
Pascal



Posted by Joe Kaplan on December 11, 2007, 12:16 pm
Please log in for more thread options
You can use LDAP to change passwords. The code would depend on the
programming language you want to write this in. There are many options.

Note that you still can't use this to get around the issue with expired
passwords unless the user can authenticate with an expired password.

LDAP password changes require encryption, so be aware of that. It is
possible to use either Windows built in encryption with SPNEGO auth (on 2003
or higher DCs and XP or higher clients) or use SSL. However, ADSI will only
use SSL, so if you want to use an ADSI-based solution, you'll need SSL on
your DCs.

If you are a .NET programmer, we cover this in gory detail in ch 10 of our
book (see link in my signature).

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
> Nobody ? :)
>
> Third question so ! :D
>
> 3. Another solution could be to change the password through LDAP v3
> request no ? (from the Web server to a specific DC)
> If you confirm that it is possible, do you have a sample code for this
> kinf of solution please ?
>
> Thank you
>
>
>> Hi Svyatoslav ,
>>
>> thank you for your answer
>>
>> 1. About this, could you tell me which policy allow logging on with
>> expired passwords please ?
>> 2. I will try if nobody can't give me the information before :D
>>
>> Someone has feedbacks about the IIS reset passwords solution ?
>>
>> Thank you
>>
>>> 1. You can set policy to allow logging on with expired passwords to
>>> change the password; otherwise indeed you need anonymous access.
>>> 2. Interesting question. I'm sure kpassword is not used, which leaves us
>>> with RPC - maybe encrypted in SMB. Capture traffic when changing
>>> password on your worksation to fing out - IIS will be same. And as
>>> secure.
>>>
>>> --
>>> Svyatoslav Pidgorny, MS MVP - Security, MCSE
>>> -= F1 is the key =-
>>>
>>> * http://sl.mvps.org * http://msmvps.com/blogs/sp *
>>>
>>>> Hi,
>>>>
>>>> we would like to be able to let users modifying their password through
>>>> IIS (for example).
>>>>
>>>> Indeed, those users are connecting to a IIS server (in US) from another
>>>> country (Italy) but with credentials stored on a local DC (DC in US
>>>> so).
>>>>
>>>> Every user has an account on the DC in US but the security policy
>>>> states that the password has a maximum lifetime of 90 days.
>>>>
>>>> The idea is to let them reseting their password through IIS (and
>>>> IISADMPWD so).
>>>>
>>>> I have two questions :
>>>>
>>>> 1. What's happened if they didn't change their passwords before it
>>>> expired ? (Do I need to let the IISADMPWD with anonymous access so ?)
>>>> 2. What protocol is used when the password is modified from the IIS to
>>>> the DC ? (of course I will use HTTPS from the client to the IIS).
>>>>
>>>> Thank you
>>>>
>>>> -- Pascal
>>>>
>>>>
>
> --
> Pascal
>
>



Similar ThreadsPosted
Password Expired / Cannot Change Password May 9, 2006, 9:46 am
Web Browser Password Change Solution Needed September 13, 2007, 10:56 am
Need solution to force all passwords in an OU to exipre, thereby forcing users to change password immediately July 5, 2006, 5:12 pm
Expired certificate October 1, 2007, 10:41 am
Re: Expired SSL cert for LDAPS June 14, 2007, 1:24 pm
Urgent - Subordinate CA certificate expired April 2, 2007, 12:04 pm
Expired Code Signing Cert with VBScript September 12, 2006, 9:17 am
Certification Authority root certificate seems to have expired early??? September 25, 2006, 4:40 pm
Solution for securing VPN/IAS using 2-factor SMS Authentication June 11, 2005, 1:37 pm
EFS and WebDAV - Secure Solution?! - Part 2 October 6, 2006, 3:44 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap