[cvsnt] "No such user" problem

Bo Berglund bo.berglund at telia.com
Tue Jan 7 19:17:26 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


There are two possibilities to make this work with pserver:
1) Add a *real* user to the password file using the cvs passwd
command. By *real* I mean a user account on the PC where CVSNT runs.

2) Add a fictitious user (as I assume you have done) using the cvs
passwd command. In this case you *must* also specify the *real* user
account to be used for this cvs user.

CVS does not allow anyone to use the system that is not a user in the
context of the CVSNT server. The account must be either a local
account or a domain account depending on settings in the config file.

For ntserver and sspi protocols this comes naturally, but for pserver
you may fall into the trap of believing you can add arbitrary users,
but that is not so. You must either use an existing user or alias the
nonexsisting one to a real user.
When CVS does its job it operates under the aliased account, but logs
the operations as the login user. So you can have one dedicated
cvsuser acccount on the server and let all pserver logins use the same
without losing the trackability of the cvs operations.

/Bo


On Tue, 07 Jan 2003 10:23:04 +0100, Gregor Kova?
<gregor.kovac at mikropis.si> wrote:

>Hi!
>
>Today I have installed CVSNT 1.11.1.3 (Build 65) on a Windows 2000 Server.
>
>The FAQ at http://w1.858.telia.com/~u85831169/InstallCVSNT.html shows how to 
>set CVS up to use local usernames from Windows accounts.
>I have tried to make CVS use passwd file with no success. :(
>I have tried SystemAuth=no and SystemAuth=yes, but nothing worked.
>I could add users to passwd file, but if they were not aliased to a system 
>user they could not log in (getting "No such user" error).
>
>Any idea what I am doing wrong ?
>
>Best regards,
>        Kovi
>
>P.S.: I used the default install options.
>
>Dyer, Neil wrote:
>
>> I have to setup CVSNT 1.11.1.3 such that the server and the repository
>> storage are on separate machines.  My understanding is that this means
>> that the service must run logged on as a domain account (and specifically
>> not as
>> LocalSystem) in order to be able to access the remote storage.
>.................
>> I have experimented
>> with SystemAuth=no and SystemAuth=yes.
>> Any suggestions as to how to make this work will be appreciated.
>> 
>> Neil Dyer for
>> 
>> Anite Telecoms Ltd, 127 Fleet Road, Fleet, Hants.  GU13 8PD
>> Tel: 01252 775 228, Fax: 01252 775 299
>> Email: neil.dyer at anitetelecoms.com
>> www.anitetelecoms.com


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook