[cvsnt] Vanilla install on SLES

Tom Halliley J.T.Halliley at flagstar.com
Mon Jan 5 15:16:41 GMT 2009


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.


I'm trying to get a vanilla install of cvsnt running on openSUSE/SLES.  
What I'm getting is an authorization error:

   cvsnt [login aborted]: authorization failed: server source1
   rejected access to /export/local/home/toolsadm/CVS_REPO for user toolsadm

I've got CVSROOT set:

   toolsadm at source1:~> echo $CVSROOT
   :pserver:toolsadm at source1:/export/local/home/toolsadm/CVS_REPO

Permissions look good in /etc/cvsnt:

   toolsadm at source1:~> ls -l /etc/cvsnt
   total 280
   -rw-r--r-- 1 toolsadm toolsadm 124609 2008-12-29 17:40 ca.pem
   -rw-r--r-- 1 toolsadm toolsadm 124609 2008-12-29 17:55 ca.pem.example
   -rw-r--r-- 1 toolsadm toolsadm    555 2008-12-30 14:08 Plugins
   -rw-r--r-- 1 toolsadm toolsadm    558 2008-12-29 17:55 Plugins.example
   -rw-rw-r-- 1 toolsadm toolsadm   6813 2008-12-30 15:55 PServer
   -rw-r--r-- 1 toolsadm toolsadm   6545 2008-12-29 17:55 PServer.example

PServer defines the repository I'm trying to log into:

   Repository0=/export/local/home/toolsadm/CVS_REPO
   #Repository0Name=/cvs
   Repository0Description=JTH Test Repository
   #Repository0Default=1
   #Repository0Publish=1
   #Repository0Online=1

... and the lockserver:

   LockServer=localhost:8999

... which is running:

   toolsadm at source1:~> ps aux|grep cvs
   toolsadm 10268  0.0  0.1  34944  1636 ?        Ssl   2008   0:00 cvslockd -p 8999
   toolsadm 32030  0.0  0.0   3924   776 pts/0    S+   10:11   0:00 grep cvs

CVS_REPO/CVSROOT/config contains:

   # Set this to 'no' if pserver shouldn't check system users/passwords                                                    
   SystemAuth=yes

   # Alternate location of CVS LockServer.  Set to 'none' to disable..                                                     
   LockServer=localhost:8999

Here's a trace of my login attempt:

   toolsadm at source1:~> cvsnt -ttt login
   10:14:21:   -> Tracelevel set to 3.  PID is 32167
   10:14:21:   -> Session ID is 7da7496223cdff74
   10:14:21:   -> Session time is Mon Jan  5 15:14:21 2009
   10:14:21:   -> Client locale is en_US.UTF-8
   10:14:21:   -> Client was compiled Dec 29 2008 17:51:52
   10:14:21:   -> Client was compiled with GNU C/C++ 40102 (4.1.2 20070115 (SUSE Linux))
   10:14:21:   -> Client build platform is unknown-linux-gnu-x86_64
   10:14:21:   -> Loading protocol pserver as pserver.la
   10:14:21:   -> main loop with CVSROOT=:pserver:toolsadm at source1:/export/local/home/toolsadm/CVS_REPO
   10:14:21:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
   ___snip___
   10:14:21:   -> wrap_add(*.Z -kb, 0, 0, 0, 0)
   Logging in to :pserver:toolsadm at source1:2401:/export/local/home/toolsadm/CVS_REPO
   CVS Password: 
   10:14:26:   -> SetUserValue(cvspass,:pserver:toolsadm at source1:/export/local/home/toolsadm/CVS_REPO)
   10:14:26:   -> Config file name /export/local/home/toolsadm/.cvs/cvspass
   10:14:26:   -> start_server(1)
   10:14:26:   -> client start - client_protocol->connect
   10:14:26:   -> Config file name /export/local/home/toolsadm/.cvs/cvspass
   10:14:26:   -> client start - Loop, getting responses from the server.
   10:14:26:   -> client start - got "I HATE YOU"
   10:14:26:   -> SetUserValue(cvspass,:pserver:toolsadm at source1:/export/local/home/toolsadm/CVS_REPO)
   10:14:26:   -> Config file name /export/local/home/toolsadm/.cvs/cvspass
   cvsnt [login aborted]: authorization failed: server source1 rejected access to 
   /export/local/home/toolsadm/CVS_REPO for user toolsadm


Dumb question .. what am I missing?

Thanks,
Tom


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