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.
When I execute the command cvs -a passwd anNTuserID I get this error: cvs [passwd aborted]: the :ntserver: access method is not supported by this port of CVS Does anyone know how to resolve this? "Bo Berglund" <bo.berglund at telia.com> wrote in message news:3c946386.467705609 at news.cvsnt.org... > I have received numerous emails privately and seen a number of > postings complaining about the difficulty of getting the CVSNT system > up and running. > So today I have actually stepped through the process on a "naked" NT4 > WorkStation and noted the different steps needed. > > This procedure works to get CVSNT up and usable: > Note: I don't have a domain, so the workstation used is belonging to a > workgroup in a home LAN environment with 5 other machines of various > systems (W98, NT4 WS, Win2000Pro, XP-Pro). > > Steps to take: > 0. Make sure your system is only using NTFS file system! If not then > convert using the NT tool for conversion. > Also make sure you are logged on as an administrator of the PC (using > an account with administrative priviliges). > > 1. Download the latest CVSNT installation from http://www.cvsnt.org/, > currently 1.11.1.3 build 57a. > (http://homepages.nildram.co.uk/~tmhoyle/cvsnt_1.11.1.3.exe) > > 2. Create two directories on the target machine, c:\cvsrepo and > c:\cvstemp. (If you have a separate disk partition to spare for CVS > then use that instead, replace the paths below with these...) > > 3. Give c:\cvstemp security settings that allows full control for all > accounts including SYSTEM. > > 4. Run the downloaded CVSNT setup file and make sure to change the > installation path to c:\programs\cvsnt (I am paranoid about removing > any spaces in paths used by cvs!) > > 5. Note that the installer probably complains about being unable to > set the path environment variable at the end. So: > > 6. Open Control Panel/System and go to the Environment tab so you can > set the *system* variable path. (Location of this setting page varies > between NT4, W2000 and XP, you will have to look around a bit). Add > ;c:\programs\cvsnt to the end of path and save it (Apply). > > 7. Now open the CVSNT control panel applet and do the following: > 7a. Check that the service is not running (Start button is enabled). > If it has started then stop it. > > 7b. On the tab "Repositories" check the box for prefix and enter the > value c:/cvsrepo using the ellipsis button > > 7c. Use the Add button to add a repository. Enter TEST after the > prefix in the box that appears. Accept the offer to create the > repository. > > 7d. Go to the Advanced tab and check all checkboxes. > > 7e. Also set the temp dir using the ellipsis button. It should be set > to c:\cvstemp > > 7f. Now click the Apply button! This is really important, nothing will > happen unless you do this! > > 8. Go back to the first tab and click the Start button. After a few > moments the Stop button will be highlighted. Now CVSNT runs. > You might have trouble here (I did not check this) with the path > variable change needing a reboot to register. (Check this by opening a > command window and type path (enter). Look for c:\programs\cvsnt in > the list that appears. If it is there you don't have to reboot...) > > 9. Open a command window and do the following (replace items <text> > with the real values from your system): > set cvsroot=:ntserver:<computername>:/TEST > cvs passwd -a <your NT username> > You will now be asked to enter a password for this user. If you intend > this system to be used both with ntserver and pserver then add a > password for CVS that is different from the real login password for > this user (security reasons). Enter the same password twice. > Now the CVSROOT/passwd file will be created and the user you entered > will be added to the list in this file. > This step is necessary even if you are going to only use the pserver > protocol in the future since there is no way to log in with pserver > unless there is a passwd file present with the user listed. > > Important note: > Any user entered like this MUST be an NT user on the local system! CVS > will not accept any user login that is not connected to a "real" > account. But you can "alias" a CVS login to a "real" user by this > command: > cvs passwd -a -r <real accountname> <cvs account name> > Note that this command will fail if there is a space embedded in the > real account name! DON'T ever use spaces in these contexts!!!!! > (But using quotes may solve the problem like this: > cvs passwd -a -r "system admin" "new user" > Since I don't have a valid user with embedded space I could not check > the quotes trick with the valid user name parameter, but adding a CVS > login with space embedded *can* be done with quotes.) > > The server is now ready to be used and you can check the pserver > functionality by doing this: > > 10. Open another command window and type: > set cvsroot=:pserver:<user>@<computername>:/TEST > cvs login > (enter password on prompt) > cvs ls -l -R > (this should give you a list of the files in TEST/CVSROOT) > > NOTE: > Step 10 can be performed from another computer using WinCvs by setting > the WinCvs preferences like this: > Admin/Preferences/General: > Authentication: pserver > Path: /TEST > Host address: <computername of server> > User name: <the name you entered above> > > then > Admin/Login (enter CVS password for this user) > > then in the command window in WinCvs: > cvs ls -l -R > should give you the same result as above. > > And as soon as you are logged on using pserver with a cvs login that > either is the same as a local system admin or is aliased to an admin > then you can also add and delete CVS user logins with the passwd > command. Here is the full syntax for this command: > > Usage: > cvs passwd [-a] [-x] [-X] [-r real_user] [-R] [-D domain] [username] > -a Add user > -x Disable user > -X Delete user > -r Alias username to real system user > -R Remove alias to real system user > -D Use domain password > > I hope this helps those of you who have complained that you could not > get it to work. > > Also note that build 51 has a serious bug in the passwd command that > actually mangles the file contents so it will be unusable. Therefore > you MUST use the most recent version from CVSNT for the instructions > above to work. > > > > /Bo > (Bo Berglund, developer in Sweden) > _______________________________________________ > Cvsnt mailing list > Cvsnt at cvsnt.org > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs >