Linux user auth failing, but ...

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

Moderator: SourceGear

Post Reply
taeng
Posts: 1
Joined: Wed Jan 04, 2006 5:43 pm

Linux user auth failing, but ...

Post by taeng » Wed Jan 04, 2006 6:06 pm

Hello,
I'm trying to evaluate sourceoffsite and am having the following issues:
Some commands work and some don't ...
I can use the following command and get the appropriate results,

[taeng@localhost sosClients]$ soscmd -server <IP>:8080 -name username
-password password -command GetDatabases
D:\VSS_Databases\CDS\srcsafe.ini

but the following produces an error

soscmd -server <IP>:8080 -username user -password password -command GetProject -database D:\\VSS_Databases\\CDS\\srcsafe.ini -project XML_Parser
Login Failed. Could not authenticate user name and password.

My System Configuration Information
--------------------------------------------------------------------
VSS : VSS 2005 - 8.0.50727.42
SOS Linux client : 4.1.2-1 on Fedora Core 4
SOS Windows Server : 4.1.2
Server machine OS : Windows 2003 Server on Dell

Here is the entry in log.txt with debugging set to 4
--------------------------------------------------------------------
1/4/2006 4:01:13 PM - Connection accepted from 172.16.0.116:53866 on local address 172.16.0.12:8080, session id is 2.
1/4/2006 4:01:17 PM - 2: Unable to get hostname from address: 172.16.0.116
1/4/2006 4:01:17 PM - The requested name is valid, but no data of the requested type was found
1/4/2006 4:01:17 PM - 2: Connection from: 172.16.0.116 (172.16.0.116)
1/4/2006 4:01:17 PM - 2: Preparing to send the list of databases...
1/4/2006 4:01:17 PM - 2: Sending the challenge to the client.
1/4/2006 4:01:17 PM - 2: Sending the challenge message body to the client.
1/4/2006 4:01:17 PM - 2: Waiting for the client's response...
1/4/2006 4:01:25 PM - 2: Reviewing the client's response...
1/4/2006 4:01:25 PM - 2: Process the client's non-crypto login request.
1/4/2006 4:01:25 PM - 2: User 'lhammond' requesting to login to database 'D:\VSS_Databases\CDS\srcsafe.ini'
1/4/2006 4:01:25 PM - 2: Client is speaking protocol version 2.0

1/4/2006 4:01:25 PM - 2: Open the database.
1/4/2006 4:01:25 PM - 2: Exception during Login: Invalid password
1/4/2006 4:01:25 PM - 2: Invalid password
1/4/2006 4:01:25 PM - 2: User lhammond disconnected from 172.16.0.116.

any advice is greatly appreciated,
chris

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jan 05, 2006 8:32 am

The GetDatabases command contacts the SOS Server, which provides a list of databases as configured in the SOS Server Manager. This does not require a VSS username and password.

However the GetProject command requires logging into the VSS database with a valid username and password. So there may be a problem with your login. For instance, if VSS is configured to use network authentication, users with VSS clients can use their network login. But this is not supported by SOS. You should have a VSS username and password created for that database by the VSS Admin Client. If you already do have that, you might delete and re-create the account with the VSS Admin Client.

One more thing -- the project parameter would be more accurately expressed as -project $/XML_Parser. See soscmd.txt for full documentation of the SOS Command Line Client.


P.S. I edited your command to take out any info that might be real connection information.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply