Groups > Asp .Net > ASP dotNET Security > ActiveDirectoryMembershipProvider ChangePassword problems 'must change password at next login'




ActiveDirectoryMembershipProvider ChangePassword problems
'must change password at next login'

ActiveDirectoryMembershipProvider ChangePassword problems 'must change password at next login'
Thu, 3 Apr 2008 15:26:27 +0000
Hi All,

Could anybody help with this problem I have regarding forms authentication with
active directory. The problem is that when an active directory user has been
flagged as 'must change password at next login' the standard asp.net change
password control no longer works. If I remove the flag from active directory on
the specified user it starts to work again. any help would be much appreciated
thanks.

by the way, I have added no code, only used standard asp.net controls and
changed the membership provider to use an LDAP connection string with a DOMAIN
Administrator account.

This does however work if I use DirectoryServices API instead. This has the
effect of changing the password and de-selecting the  'must change password at
next login' flag within active directory for the given user.

Cheers again.
Post Reply
about | contact