Avatar of zekuser
zekuser asked on

Password incorrect or New Password invalid. New Password length minimum: 7. Non-alphanumeric characters required: 1

I keep getting this error when I try to change my password.  I'm using the ChangePassword control.  I can add users and type in a 7 char password with 1 non alpha character successfully.  However, when I try to change the password it fails with this error.
<membership defaultProvider="MembershipADProvider">
			<providers>
				<add
      name="MembershipADProvider"
      type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
      connectionStringName="ADConnectionString"
      attributeMapUsername="sAMAccountName"
      connectionUsername="********"
      connectionPassword="********
	  passwordStrengthRegularExpression=""
	  minRequiredPasswordLength="7"
      minRequiredNonalphanumericCharacters="1"
	  />

Open in new window

ASP.NETActive Directory

Avatar of undefined
Last Comment
zekuser

8/22/2022 - Mon
Mike Kline

Is this a user in your AD domain?
Do you have "Password must meet complexity requirements" set to enabled on a domain linked Group Policy?
ASKER
zekuser

I don't control the domain but I was informed that the policy is 7 characters 1 non alpah.
ASKER
zekuser

I can create new accounts in this domain  I just can't reset the password.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Mike Kline

If password complexity is turned on then you have to meet these requirments
With password complexity requirements enabled, it requires 3 out of  4 of the below:


English uppercase characters (A through Z). " 
English lowercase characters (a through z). " 
Base-10 digits (0 through 9). " 
Non-alphanumeric (for example, !, $, #, %). extended ASCII, symbolic, or linguistic characters
Many places do have it on, unless there is a custom filter there is no native policy to just say "have 1 non-alpha"
 
ASKER
zekuser

The password I'm testing with meets those requirements.  It is still failing.  I can a new account passing back a password.  we are using forms authentication.   Could they have disable the ability for the admin user to change passwords?   When a user uses attemps to change their password does it use their account or the admin account in the provider section?
ASKER CERTIFIED SOLUTION
LauraEHunterMVP

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
zekuser

The admin user did not have the rights to reset passwords.  thanks.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.