Re: AD Change Password issue
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 04/29/05
- Next message: Reza: "Adding a cross domain user to AzMan"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Save/retrieve certificate in Active Directory"
- In reply to: vasudha: "Re: AD Change Password issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 29 Apr 2005 09:51:49 -0500
You can check to see if you have a minimum pwd age on your domain by bindng
to the defaultNamingContext object (the domainDNS root for the domain) and
checking the minPwdAge attribute. If it is non-zero, you have a minimum pwd
age.
Joe K.
"vasudha" <vasudha.1o8sht@mail.codecomments.com> wrote in message
news:vasudha.1o8sht@mail.codecomments.com...
>
> Hi sathya,
> i'm also getting the same error, while trying to change the password in
> activedirectory through C#. what do you mean by this? there was a
> minimum pwd age set on GPO?
> I appreciate
>
> Thanks.
>
> Sathya Gomathi via DotNetMonster.com wrote:
>> *Hi Thanks..there was a minimum pwd age set on GPO..its working fine
>> now..
>>
>> i am running into another problem..the requirement is the option
>> 'User must change pwd at first logon' needs to be set..and when the
>> user login first time i must ask him to change his pwd through C#.
>> 1. first problem i encountered was it doent even allow to connect
>> error "bad user name and pwd"..
>>
>> so here is the question " how do i check whether this option is
>> set..and how do i disable this option so that the user can change
>> his/her pwd.." all this i need to do from C#..and also i cant use
>> admin credentials to connect to AD..
>>
>> Thanks in advance
>>
>> --
>> Message posted via [url]http://www.dotnetmonster.com[/url] *
>
>
>
> --
> vasudha
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>
- Next message: Reza: "Adding a cross domain user to AzMan"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Save/retrieve certificate in Active Directory"
- In reply to: vasudha: "Re: AD Change Password issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]