logo       

RE: wincvs can login problems: msg#00388

Subject: RE: wincvs can login problems
Hello Greg,
 
Thanks for your help. I found better info that would be more useful. CVS on
Mandrake is set up a little differently than other Linux distro (at least it
appears that way).
 
Here is the following;
 
~From /etc/xinetd.d cvs is used instead of cvspsever 

<snip>

[root@DC xinetd.d]# cat cvs<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

# CVS configuration for xinetd don't forget to specify your CVSROOT in

#  /etc/cvs/cvs.conf.

 

service cvspserver

{

        socket_type = stream

        protocol = tcp

        wait = no

        user = root

        server = /usr/sbin/cvspserver

        disable = no

}

<snip>

~The CVS configuration for xinetd in CVSROOT under /etc/cvs/cvs.conf is;

[root@DC xinetd.d]# cat /etc/cvs/cvs.conf 

# -*- shell-script -*-

#

# Configuration file for the Mandrake CVS-related scripts

#

 

# Locations of CVS repositories you want to export via pserver

CVS_REPOS="/home/cvs/"

 

# cvs.conf ends here

[root@DC xinetd.d]# 

Hopefully, this is enough to show what is going on.
 
Again, many thanks,
 
jp

-----Original Message-----
From: Greg Larkin [mailto:glarkin@xxxxxxxxxxxxxxxxx]
Sent: Thursday, July 31, 2003 12:56 PM
To: JP
Subject: RE: [cvsgui] wincvs can login problems


Hi jp,

You should have a cvspserver file contained within /etc/xinetd.d that
contains something like the following:



service cvspserver
{
        socket_type         = stream
        protocol            = tcp
        wait                = no
        user                = root
        passenv             = 
        server              = /usr/bin/cvs
        server_args         = --allow-root=/home/pauljohn/cvsroot
--allow-root=/home/pauljohn/cvsmisc pserver -f
}


Of course, you'll need to change the /usr/bin/cvs to the proper path on your
Linux machine.  And you'll need to change server_args to
"--allow-root=/home/cvs pserver -f".

Very important - don't forget to become root and issue the command "killall
-HUP xinetd" after you change the contents of the /etc/xinetd.d directory.

Yes, the argument following the -d switch is the value of the CVSROOT
variable.  If you are using a graphical CVS client like WinCVS, you set the
CVSROOT in the Admin->Preferences dialog box.

The funny thing is that you said one of your machine could log into the
server.  If the xinetd process is not configured with a
/etc/xinetd.d/cvspserver file, then I'm not sure how the client could log in
at all.

One other thing that you'll need is a passwd file in the /home/cvs/CVSROOT
directory that contains a listing of each user that logs in to your
repository.

Finally, are the client and server communicating on a secure LAN or over the
Internet?  Be aware that the pserver protocol is insecure and should be
wrapped with SSL if you are operating over the Internet.

Regards,
Greg

At 03:46 PM 7/31/2003, you wrote:


Hello Greg,
 
Thanks for the response. The xinetd.conf files only has the default
settings;
 
defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success  = HOST PID
        log_on_failure  = HOST
 cps   = 25 30
}
 
includedir /etc/xinetd.d
 
... and there is no inetd.conf file.
 
Forgive my ignorance, but where would I find the CVSROOT value for each
client? Is it the following; 
 

cvs -d :pserver:jp@DC:/home/cvs login 

 

The CVS initial work area on the Linux server was created by "cvs -d
/home/cvs init", which created the CVSROOT sub-directory with all of its
contents.

Thank you,

jp 


-----Original Message----- 

From: Greg Larkin [ mailto:glarkin@xxxxxxxxxxxxxxxxx
<mailto:glarkin@xxxxxxxxxxxxxxxxx> ] 

Sent: Thursday, July 31, 2003 11:58 AM 

To: cvsgui@xxxxxxxxxxxxxxx; CVSGUI (E-mail) 

Cc: JP@xxxxxxxxxxxxxxxx 

Subject: Re: [cvsgui] wincvs can login problems



At 02:47 PM 7/31/2003, JP wrote: 


Hello,



I have CVS server running on a Mandrake 9.1 machine and Wincvs running on an


XP station and a Win98 station. The XP machine can log into the repository 

while the 98 box cannot. Its receives an error of; 

cvs95 [login aborted]: /home/cvs: no such repository



Afterwards, I set up Wincvs on another XP unit and it too gets the same "no 

such repository" message.



I set up preferences on all three machines to be identical, but to no avail.


What can I do to resolve this?



Many thanks in advance.



jp

Hi jp,



The only reason that the "no such repository" error should appear is when
your CVSROOT repository path does not match the value of the --allow-root
option on your CVS server.  I would suggest posting the contents of your
inetd.conf/xinetd.conf here so we can have a look at it.  Also, send the
value of CVSROOT for each client.



Regards, 

Greg



---- 

Greg Larkin 

SourceHosting.Net, LLC 

The new baseline for configuration management



glarkin@xxxxxxxxxxxxxxxxx 

http://www.sourcehosting.net/ <http://www.sourcehosting.net/> 




----
Greg Larkin
SourceHosting.Net, LLC
The new baseline for configuration management

glarkin@xxxxxxxxxxxxxxxxx
http://www.sourcehosting.net/ <http://www.sourcehosting.net/> 




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. 
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-unsubscribe@xxxxxxxxxxxxxxx
 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe