Soscmd, multiple VSS databases, SOS server and a domain user

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

Moderator: SourceGear

Post Reply
anoopm
Posts: 3
Joined: Mon Nov 29, 2004 10:54 pm

Soscmd, multiple VSS databases, SOS server and a domain user

Post by anoopm » Wed Dec 01, 2004 2:15 am

Hi,

We have a situation where the remote developers needs to access multiple VSS repositories. Hence, we have a dedicated machine for SOS server which will then connect to the VSS repositories on multiple servers. As per the Knowledge Base, we will be running the SOS server under a domain user account with access to these VSS repositories. The VSS repositories will be accessed by the SOS server service as UNC paths.

However, when we use the 'soscmd' command line tool, the command only accepts the username and password under which the SOS server service is running. This is a serious limitation for us as we cannot afford to reveal the SOS service user and password to everybody.

Am I missing something, or is this a limitation with the command line tool?

TIA for your help,
Anoop V. Mathew

PS. I had posted this earlier to the discussion forum, but then realized it probably fit better in this forum.

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

Post by lbauer » Wed Dec 01, 2004 9:56 am

The command line tool should work with a valid VSS username and password. What error do you get when you use a VSS username and password?

It's a little unusual that the account running the SOS Server Service has access to the database itself (as opposed to the directory where the database resides).

Could you send me:

1. a copy of your command, with passwords, etc. XX'd out.
2. A screenshot of the users for the VSS database, taken from the VSS Admin Client
3. The name of account used by the SOS Server service
4. A screen shot of VSS Admin Client->General tab

Email to linda at SourceGear.com.
Linda Bauer
SourceGear
Technical Support Manager

anoopm
Posts: 3
Joined: Mon Nov 29, 2004 10:54 pm

Soscmd, multiple VSS databases, SOS server and a domain user

Post by anoopm » Thu Dec 02, 2004 2:21 am

Hi Linda,

I think we've figured out what we were doing wrong. Our VSS database has users who don't have passwords. We finally got soscmd working by passing "" as the password parameter.

If you're interested, here is the reason why we thought only the domain user was working.

The SOS server service runs under the account DOMAINNAME\USER1.

Initially we were calling the soscmd with parameters of "-user USER1 -password USER1_DOMAINPASSWORD" and it was working. The VSS username is the same as the domain username. As mentioned before the VSS user USER1 doesn't have a password.

When we tried passing USER2, who is also a DOMAIN user, as the username along with their domain password ("-user USER2 -password USER1_DOMAINPASSWORD"), it was failing to login to the database. This prompted us to think that only the user under which the service was running would work for soscmd.

When we tried passing the VSS usernames with empty string passwords (-user USER2 -password ""), it started working.

Thanks,
Anoop Mathew

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

Post by lbauer » Thu Dec 02, 2004 9:30 am

Thanks for the update. Glad SOS is working for you now.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply