Login Failed: The username or password supplied is invalid

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
tommyg
Posts: 23
Joined: Thu Aug 16, 2007 11:31 pm

Login Failed: The username or password supplied is invalid

Post by tommyg » Fri Feb 12, 2010 12:27 am

We are currently running Vault 4.1.4 and are having an issue with being unable to login to to the vault.

The only account we can currently login with is the admin account, which is notlinked up to AD. For all other accounts we simply have the following message appear;
Login Failed: The username or password supplied is invalid

this happens both within VS2005/2008 and when trying to log into the web client.

We have have been happily running with AD integration up til this point.

Just briefly;
- DB - SQL 2005
- DB and Website on different computers
- Web application pool running as Network Service
- web.config file for vault service has the following line;
<identity impersonate="true" userName="abclnt\svcSGVault" password="xxxx"/>

Any help greatly appreciated

Cheers
Tom

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Login Failed: The username or password supplied is invalid

Post by Beth » Fri Feb 12, 2010 11:55 am

Go to your Vault admin web page - Server Settings - Advanced Settings. Verify that the domain listed is correct. If you have any old domains listed that aren't used for the authentication, remove them. Then go to the Users link. Verify that each user's login name exactly matches their windows login name. Next go into each user account and see if the domain to authenticate against is listed there.

If everything checks out, is it possible that user's Windows logons are about to expire? When they log into their machine, do they get a warning that they need to change their password soon?
Beth Kieler
SourceGear Technical Support

tommyg
Posts: 23
Joined: Thu Aug 16, 2007 11:31 pm

Re: Login Failed: The username or password supplied is invalid

Post by tommyg » Sun Feb 14, 2010 4:32 pm

Thanks for that Beth,

I have checked all of those settings and they are correct.

It doesn't appear to be validating the username/password against our AD domain at all.

Can you tell me how it does the authentication - I could then check if there is perhaps a permissions issue causing the problem

Cheers
Tom

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Login Failed: The username or password supplied is invalid

Post by Beth » Mon Feb 15, 2010 9:12 am

There's nothing special about the authentication. It's just passed through.

Switch one of your users off of AD authentication, set a password, have the user restart their client, and then have them login. Verify that works. Once that works, set them back to AD authentication and have the user restart their client and try to login.

If nothing has changed, then send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support

Post Reply