Re: how to get cvs pserver working with xinetd?

2005-05-27 Thread manuel 'fmf' ferrero
王宗涛, on 27/05/2005 4.44 wrote:

> but when I issue command  # netstat -lnp | grep cvs
> the system echo nothing  ,so i think  the service cvspserver does not working

AFAIK services in (x)inetd aren't in listening until someone didn't try
to connect to them.
But i'm not so sure about it.

I have cvs pserver in inetd:

Consulente1:/etc/apt# grep cvs /etc/inetd.conf
# cvs pserver
cvspserver  stream  tcp nowait  root/usr/bin/cvs cvs
--allow-root=/usr/local/cvspserver


And it isn't listed in netstat:

Consulente1:/etc/apt# netstat -lnp|grep cvs
Consulente1:/etc/apt#


But it works for me when i try to connect to it:

Consulente1:/etc/apt# grep pserver /var/log/syslog.0
May 26 08:44:55 Consulente1 tcpspy[295]: connect: user root, local
10.1.6.60:cvspserver, remote 10.1.53.67:1207


Ah, i have a firewall on the server and i had to open pserver port:

Consulente1:/etc/apt# grep cvs /etc/shorewall/rules
# cvs
ACCEPT  loc $FW tcp cvspserver


HTH HAND
-- 
manuel 'fmf' ferrero | http://www.servidellagleba.it/~manuel/blog/
"- Answer to question. Did you see a sign out in front of my house that
said, Dead nigger storage?
 - Naw man, I didn't.
 - You know why you didn't see that sign?
 - Why?
 - 'Cause storin' dead niggers ain't my fuckin' business!"
-- Jimmie Dimmick & Jules Winnfield


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: how to get cvs pserver working with xinetd?

2005-05-27 Thread Andy Jones
xinetd is a server which starts other server processes, such as
pserver, when it receives a request for them.  So you might not see
pserver all the time.

I assume that you cannot connect using pserver from a remote machine?

I think that if you post your xinetd script, and also tell us how you
tried to connect to CVS remotely (using what client?  What error
messages appeared?  Can you show us the CVS command line the client is
building?), someone here should be able to help you.

Andy.
-- 
Give me ambiguity, or give me something else.


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


how to get cvs pserver working with xinetd?

2005-05-26 Thread 王宗涛
I think i did all the needed to set up cvs pserver following the cvs howto in 
https://ccvs.cvshome.org/fom//cache/124.html,
, but it does not work
//

I do make sure that  in my system  (redhat 9.0 with eveything installed)

filecvspserver with correct content   
in directory /etc/xinetd.d/

line 
cvspserver 2401/tcp 
cvspserver 2401/udp   
in file /etc/service 

I aslo restart service xinetd 

but when I issue command  # netstat -lnp | grep cvs
the system echo nothing  ,so i think  the service cvspserver does not working
  
///
 

what is the problem ?  can anybody help me!


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Solaris 10 SMF and cvs pserver config ?

2005-03-13 Thread Rachel Burns
Never mind, inetconv came to the rescue.  Just converted
the inetd.conf entries to SMF xml file and all is well.
Rachel Burns wrote:
Solaris 10 has a new service management facility (smf)
as a replacement for inetd.conf.
Does anyone have a ready-to-go smf configuration that
can be used to run cvs pserver w/o using inetd.conf on
Solaris 10 ?

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Solaris 10 SMF and cvs pserver config ?

2005-03-13 Thread Rachel Burns
Solaris 10 has a new service management facility (smf)
as a replacement for inetd.conf.
Does anyone have a ready-to-go smf configuration that
can be used to run cvs pserver w/o using inetd.conf on
Solaris 10 ?

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-18 Thread Baurzhan Ismagulov
On Thu, Feb 17, 2005 at 02:44:38PM -0800, alex wrote:
> > I would say this looks like a TCP wrapper (/etc/hosts.allow,
> > /etc/hosts.deny, hosts_access(5), hosts_options(5)).
> 
> Maybe but where does that comes from and how can I change it. My hosts
> file are not used ( I am using xinetd not inetd ) and empty and the
> firewall is empty also:

Ok, from your cvspserver file seems that you don't use TCP wrapper
application, but xinetd could have the TCP wrapper library linked. Try
the following command to check what is going on:

strace -f -o /tmp/zzz -p `ps ax |grep xinetd |grep -v grep |awk "{print $1}"`

(or just put the PID of your xinetd process after -p).

After that, look in /tmp/zzz and find the line that does
execve("/usr/bin/cvs", ...) and track what the process with that PID
does. If it opens the files mentioned above and closes the socket
shortly afterwards, this means you should add a cvs line into your
/etc/hosts.allow.

With kind regards,
Baurjan.


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread Mike Klinke
On Thursday 17 February 2005 16:10, alex wrote:
 
>
> I read it before but couldn't find an answer. thanks for your
> help. Alex
 
Well, for what it's worth I also run FC3, took your cvspserver file, 
popped it into my xinetd.d directory and restarted xinetd.  No 
problems here as you can see below.  I don't have it running but 
could FC3's SELinux be tripping you up if you have it running in 
"strict" mode?

 
# telnet localhost 2401

Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

cvs [pserver aborted]: bad auth protocol start: 

Connection closed by foreign host

Regards, Mike Klinke


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread alex
> > That looks like some kind of firewall software rejecting the connection.
> 
> I would say this looks like a TCP wrapper (/etc/hosts.allow,
> /etc/hosts.deny, hosts_access(5), hosts_options(5)).

Maybe but where does that comes from and how can I change it. My hosts
file are not used ( I am using xinetd not inetd ) and empty and the
firewall is empty also:
[EMAIL PROTECTED] ~]# cat /etc/hosts.allow
#
# hosts.allow   This file describes the names of the hosts which are
#   allowed to use the local INET services, as decided
#   by the '/usr/sbin/tcpd' server.
#

[EMAIL PROTECTED] ~]# cat /etc/hosts.deny
#
# hosts.denyThis file describes the names of the hosts which are
#   *not* allowed to use the local INET services, as
decided
#   by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In
particular
# you should know that NFS uses portmap!

[EMAIL PROTECTED] ~]# iptables -F
[EMAIL PROTECTED] ~]# /etc/init.d/xinetd restart
Stopping xinetd:   [  OK  ]
Starting xinetd:   [  OK  ]
[EMAIL PROTECTED] ~]# telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

Thanks for your help.
Regards,
alex
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread alex
> You may have to put the line 'disable = no'[1] in /etc/xinetd.d/cvspserver.
> have you issued `service xinetd restart`, since setting up
> /etc/xinetd.d/cvspserver?
I tried but with no change:
[EMAIL PROTECTED] ~]# cat /etc/xinetd.d/cvspserver
service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvsroot pserver
}
[EMAIL PROTECTED] ~]# /etc/init.d/xinetd restart
Stopping xinetd:   [  OK  ]
Starting xinetd:   [  OK  ]
[EMAIL PROTECTED] ~]# telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

> has the following link been of any help?
> https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs_21.html#SEC187
I read it before but couldn't find an answer. thanks for your help.
Alex
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread Baurzhan Ismagulov
On Thu, Feb 17, 2005 at 10:02:33AM -0500, Larry Jones wrote:
> > telnet localhost 2401
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain (127.0.0.1).
> > Escape character is '^]'.
> > Connection closed by foreign host.
> 
> That looks like some kind of firewall software rejecting the connection.

I would say this looks like a TCP wrapper (/etc/hosts.allow,
/etc/hosts.deny, hosts_access(5), hosts_options(5)).

With kind regards,
Baurzhan.


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread Todd Denniston
alex wrote:
> 
> >  server_args = -f --allow-root=/usr/local/cvsroot server
> >
> > should be
> >
> >  server_args = -f --allow-root=/usr/local/cvsroot pserver
> >
> > You need "pserver" not "server"
> I made a typo. server_args is:
> server_args = -f --allow-root=/usr/local/cvsroot pserver
> the result is the same.
> telnet localhost 2401
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> Connection closed by foreign host.
> Any more help welcome.
> Alex

You may have to put the line 'disable = no'[1] in /etc/xinetd.d/cvspserver.
have you issued `service xinetd restart`, since setting up
/etc/xinetd.d/cvspserver?

has the following link been of any help?
https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs_21.html#SEC187

[1] For reasons I have forgotten, I believe there needs to be a tab between
'disable' and the '='.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-17 Thread Larry Jones
alex writes:
>
> telnet localhost 2401
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> Connection closed by foreign host.

That looks like some kind of firewall software rejecting the connection.

-Larry Jones

OK, there IS a middle ground, but it's for sissy weasels. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-16 Thread alex
>  server_args = -f --allow-root=/usr/local/cvsroot server
> 
> should be
> 
>  server_args = -f --allow-root=/usr/local/cvsroot pserver
> 
> You need "pserver" not "server"
I made a typo. server_args is:
server_args = -f --allow-root=/usr/local/cvsroot pserver
the result is the same.
telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Any more help welcome.
Alex
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: problem setting cvs pserver

2005-02-16 Thread Rahul
The line  in cvspserver service definition:

 server_args = -f --allow-root=/usr/local/cvsroot server

should be

 server_args = -f --allow-root=/usr/local/cvsroot pserver

You need "pserver" not "server"

Regards,
Rahul Bhargava
CTO, WANdisco
http://www.wandisco.com/cvs

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


problem setting cvs pserver

2005-02-16 Thread alex
Hi all,
I am using fedora core 3,
Concurrent Versions System (CVS) 1.11.17 (client/server)
xinetd Version 2.3.13 libwrap loadavg
and I am trying to set up a CVS pserver on my machine ( without any
security in mind at the moment):
my cvspserver file:
_
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/usr/local/cvsroot server
}
__
Other setting:
echo $CVSROOT
/usr/local/cvsroot/
which cvs
/usr/bin/cvs

but when I try to connect I always get:
cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot login
Logging in to :pserver:[EMAIL PROTECTED]:2401/usr/local/cvsroot
CVS password:
cvs [login aborted]: reading from server: Connection reset by peer

After viewing:
https://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_21.html#SEC184
I tried:
[EMAIL PROTECTED] ~]# telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

To test my xinetd daemon I used my ftp server:
telnet localhost ftp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 (vsFTPd 2.0.1)
...

So I believe that xinetd is working properly, where can I go from here
to get cvspserver to work properly.
Any help welcome,
Alex
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: cvs pserver problem and xinetd. connection refused

2005-01-18 Thread Guus Leeuw jr.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:info-cvs-
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: mardi 18 janvier 2005 23:19

[snip]

> 3. added following line to the /etc/xinetd.conf file so xinetd listens to
> port
> 2401 and knows to run command cvs pserver when it receives a connection:
> 
> {
> port= 2401
> socket_type = stream
> protocol= tcp
> user= root
> wait= no
> type= UNLISTED
> server  = /usr/bin/cvs
>     server_args = -f --allow-root=/cvs pserver
> disable = no
> }

[snip]

> Lastly, I've looked at the /var/log/messages file and do not see
> anything of use to me in this matter. There is absolutely nothing in
> this file about cvspserver or pserver. The only thing I see is the
> following when xinetd is restarted:
> 
> Jan 19 15:05:01 emobilebugzilla xinetd[8501]: missing service keyword
> [line=21]
> 
> If anyone has any sort of clue as to why this is happening please let
> me know. Most importantly, if someone knows how to fix it I will be
> extremely grateful. Thank you for your time.

Moah yes... According to 3. above there is no service given for the block...
So, that's the reason why xinetd complains.

Some other comments:
1) You generally don’t need to include the service config in xinetd.conf,
but rather in its own file in /etc/xinetd.d/ (as you seem to do *also*)
2) You should not need the port assignment in your config... Given the
proper service directive and name, xinetd should be able to figure the port
number through nsswitch and friends.

Guus


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005



___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs pserver problem and xinetd. connection refused

2005-01-18 Thread matthias
Hey guys,

these are the steps I've taken so far to run pserser in cvs 1.11.18 (redhat 9);
however, I always get the message:
"cvs [login aborted]: connect to ##address##(##address##):2401 failed:
Connection refused"

1. created $CVSROOT and exported it. repository is set to /cvs
2. initialized the repository with init
3. added following line to the /etc/xinetd.conf file so xinetd listens to port
2401 and knows to run command cvs pserver when it receives a connection:

{
port= 2401
socket_type = stream
protocol= tcp
user= root
wait= no
type= UNLISTED
server  = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
disable = no
}

4. made sure /etc/services has the symbolic service name like below

cvspserver 2401/tcp
cvspserver 2401/udp

5. created file /etc/xinetd.d/cvspserver containing the following service
cvspserver

{
port= 2401
socket_type = stream
protocol= tcp
wait= no
user= root
env = HOME=/cvs
server  = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
disable = no
}

6. restart xinetd
7. created file $CVSROOT/CVSROOT/passwd with username:password in its
own line for every user.

When I run the following command "netstat -anp", I don't see "cvspserver"
running on 2401, there is nothing running on that port!

Lastly, I've looked at the /var/log/messages file and do not see
anything of use to me in this matter. There is absolutely nothing in
this file about cvspserver or pserver. The only thing I see is the
following when xinetd is restarted:

Jan 19 15:05:01 emobilebugzilla xinetd[8501]: missing service keyword [line=21]

If anyone has any sort of clue as to why this is happening please let
me know. Most importantly, if someone knows how to fix it I will be
extremely grateful. Thank you for your time.


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: CVS pserver login problem

2004-11-26 Thread milkfilk
I banged my head on the wall on this "connection refused" problem.  The
default gentoo "emerge" throws an xinet.d/cvspserver config that just
needs:

only_from   = 192.168.1.0

Which represents my local subnet.  Without that, I could only telnet to
localhost on 2401.  It was strange and frustrating.  The default must
be 'localhost' if only_from isn't defined.
Not much anywhere on this.  Not even the CVS FAQ.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs pserver access log?

2004-10-17 Thread Alex Valentine
I'm trying to get some data on who has been accessing a pserver cvs
repository. Is there any default log file that contains this information
or at least an option I can set in inetd? Also, are there any web
scripts that can publish thing information?

Thanks in advance.
-- 
/
Alex Valentine [EMAIL PROTECTED]
aim: asv108vv jabber: [EMAIL PROTECTED]
/


signature.asc
Description: This is a digitally signed message part
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs pserver and ssh access stats

2004-10-05 Thread Alex Valentine
Sorry for the newbie question, but this issue keeps coming up. Our
project has two cvs servers, one for developers accessing via ssh and a
pserver for anonymous access on another machine. 

Where can I find the access logs for the pserver machine? Are there any
packages out there for displaying cvs pserver access statistics on a
website? 

Thanks in advance.
-- 
/
Alex Valentine [EMAIL PROTECTED]
aim: asv108vv jabber: [EMAIL PROTECTED]
/


signature.asc
Description: This is a digitally signed message part
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: [cvs pserver] unrecognized auth response

2004-07-14 Thread Larry Jones
Mark D. Baushke writes:
> 
> If the directory is NFS mounted, it is possible that root does not have
> permissions to one or more of the intermediate directories leading to
> the config file.

It's also asking for trouble -- essentially every reported instance of
repository corruption as been caused by NFS interoperability bugs. 
You're strongly advised to *NOT* use an NFS-mounted repository.

-Larry Jones

I'm so disappointed. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: [cvs pserver] unrecognized auth response

2004-07-14 Thread Mark D. Baushke
<#part sign=pgp [EMAIL PROTECTED]>
Hon Seng Phuah <[EMAIL PROTECTED]> writes:

> "Mark D. Baushke" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > As user root, outside of cvs, are you able to read the file
> > /pgfs3/asic3/users/cvs/CVSROOT/config while you are logged into host
> > pglc8004 ?
> 
> I cannot login as root as I do not have root password. When I login to
> the pglc8004 as my own user name, I can view the file,
> /pgfs3/asic3/users/cvs/CVSROOT/config.

If you can verify that the file is not being NFS mounted, then that
might be enough information. (I am assuming that it is NFS mounted and
that the mount point maps user root to user nobody which does not have
any access to the mounted filesystem).

> > If the directory is NFS mounted, it is possible that root does not have
> > permissions to one or more of the intermediate directories leading to
> > the config file.
> 
> I will have to check with my system administrator. If the root has the
> file permission, what can the possible causes?

If root has the ability to read that file, then the error message from
cvs:

 > cvs [login aborted]: unrecognized auth response from pglc8004: cvs
 > pserver: cannot open /pgfs3/asic3/users/cvs/CVSROOT/config: Permission
 > denied

does not make any sense at all. That message means that root is not able
to read one or more of the directories /pgfs3 /pgfs3/asic3
/pgfs3/asic3/users /pgfs3/asic3/users/cvs /pgfs3/asic3/users/cvs/CVSROOT
or the file /pgfs3/asic3/users/cvs/CVSROOT/config itself.

If the underlying mount point had bad permissions, then your userid
would not be able to read the file, so that is unlikely to be the
problem.

If user root is actually able to read the
/pgfs3/asic3/users/cvs/CVSROOT/config file directly, then you will
probably need to do a bit more debugging (possibly as user root) to
determine the problem.

Of course, you could just forget about using :pserver: which is fairly
insecure and go to using :ext: and providing unique userids on pglc8004
for any user that needs access to this repository. (Hint: I am not a fan
of :pserver: and believe it to be insecure to ever have cvs run as user
root.)

-- Mark


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: [cvs pserver] unrecognized auth response

2004-07-14 Thread Hon Seng Phuah
"Mark D. Baushke" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hon Seng Phuah <[EMAIL PROTECTED]> writes:
> 
> > My system administor just set up a cvs pserver on a linux machine. The
> > configuration for x.inetd.d is:
> > 
> > service cvspserver
> > {
> > #   disable = no
> >port = 2401
> >socket type = stream
> >protocol = tcp
> >wait = no
> >user = root
> >passenv = PATH
> >server = /usr/bin/cvs
> >server args = -f --allow-root=/pgfs3/asic3/users/cvs pserver 
> > }
> > 
> > cvs -d :pserver:[EMAIL PROTECTED]:2401/pgfs3/asic3/users/cvs login
> > 
> > cvs [login aborted]: unrecognized auth response from pglc8004: cvs
> > pserver: cannot open /pgfs3/asic3/users/cvs/CVSROOT/config: Permission
> > denied
> > 
> > I have the /pgfs3/asic3/users/cvs/CVSROOT/config and the
> > subdirectories in /pgfs3/asic3/users/cvs set to 777 and had created
> > passwd and save in the /pgfs3/asic3/users/cvs/CVSROOT/passwd.
> > 
> > May anyone tell me what I have done wrong here and how to solve my
> > login problem? Thanks in advance.
> 
> As user root, outside of cvs, are you able to read the file
> /pgfs3/asic3/users/cvs/CVSROOT/config while you are logged into host
> pglc8004 ?

I cannot login as root as I do not have root password. When I login to
the pglc8004 as my own user name, I can view the file,
/pgfs3/asic3/users/cvs/CVSROOT/config.

> 
> If the directory is NFS mounted, it is possible that root does not have
> permissions to one or more of the intermediate directories leading to
> the config file.

I will have to check with my system administrator. If the root has the
file permission, what can the possible causes?

> 
>   -- Mark
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (FreeBSD)
> 
> iD8DBQFA9NXB3x41pRYZE/gRAsY7AJ9EJTL5oQpnZP8hs/yrzlvwC+BerACgjNSn
> 9TsGtJjchG8UcoGtBpCScDw=
> =uzHE
> -END PGP SIGNATURE-


Thanks.
-HS Phuah
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: [cvs pserver] unrecognized auth response

2004-07-13 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hon Seng Phuah <[EMAIL PROTECTED]> writes:

> My system administor just set up a cvs pserver on a linux machine. The
> configuration for x.inetd.d is:
> 
> service cvspserver
> {
> #   disable = no
>port = 2401
>socket_type = stream
>protocol = tcp
>wait = no
>user = root
>passenv = PATH
>server = /usr/bin/cvs
>server_args = -f --allow-root=/pgfs3/asic3/users/cvs pserver 
> }
> 
> cvs -d :pserver:[EMAIL PROTECTED]:2401/pgfs3/asic3/users/cvs login
> 
> cvs [login aborted]: unrecognized auth response from pglc8004: cvs
> pserver: cannot open /pgfs3/asic3/users/cvs/CVSROOT/config: Permission
> denied
> 
> I have the /pgfs3/asic3/users/cvs/CVSROOT/config and the
> subdirectories in /pgfs3/asic3/users/cvs set to 777 and had created
> passwd and save in the /pgfs3/asic3/users/cvs/CVSROOT/passwd.
> 
> May anyone tell me what I have done wrong here and how to solve my
> login problem? Thanks in advance.

As user root, outside of cvs, are you able to read the file
/pgfs3/asic3/users/cvs/CVSROOT/config while you are logged into host
pglc8004 ?

If the directory is NFS mounted, it is possible that root does not have
permissions to one or more of the intermediate directories leading to
the config file.

-- Mark

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA9NXB3x41pRYZE/gRAsY7AJ9EJTL5oQpnZP8hs/yrzlvwC+BerACgjNSn
9TsGtJjchG8UcoGtBpCScDw=
=uzHE
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


[cvs pserver] unrecognized auth response

2004-07-13 Thread Hon Seng Phuah
Hi all,

My system administor just set up a cvs pserver on a linux machine. The
configuration for x.inetd.d is:

service cvspserver
{
#   disable = no
   port = 2401
   socket_type = stream
   protocol = tcp
   wait = no
   user = root
   passenv = PATH
   server = /usr/bin/cvs
   server_args = -f --allow-root=/pgfs3/asic3/users/cvs pserver 
}

cvs -d :pserver:[EMAIL PROTECTED]:2401/pgfs3/asic3/users/cvs login

cvs [login aborted]: unrecognized auth response from pglc8004: cvs
pserver: cannot open /pgfs3/asic3/users/cvs/CVSROOT/config: Permission
denied

I have the /pgfs3/asic3/users/cvs/CVSROOT/config and the
subdirectories in /pgfs3/asic3/users/cvs set to 777 and had created
passwd and save in the /pgfs3/asic3/users/cvs/CVSROOT/passwd.

May anyone tell me what I have done wrong here and how to solve my
login problem? Thanks in advance.

-HS
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Tom Copeland
On Thu, 2004-07-08 at 13:48, Larry Jones wrote:
> > Has anyone given a shot at writing some front-end code to let cvs stay
> > in memory and serve up requests?  
> 
> That could be a challenge 

Yup, sounds like it :-).  That's cool, just wondered about it...

Thanks,

Tom



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Larry Jones
Tom Copeland writes:
> 
> That's something I've wondered about... since cvs is run under xinetd,
> the 500 KB binary gets loaded into memory each time a command comes in. 

Most modern systems keep the text in virtual memory until something else
needs the memory, but if you're concerned, you can always set the sticky
bit on the exectuable.

> Has anyone given a shot at writing some front-end code to let cvs stay
> in memory and serve up requests?  

That could be a challenge since the code is completely untested in the
environment.  People have already reported problems sending multiple
commands over a single connection, let alone trying to server completely
unrelated users.

-Larry Jones

I think we need to change the rules. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Copeland <[EMAIL PROTECTED]> writes:

> On Thu, 2004-07-08 at 10:53, Mark D. Baushke wrote:
> > The cvs executable itself is not intended to be a long-running daemon.
> 
> That's something I've wondered about... since cvs is run under xinetd,
> the 500 KB binary gets loaded into memory each time a command comes in. 

I suspect the size and how many pages of the program may be shared among
processes will depend on your hardware and operating system.

> Has anyone given a shot at writing some front-end code to let cvs stay
> in memory and serve up requests?  

There are multiple 'front-end' programs for cvs. Two of the most popular
are named xinetd and inetd.

As for your suggestion that cvs run as a long-lived daemon, it is not
written securly enough for that (honestly, it would need a redesign and
reimplementation to be even close to safe running as 'root' most of the
time, that rewrite is called 'svn' and may be fetched from
subversion.tigris.org) and in any case as it needs to protect ownership
and group permissions, so all of the work after the initial connection
would need to be handed to a forked copy of itself that changed
permissions in any case which would have to switch users and 'lose' its
ability to do the right thing with future connections without a lot of
redesign.

Of course, I admit that I would personally rather see :pserver: code
dropped entirely from cvs as I do not consider it safe to operate a
server in pserver mode. In my opinion, cvs should operate without trying
to do user authentication and primary access control should be handled
by the operating system on which cvs is running... so I may be a bit
biased on the subject of this thread.

Enjoy!
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD4DBQFA7Yh83x41pRYZE/gRAmrXAKC9cvfMXCqTZtCJm0kqU4gelYx61gCY8ZMi
azHbSOcnBdXQzEAZoLVw/w==
=duDF
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Tom Copeland
On Thu, 2004-07-08 at 10:53, Mark D. Baushke wrote:
> The cvs executable itself is not intended to be a long-running daemon.

That's something I've wondered about... since cvs is run under xinetd,
the 500 KB binary gets loaded into memory each time a command comes in. 
Has anyone given a shot at writing some front-end code to let cvs stay
in memory and serve up requests?  

Yours,

tom



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karl Lehnberger <[EMAIL PROTECTED]> writes:

> Following the recommendations on
>   http://mia.ece.uic.edu/~papers/volans/setUpCVS.html
> I set up a cvs environment on a RedHat9 Linux box (cvs-1.11.2-10).
> But starting the cvs server either with
>   cvs -f --allow-root=/space/cvs pserver&

This will not work as cvs does not itself bind to a particular port, but
assumes that stdin, stdout and stderr will be connected to the
appropriate place.

> or over
>   xinetd

This should work and should cause xinetd to be listening for connections
to port 2401. When such a connection is initiated, xinetd will set
stdin, stdout and stderr correctly for a newly created child cvs process
and continue to listen on port 2401 for any other new incoming
connections.

The cvs executable itself is not intended to be a long-running daemon.

> and then trying to connect from a client via
>   telnet cvshost 2401
> or
>   cvs :pserver:[EMAIL PROTECTED]:/space/cvs login
> gives the error "connection refused" which means
> that the cvs process isn't even listening on port 2401.
> (verified with netstat)
> In /var/log/messages I found
> Jun  29 14:07:11 lll cvs: error setting KEEPALIVE: Socket operation on
> non-socket
> but the cvs server is running.

In the first case, the cvs pserver is waiting for input from the
controlling tty from which it was initiated.

In the second case, my guess is that the xinetd is not properly
configured or that you have a /etc/hosts.deny or other similar tcp
wrapper configuration that is filtering all connections to 2401 into the
bit bucket before xinetd sees them.

> What can be the reason that "cvs pserver" isn't listening on port 2401?

Becase 'cvs pserver' never listens on any port. That is something to do
in xinetd or inetd and its interactions with either ipchains, iptables
or the use of a tcpd wrapper using hosts.allow and hosts.deny files.

> There is no blocking firewall or router involved.

By default, many systems block this stuff for you. I believe that Redhat
9 GNU/Linux may be one such that does. Look for hosts.deny and
hosts.allow files or an ipchains or iptables configuration as the most
likely cause of this problem.

> Thank's for help
> -Karl

Good luck,
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA7V/d3x41pRYZE/gRAjVoAJ0YGnKxGFyqhQRPdwGwPw6a5g0buACgxXTN
0zSY5aTuX++XwRfqHfls1NI=
=X21y
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread Larry Jones
Karl Lehnberger writes:
>
> But starting the cvs server either with
>   cvs -f --allow-root=/space/cvs pserver&

You can't do that -- CVS doesn't run as a stand-alone server, it *must*
run under a superserver like inetd or xinetd.

> or over
>   xinetd

Then your xinetd configuration likely wasn't correct.

-Larry Jones

Let's just sit here a moment... and savor the impending terror. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: cvs pserver not listening on port 2401

2004-07-08 Thread JGentilin
Did you try nmap?  This should show the cvspserver on port 2401.  Do you
have any local firewall rules that might block the port?  I had a similar
problem when I setup my RedHat 9 machine as a server install.


"Karl Lehnberger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Following the recommendations on
>   http://mia.ece.uic.edu/~papers/volans/setUpCVS.html
> I set up a cvs environment on a RedHat9 Linux box (cvs-1.11.2-10).
> But starting the cvs server either with
>   cvs -f --allow-root=/space/cvs pserver&
> or over
>   xinetd
> and then trying to connect from a client via
>   telnet cvshost 2401
> or
>   cvs :pserver:[EMAIL PROTECTED]:/space/cvs login
> gives the error "connection refused" which means
> that the cvs process isn't even listening on port 2401.
> (verified with netstat)
> In /var/log/messages I found
> Jun  29 14:07:11 lll cvs: error setting KEEPALIVE: Socket operation on
> non-socke
> t
> but the cvs server is running.
> What can be the reason that "cvs pserver" isn't listening on port 2401?
> There is no blocking firewall or router involved.
>
> Thank's for help
> -Karl
>
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs pserver not listening on port 2401

2004-07-08 Thread Karl Lehnberger
Following the recommendations on
  http://mia.ece.uic.edu/~papers/volans/setUpCVS.html
I set up a cvs environment on a RedHat9 Linux box (cvs-1.11.2-10).
But starting the cvs server either with
  cvs -f --allow-root=/space/cvs pserver&
or over
  xinetd
and then trying to connect from a client via
  telnet cvshost 2401
or
  cvs :pserver:[EMAIL PROTECTED]:/space/cvs login
gives the error "connection refused" which means
that the cvs process isn't even listening on port 2401.
(verified with netstat)
In /var/log/messages I found
Jun  29 14:07:11 lll cvs: error setting KEEPALIVE: Socket operation on
non-socke
t
but the cvs server is running.
What can be the reason that "cvs pserver" isn't listening on port 2401?
There is no blocking firewall or router involved.

Thank's for help
-Karl


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Cruisecontrol and cvs pserver 1.12.9

2004-07-02 Thread Mark O
It seems the formating changes in CVS has affected cruise control's
operation. Has anyone tickered with the source of the lastest cruise
control and willing to share the diffs?

-- 
==//
Mark O. email2mark at gmail dot com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: cvs (pserver) and LDAP ?

2004-03-30 Thread Peter Connolly
Before you consider that, you should read:

http://www.cvshome.org/docs/manual/cvs-1.11.14/cvs_2.html#SEC32

2.9.3.3 Security considerations with password authentication 

The passwords are stored on the client side in a trivial encoding of the
cleartext, and transmitted in the same encoding. The encoding is done
only to prevent inadvertent password compromises (i.e., a system
administrator accidentally looking at the file), and will not prevent
even a naive attacker from gaining the password. 


> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:info-cvs-
> [EMAIL PROTECTED] On Behalf Of Dorin Ciobanu
> Sent: Tuesday, March 30, 2004 4:29 AM
> To: [EMAIL PROTECTED]
> Subject: cvs (pserver) and LDAP ?
> 
> Hi !
> 
> Does anyone knows how to configure a pserver CVS repository and to use
> pam_ldap for athentication ?
> 
> Maybe a tutorial available ?
> 
> Thx !
> 
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


cvs (pserver) and LDAP ?

2004-03-30 Thread Dorin Ciobanu
Hi !

Does anyone knows how to configure a pserver CVS repository and to use 
pam_ldap for athentication ?

Maybe a tutorial available ?

Thx !



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: CVS pserver login problem

2004-02-01 Thread Adam Vainder
All,

I made the changes you all suggested, and tried it from another machine. I 
was able to connect and get a message other than EOF (it was a refusal, but 
just means i need to double-check my pwd :-P )

So it is probably an issue with my firewall, even htough I thought I had
all the right ports open. Apparently I'm missing the ones I needed. 

Thanks for all the help and suggestions.

Adam

-Original Message-
From: [EMAIL PROTECTED] (Larry Jones)
To: [EMAIL PROTECTED] (Adam Vainder)
Cc: [EMAIL PROTECTED] (Peter Connolly), [EMAIL PROTECTED]
Date: Sat, 31 Jan 2004 12:40:28 -0500 (EST)
Subject: Re: CVS pserver login problem

> Adam Vainder writes:
> >  
> > and tried the "telnet into port 2401" debug that they suggested.
> > Unfortunately (well for this case), I got the "bad auth protocol"
> > message, indicating that CVS is working correctly.
> 
> Did you telnet from the remote machine you're having problems with? 
> The
> problem is almost certainly that your server is using some kind of
> access control (probably the TCP wrappers library using
> /etc/hosts.allow
> and/or /etc/hosts.deny files) that's not allowing access to CVS from
> the
> remote machine.
> 
> -Larry Jones
> 
> There's a connection here, I just know it. -- Calvin




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: CVS pserver login problem

2004-01-31 Thread Larry Jones
Adam Vainder writes:
>  
> and tried the "telnet into port 2401" debug that they suggested.
> Unfortunately (well for this case), I got the "bad auth protocol"
> message, indicating that CVS is working correctly.

Did you telnet from the remote machine you're having problems with?  The
problem is almost certainly that your server is using some kind of
access control (probably the TCP wrappers library using /etc/hosts.allow
and/or /etc/hosts.deny files) that's not allowing access to CVS from the
remote machine.

-Larry Jones

There's a connection here, I just know it. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS pserver login problem

2004-01-30 Thread Adam Vainder

Peter,
 
Thanks for the link. I looked at what it said, especially the snippet 
:
 
"errors like "connection reset by peer", "received broken pipe signal", 
"recv() from server: EOF", or "end of file from server" typically indicate 
that inetd is listening for connections but is unable to start 
CVS (this is frequently caused by having an incorrect path in 
`inetd.conf' or by firewall software rejecting the connection). 
"
 
and tried the "telnet into port 2401" debug that they 
suggested. Unfortunately (well for this case), I got the "bad auth protocol" 
message, indicating that CVS is working correctly.
 
I'll check about firewall stuff this weekend, but it 
shouldn't be behind anything that would block CVS (its on a college campus 
that lets pretty much any protocol through). Maybe it's something on my end 
*shrug*. 
 
Any other ideas in the meantime?
 
Sorry to bug you guys with this, Ive been trying to figure 
it out solo for quite some time.
 
Thanks again,
Adam-Original Message-From: "Peter Connolly" 
<[EMAIL PROTECTED]>To: "Adam Vainder" 
<[EMAIL PROTECTED]>, [EMAIL PROTECTED]Date: Fri, 30 Jan 2004 
17:44:53 -0800Subject: RE: CVS pserver login problem> Check 
this out: > 
http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_21.html#SEC184> 
> > >-- Original Message --> >Date: Fri, 30 Jan 
2004 16:05:03 -0500> >From: "Adam Vainder" 
<[EMAIL PROTECTED]>> >To: [EMAIL PROTECTED]> 
>Subject: CVS pserver login problem> >> >> 
>Hi, > >> >I hope this is the right place to send 
this. If not, please let me> know> > >where to 
send/post it. > >> >I've been trying to figure this out 
on my own for about a month, and> just> >> >cant 
take it anymore. Hopefully one of you has seen this before and> 
knows> >> >the answer.> >> >I set up 
a pserver on a Red Hat 9 machine with CVS installed. From> that
> > >machine, i have no problem using the pserver info to 
access the cvs> server.> >> >But from a remote 
machine, I only get an "end of file" message if i> try> to
> >> >log in. It happens whether password is correct or not. 
Any ideas what> might> >> >be causing this? 
 > >> >Thanks,> >Adam> >
> >The following is info about related files and the error message, 
let> me> know> >> >if you need more (and 
please be as specific as possible, especially > with> >
> >typical locations of files) :> >> >from 
/etc/services :> >cvspserver      2401/tcp   
                    
 # CVS client/server > >operations> >cvspserver 
     2401/udp             
           # CVS client/server > 
>operations> >> >from /etc/xinetd.conf :> 
>defaults> >{> >        instances 
              = 60> >   
     log_type             
   = SYSLOG authpriv> >       
 log_on_success          = HOST PID> 
>        log_on_failure         
 = HOST> >        cps     
                = 25 30> 
>}> >includedir /etc/xinetd.d> >> >from 
/etc/xinetd.d/cvspserver :> >service cvspserver> >{
> >        socket_type     = stream
> >        protocol        = 
tcp> >        wait         
   = no> >        user     
       = root> >       
 passenv         => >     
   server          = /usr/bin/cvs> 
>        server_args     = 
--allow-root=/var/cvs/cvsstuff pserver> >}> >> 
>Error message from my remote machine (happens whether password is
> correct> >or > >incorrect):> >[login and 
machine name taken out]> >C:\>cvs -d 
:pserver:@:/var/cvs/cvsstuff login> 
>Logging in to :pserver:@:2401/var/cvs/cvsstuff> >CVS password:> >cvs 
[login aborted]: end of file from server (consult above messages> 
if> >any)> >cvs repo is in /var/cvs/cvsstuff> 
>password file is in /var/cvs/cvsstuff/CVSROOT > >> 
>> >> >> 
>___> >Info-cvs 
mailing list> >[EMAIL PROTECTED]> 
>http://mail.gnu.org/mailman/listinfo/info-cvs> > 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS pserver login problem

2004-01-30 Thread Peter Connolly
Check this out:
http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_21.html#SEC184


>-- Original Message --
>Date: Fri, 30 Jan 2004 16:05:03 -0500
>From: "Adam Vainder" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: CVS pserver login problem
>
>
>Hi,
>
>I hope this is the right place to send this. If not, please let me know

>where to send/post it.
>
>I've been trying to figure this out on my own for about a month, and just
>
>cant take it anymore. Hopefully one of you has seen this before and knows
>
>the answer.
>
>I set up a pserver on a Red Hat 9 machine with CVS installed. From that

>machine, i have no problem using the pserver info to access the cvs server.
>
>But from a remote machine, I only get an "end of file" message if i try
to
>
>log in. It happens whether password is correct or not. Any ideas what might
>
>be causing this?
>
>Thanks,
>Adam
>
>The following is info about related files and the error message, let me
know
>
>if you need more (and please be as specific as possible, especially  with
>
>typical locations of files) :
>
>from /etc/services :
>cvspserver  2401/tcp# CVS client/server
>operations
>cvspserver  2401/udp# CVS client/server
>operations
>
>from /etc/xinetd.conf :
>defaults
>{
>instances   = 60
>log_type= SYSLOG authpriv
>log_on_success  = HOST PID
>log_on_failure  = HOST
>cps = 25 30
>}
>includedir /etc/xinetd.d
>
>from /etc/xinetd.d/cvspserver :
>service cvspserver
>{
>socket_type = stream
>protocol= tcp
>wait= no
>user= root
>passenv =
>server  = /usr/bin/cvs
>server_args = --allow-root=/var/cvs/cvsstuff pserver
>}
>
>Error message from my remote machine (happens whether password is correct
>or
>incorrect):
>[login and machine name taken out]
>C:\>cvs -d :pserver:@:/var/cvs/cvsstuff login
>Logging in to :pserver:@:2401/var/cvs/cvsstuff
>CVS password:
>cvs [login aborted]: end of file from server (consult above messages if
>any)
>cvs repo is in /var/cvs/cvsstuff
>password file is in /var/cvs/cvsstuff/CVSROOT
>
>
>
>
>___
>Info-cvs mailing list
>[EMAIL PROTECTED]
>http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


CVS pserver login problem

2004-01-30 Thread Adam Vainder
Hi, 

I hope this is the right place to send this. If not, please let me know 
where to send/post it. 

I've been trying to figure this out on my own for about a month, and just 
cant take it anymore. Hopefully one of you has seen this before and knows 
the answer.

I set up a pserver on a Red Hat 9 machine with CVS installed. From that 
machine, i have no problem using the pserver info to access the cvs server. 
But from a remote machine, I only get an "end of file" message if i try to 
log in. It happens whether password is correct or not. Any ideas what might 
be causing this?  

Thanks,
Adam

The following is info about related files and the error message, let me know 
if you need more (and please be as specific as possible, especially  with 
typical locations of files) :

from /etc/services :
cvspserver  2401/tcp# CVS client/server 
operations
cvspserver  2401/udp# CVS client/server 
operations

from /etc/xinetd.conf :
defaults
{
instances   = 60
log_type= SYSLOG authpriv
log_on_success  = HOST PID
log_on_failure  = HOST
cps = 25 30
}
includedir /etc/xinetd.d

from /etc/xinetd.d/cvspserver :
service cvspserver
{
socket_type = stream
protocol= tcp
wait= no
user= root
passenv =
server  = /usr/bin/cvs
server_args = --allow-root=/var/cvs/cvsstuff pserver
}

Error message from my remote machine (happens whether password is correct or 
incorrect):
[login and machine name taken out]
C:\>cvs -d :pserver:@:/var/cvs/cvsstuff login
Logging in to :pserver:@:2401/var/cvs/cvsstuff
CVS password:
cvs [login aborted]: end of file from server (consult above messages if
any)
cvs repo is in /var/cvs/cvsstuff
password file is in /var/cvs/cvsstuff/CVSROOT 




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS Pserver with multiple repositories?

2003-12-23 Thread Gagneet Singh
Title: Message



Hi!
 
This 
will work for the 2401 port. You are not required to supply different ports for 
different repositories. Only the permissions to the repositories need to be 
checked up and rectified, according to your needs. Also do not forget to create 
the 'cvsadmin' group which will give access to the CVS ADMIN commands to be 
run  either from the CVS command line or the CVS GUI.
 
Gagneet

  
  -Original Message-From: Gurpreet Singh 
  (SCM) [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 December, 
  2003 14:09 PMTo: [EMAIL PROTECTED]Cc: 'Diego Ribeiro de 
  Andrade'; 'INFO CVS'Subject: RE: CVS Pserver with multiple 
  repositories?
  Hi
   
  Will 
  this work fine on the same port 2401.
  or 
  CVS needs to choose different port numbers for the other 
  (mutilple) repositories ...
   
  Regards
  Gurpreet S
   
  
-Original Message-From: Gagneet Singh 
[mailto:[EMAIL PROTECTED]Sent: Tuesday, December 23, 2003 10:40 
AMTo: 'Diego Ribeiro de Andrade'; 'INFO CVS'Subject: 
RE: CVS Pserver with multiple repositories?
Hi!
 
What you require is to define the server args string 
as:
 
server_args = -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 
--allow-root=/cvs/repo/proj2 pserver
 
And also create the required repositories for all the three projects. 
Also, you will have to create separate groups. 
 
The same can be done with your current setup also, but then the top 
level repository will have to have permission for all groups or rather 
anybody to access it. Thus, taking security in consideration, you need to 
have three different repositories with the permissions only for users of the 
group for whom that repository is meant for. You can thus set the 
permissions to 2770 for these three directories and put the directories with 
the username of the Project Leader or the Project Manager, so that only he 
can access the CVSROOT module for administrative 
purposes.
 
Hope this helps. 
 
Gagneet
 
PS: Your English is good so don't worry about it.. 
:-))
 

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Diego Ribeiro de AndradeSent: Monday, 22 December, 2003 
  21:08 PMTo: INFO CVSSubject: CVS Pserver with 
      multiple repositories?
  I have implemented a CVS Pserver in a 
  Red Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED 
  HAT 9 Machine. To make the service RUN I edited cvspserver arquive in 
  /etc/xinetd.d... It looks like this...
   
  service cvspserver
  {
   port = 2401
   disable = no
   socket_type = 
  stream
   protocol = tcp
   wait = no
   user = root
   passenv = PATH
   server = 
  /usr/bin/cvs
   server_args = -f 
  --allow-root=/cvs/rep/casnav pserver
  }
   
  I edited config to System-auth=Yes so 
  I connect remote with a system user of the server. I installed the 
  "cvspermissions 0.3" Scripts and it let me set permissions on the 
  modules with some commands...
   
  But the 3 projects are hosted in a 
  Singe repository! So... all people in the 3 projects can see all files in 
  all projects... cvspermissions can only manage tag and commit permissions 
  per modules to restricted users... but the read rights are managed by 
  repository.
   
  I could set the permissions by 
  filesystem access ... but I dont know if its the best way. Im new in the 
  Linux world... so I every post in this list affraid of being dumb! 
  
   
  I think to in create others files 
  under /etc/xinetd.d and run a repository in each port... but it not seems 
  right for me.
   
  What I like to do is... multiple 
  repositories, That I can manage with cvspermissions and access with 
  pserver. It wold be Must! If someone helpme to take the best or right 
  way... I thanks.
   
  I thanks you!
  Sorry about, I promess I will have 
  english classes next year.
   
  Diego. Rio de Janeiro. 
  Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS Pserver with multiple repositories?

2003-12-23 Thread Diego.andrade
It works fine in the default port! No other port have to be open to serve
another repository. 


--
Diego Ribeiro de Andrade
 


- Mensagem Original 
De: Gurpreet Singh SCM <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cópia: 'Diego Ribeiro de Andrade' <[EMAIL PROTECTED]>, 'INFO
CVS' <[EMAIL PROTECTED]>
Assunto: RE: CVS Pserver with multiple repositories?
Data: 23/12/03 08:01

> 
> 
> 
> Message
> 
> 
> 
> 
> 
> Hi
>  
> Will 
> this work fine on the same port 2401.
> or CVS 
> needs to choose different port numbers for the other 
> (mutilple) repositories ...
>  
> Regards
> Gurpreet S
>  
> 
>   -Original Message-From: Gagneet Singh 
>   [mailto:[EMAIL PROTECTED]: Tuesday, December 23, 2003 10:40 
>   AMTo: 'Diego Ribeiro de Andrade'; 'INFO CVS'Subject: RE: 
>   CVS Pserver with multiple repositories?
>   Hi!
>    
>   What you require is to define the server args string 
>   as:
>    
>   server_args = -f --allow-root=/cvs/rep/casnav
--allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 
>   pserver
>    
>   And also create the required repositories for all the three projects. 
>   Also, you will have to create separate groups. 
>    
>   The same can be done with your current setup also, but then the top 
>   level repository will have to have permission for all groups or rather
anybody 
>   to access it. Thus, taking security in consideration, you need to have
three 
>   different repositories with the permissions only for users of the group
for 
>   whom that repository is meant for. You can thus set the permissions to
2770 
>   for these three directories and put the directories with the username of
the 
>   Project Leader or the Project Manager, so that only he can access the
CVSROOT 
>   module for administrative purposes.
>    
>   Hope this helps. 
>    
>   Gagneet
>    
>   PS: Your English is good so don't worry about it.. 
>   :-))
>    
>   
> 
> -Original Message-From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Diego Ribeiro de AndradeSent: Monday, 22 December, 2003 21:08 
> PMTo: INFO CVSSubject: CVS Pserver with multiple 
> repositories?
> I have implemented a CVS Pserver in a 
> Red Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a
RED HAT 
> 9 Machine. To make the service RUN I edited cvspserver arquive in

> /etc/xinetd.d... It looks like this...
>  
> service cvspserver
> {
>  port = 2401
>  disable = no
>  socket_type = stream
>  protocol = tcp
>  wait = no
>  user = root
>  passenv = PATH
>  server = 
> /usr/bin/cvs
>  server_args = -f 
> --allow-root=/cvs/rep/casnav pserver
> }
>  
> I edited config to System-auth=Yes so I 
> connect remote with a system user of the server. I installed the 
> "cvspermissions 0.3" Scripts and it let me set permissions on the

> modules with some commands...
>  
> But the 3 projects are hosted in a 
> Singe repository! So... all people in the 3 projects can see all files
in 
> all projects... cvspermissions can only manage tag and commit
permissions 
> per modules to restricted users... but the read rights are managed by 
> repository.
>  
> I could set the permissions by 
> filesystem access ... but I dont know if its the best way. Im new in
the 
> Linux world... so I every post in this list affraid of being dumb! 
> 
>  
> I think to in create others files under 
> /etc/xinetd.d and run a repository in each port... but it not seems
right 
> for me.
>  
> What I like to do is... multiple 
> repositories, That I can manage with cvspermissions and access with
pserver. 
> It wold be Must! If someone helpme to take the best or right way... I 
> thanks.
>  
> I thanks you!
> Sorry about, I promess I will have 
> english classes next year.
>  
> Diego. Rio de Janeiro. 
> Brazil.
> 


Enviado usando Smart Tech Webmail System 0.0.2




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS Pserver with multiple repositories?

2003-12-23 Thread Gurpreet Singh (SCM)
Title: Message



Hi
 
Will 
this work fine on the same port 2401.
or CVS 
needs to choose different port numbers for the other 
(mutilple) repositories ...
 
Regards
Gurpreet S
 

  -Original Message-From: Gagneet Singh 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 23, 2003 10:40 
  AMTo: 'Diego Ribeiro de Andrade'; 'INFO CVS'Subject: RE: 
  CVS Pserver with multiple repositories?
  Hi!
   
  What you require is to define the server args string 
  as:
   
  server_args = -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 
  pserver
   
  And also create the required repositories for all the three projects. 
  Also, you will have to create separate groups. 
   
  The same can be done with your current setup also, but then the top 
  level repository will have to have permission for all groups or rather anybody 
  to access it. Thus, taking security in consideration, you need to have three 
  different repositories with the permissions only for users of the group for 
  whom that repository is meant for. You can thus set the permissions to 2770 
  for these three directories and put the directories with the username of the 
  Project Leader or the Project Manager, so that only he can access the CVSROOT 
  module for administrative purposes.
   
  Hope this helps. 
   
  Gagneet
   
  PS: Your English is good so don't worry about it.. 
  :-))
   
  

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Diego Ribeiro de AndradeSent: Monday, 22 December, 2003 21:08 
    PMTo: INFO CVSSubject: CVS Pserver with multiple 
repositories?
    I have implemented a CVS Pserver in a 
Red Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED HAT 
9 Machine. To make the service RUN I edited cvspserver arquive in 
/etc/xinetd.d... It looks like this...
 
service cvspserver
{
 port = 2401
 disable = no
 socket_type = stream
 protocol = tcp
 wait = no
 user = root
 passenv = PATH
 server = 
/usr/bin/cvs
 server_args = -f 
--allow-root=/cvs/rep/casnav pserver
}
 
I edited config to System-auth=Yes so I 
connect remote with a system user of the server. I installed the 
"cvspermissions 0.3" Scripts and it let me set permissions on the 
modules with some commands...
 
But the 3 projects are hosted in a 
Singe repository! So... all people in the 3 projects can see all files in 
all projects... cvspermissions can only manage tag and commit permissions 
per modules to restricted users... but the read rights are managed by 
repository.
 
I could set the permissions by 
filesystem access ... but I dont know if its the best way. Im new in the 
Linux world... so I every post in this list affraid of being dumb! 

 
I think to in create others files under 
/etc/xinetd.d and run a repository in each port... but it not seems right 
for me.
 
What I like to do is... multiple 
repositories, That I can manage with cvspermissions and access with pserver. 
It wold be Must! If someone helpme to take the best or right way... I 
thanks.
 
I thanks you!
Sorry about, I promess I will have 
english classes next year.
 
Diego. Rio de Janeiro. 
Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: CVS Pserver with multiple repositories?

2003-12-22 Thread Gagneet Singh
Title: Message



Hi!
 
What 
you require is to define the server args string as:
 
server_args 
= -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 
pserver
 
And also create the required repositories for all the three projects. 
Also, you will have to create separate groups. 
 
The same can be done with your current setup also, but then the top level 
repository will have to have permission for all groups or rather anybody to 
access it. Thus, taking security in consideration, you need to have three 
different repositories with the permissions only for users of the group for whom 
that repository is meant for. You can thus set the permissions to 2770 for these 
three directories and put the directories with the username of the Project 
Leader or the Project Manager, so that only he can access the CVSROOT module for 
administrative purposes.
 
Hope this helps. 
 
Gagneet
 
PS: Your English is good so don't worry about it.. 
:-))
 

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Diego 
  Ribeiro de AndradeSent: Monday, 22 December, 2003 21:08 
  PMTo: INFO CVSSubject: CVS Pserver with multiple 
  repositories?
  I have implemented a CVS Pserver in a Red 
  Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED HAT 9 
  Machine. To make the service RUN I edited cvspserver arquive in 
  /etc/xinetd.d... It looks like this...
   
  service cvspserver
  {
   port = 2401
   disable = no
   socket_type = stream
   protocol = tcp
   wait = no
   user = root
   passenv = PATH
   server = /usr/bin/cvs
   server_args = -f 
  --allow-root=/cvs/rep/casnav pserver
  }
   
  I edited config to System-auth=Yes so I 
  connect remote with a system user of the server. I installed the 
  "cvspermissions 0.3" Scripts and it let me set permissions on the modules 
  with some commands...
   
  But the 3 projects are hosted in a Singe 
  repository! So... all people in the 3 projects can see all files in all 
  projects... cvspermissions can only manage tag and commit permissions per 
  modules to restricted users... but the read rights are managed by 
  repository.
   
  I could set the permissions by filesystem 
  access ... but I dont know if its the best way. Im new in the Linux world... 
  so I every post in this list affraid of being dumb! 
   
  I think to in create others files under 
  /etc/xinetd.d and run a repository in each port... but it not seems right for 
  me.
   
  What I like to do is... multiple 
  repositories, That I can manage with cvspermissions and access with pserver. 
  It wold be Must! If someone helpme to take the best or right way... I 
  thanks.
   
  I thanks you!
  Sorry about, I promess I will have 
  english classes next year.
   
  Diego. Rio de Janeiro. 
  Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


CVS Pserver with multiple repositories?

2003-12-22 Thread Diego Ribeiro de Andrade



I have implemented a CVS Pserver in a Red 
Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED HAT 9 
Machine. To make the service RUN I edited cvspserver arquive in 
/etc/xinetd.d... It looks like this...
 
service cvspserver
{
 port = 2401
 disable = no
 socket_type = stream
 protocol = tcp
 wait = no
 user = root
 passenv = PATH
 server = /usr/bin/cvs
 server_args = -f 
--allow-root=/cvs/rep/casnav pserver
}
 
I edited config to System-auth=Yes so I 
connect remote with a system user of the server. I installed the "cvspermissions 
0.3" Scripts and it let me set permissions on the modules with some 
commands...
 
But the 3 projects are hosted in a Singe 
repository! So... all people in the 3 projects can see all files in all 
projects... cvspermissions can only manage tag and commit permissions per 
modules to restricted users... but the read rights are managed by 
repository.
 
I could set the permissions by filesystem 
access ... but I dont know if its the best way. Im new in the Linux world... so 
I every post in this list affraid of being dumb! 
 
I think to in create others files under 
/etc/xinetd.d and run a repository in each port... but it not seems right for 
me.
 
What I like to do is... multiple 
repositories, That I can manage with cvspermissions and access with pserver. It 
wold be Must! If someone helpme to take the best or right way... I 
thanks.
 
I thanks you!
Sorry about, I promess I will have english 
classes next year.
 
Diego. Rio de Janeiro. 
Brazil.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


hrm... cvs pserver debugging ctd.

2003-06-03 Thread Peschko, Edward
hrm. I see that it looks like the input is being taken from stdin *on purpose* when 
you are debugging pserver. 
I don't want that - I want to set up a client-server relationship, set CVSROOT, and 
have the commands talk to the pserver 
as they would in a networked environment.

Is there a flag to 'cvs pserver' to do this? I notice when you type:

cvs ---help pserver 

you get:

Usage: cvs pserver
 Normally invoked by a cvs client on a remote machine.

ie: its not being that helpful...

Ed


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Example of invoking "cvs pserver" from shell script

2002-12-23 Thread Baris Sahin
Hi,

I am using 11 repositories on my cvs server,
I had the same problem before. Solution:
Put this line into /etc/inetd.conf

cvspserver  stream  tcp nowait  root/usr/local/cvs/bin/runcvs

runcvs is shell script file (change the location according to your
installation, and chmod +x)
runcvs file:
-- copy here 
#!/bin/sh
/usr/local/cvs/bin/cvs \
--allow-root=/repository1 \
--allow-root=/repository2 \
--allow-root=/repository2 \
--allow-root=/repository3 \
--allow-root=/repository4 \
--allow-root=/repository5 \
--allow-root=/repository6 \
--allow-root=/repository7 \
--allow-root=/repository8 \
--allow-root=/repository9 \
--allow-root=/repository10 \
--allow-root=/repository11 \
pserver
--


Regards
baris
[EMAIL PROTECTED]


- Original Message -
From: "Kyle Adams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 5:07 PM
Subject: Example of invoking "cvs pserver" from shell script


> >From the Cederqvist, section 2.9.3.1 "Setting up the server for
> password authentication":
>
> "Unfortunately, many versions of inetd have very small limits on the
> number of arguments and/or the total length of the command. The usual
> solution to this problem is to have inetd run a shell script which then
> invokes CVS with the necessary arguments."
>
> Which is exactly the problem I find myself in - the addition of our
> sixth repository puts the command over the limit for our version of
> inetd.  I was wondering if there were any examples anywhere of the
> solution given in the manual.
>
> Finally, are there any limitations on the number of repositories that
> can be run from one CVS server?
>
> Thanks,
>
> Kyle Adams
> Java Developer
> Gordon Food Service
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
>



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Example of invoking "cvs pserver" from shell script

2002-12-23 Thread Kyle Adams
>From the Cederqvist, section 2.9.3.1 "Setting up the server for
password authentication":

"Unfortunately, many versions of inetd have very small limits on the
number of arguments and/or the total length of the command. The usual
solution to this problem is to have inetd run a shell script which then
invokes CVS with the necessary arguments."

Which is exactly the problem I find myself in - the addition of our
sixth repository puts the command over the limit for our version of
inetd.  I was wondering if there were any examples anywhere of the
solution given in the manual.

Finally, are there any limitations on the number of repositories that
can be run from one CVS server?

Thanks,

Kyle Adams
Java Developer
Gordon Food Service

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: i could not connect the cvs pserver from cvs client on win32

2002-12-17 Thread Larry Jones
=?gb2312?q?=C1=A2=C0=BC=20=B9=C8?= writes:
> 
> i have setup a cvs server,then i try connect the 
> server from a win32 machine.but failed.the error 
> message is "[login aborted]:reading from
> server:connection reset by peer " or "[login
> aborted]:end of file from server,consult above message
> if any". i think my cvs pserver is mistake.how could i
> do? Thanks.

<http://www.cvshome.org/docs/manual/cvs_21.html#SEC184>

-Larry Jones

This game lends itself to certain abuses. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: i could not connect the cvs pserver from cvs client on win32

2002-12-17 Thread Shishir Singhai


-Original Message-
From: Shishir Singhai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 2:03 AM
To: [EMAIL PROTECTED]
Subject: RE: i could not connect the cvs pserver from cvs client on win32


Hi

Have u setup password file and on which OS u run pserver.

regards
Shishir Singhai

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf
Of Á¢À¼ ¹È
Sent: Tuesday, December 17, 2002 11:00 AM
To: [EMAIL PROTECTED]
Subject: i could not connect the cvs pserver from cvs client on win32


i have setup a cvs server,then i try connect the
server from a win32 machine.but failed.the error
message is "[login aborted]:reading from
server:connection reset by peer " or "[login
aborted]:end of file from server,consult above message
if any". i think my cvs pserver is mistake.how could i
do? Thanks.



_
Do You Yahoo!?
"ÄúÏëÏíÊÜ2£­7ÕÛÐǼ¶¾Æµê¼Û¸ñÂð£¿"
http://cn.travel.yahoo.com/


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



i could not connect the cvs pserver from cvs client on win32

2002-12-16 Thread 立兰 谷
i have setup a cvs server,then i try connect the 
server from a win32 machine.but failed.the error 
message is "[login aborted]:reading from
server:connection reset by peer " or "[login
aborted]:end of file from server,consult above message
if any". i think my cvs pserver is mistake.how could i
do? Thanks.



_
Do You Yahoo!? 
"ÄúÏëÏíÊÜ2£­7ÕÛÐǼ¶¾Æµê¼Û¸ñÂð£¿"
http://cn.travel.yahoo.com/


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Can't set-up passwd file on RedHat 8.0 cvs pserver

2002-10-22 Thread Neil Aggarwal
Hello:

Did something change in the way the shadow passwords
are set-up under RedHat 8.0 from RedHat 7.3?

I am trying to create a password file for my repository 
on a new server running RedHat 8.0.  When I vi the
/etc/shadow file, my password looks like it has some
non-printing characters in it.  When I tried to copy it
into the cvs passwd file, my cursor keeps jumping
within the text string containing the password.

When I try to login to the cvs server from a shell on
the same machine, the cvs server rejects my login.

I am using the same procedure that worked under
RedHat 7.3.

Has anyone seen this?
Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS pserver problems

2002-08-13 Thread Derek Robert Price

Norberto Meijome wrote:

> Hi Irfan,
> can you tell us some more information? What is the error that you 
> receive?
> is inetd really listening on that port? have you restarted/kill -1  
> inetd after changing the conf file?
>
> Beto
>
> irfan ali wrote:
>
>> Hello,
>> I am trying to connect to my remote CVS Repository on my linux 
>> machine under /home/cvs/repository using winCVS which is setup on my 
>> windows machine. I have taken care of /etc/services and 
>> /etc/inetd.conf files. I have also created passwd file under 
>> /home/cvs/repository/CVSROOT folder. Still I am not able to connect 
>> through winCVS.
>> Can anyone tell me what could be wrong? Any help in this regard is 
>> highly appreciated.
>> Thanks,
>> Irfan
>

http://www.cvshome.org/docs/manual/cvs_21.html#SEC184

Derek

-- 
*8^)

Email: [EMAIL PROTECTED]

Get CVS support at http://ximbiot.com
-- 
Man [is] a rational animal, endowed by nature with rights and with an innate
sense of justice.
- Thomas Jefferson to W. Johnson, 1823





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS pserver problems

2002-08-12 Thread Norberto Meijome

Hi Irfan,
can you tell us some more information? What is the error that you receive?
is inetd really listening on that port? have you restarted/kill -1  
inetd after changing the conf file?

Beto

irfan ali wrote:

>Hello, 
>
>I am trying to connect to my remote CVS Repository on my linux machine under 
>/home/cvs/repository using winCVS which is setup on my windows machine. I have taken 
>care of /etc/services and /etc/inetd.conf files. I have also created passwd file 
>under /home/cvs/repository/CVSROOT folder. Still I am not able to connect through 
>winCVS. 
>
>Can anyone tell me what could be wrong? Any help in this regard is highly 
>appreciated. 
>
>Thanks,
>Irfan
>  
>




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS pserver problems

2002-08-12 Thread irfan ali

Hello, 

I am trying to connect to my remote CVS Repository on my linux machine under 
/home/cvs/repository using winCVS which is setup on my windows machine. I have taken 
care of /etc/services and /etc/inetd.conf files. I have also created passwd file under 
/home/cvs/repository/CVSROOT folder. Still I am not able to connect through winCVS. 

Can anyone tell me what could be wrong? Any help in this regard is highly appreciated. 

Thanks,
Irfan
-- 
===

Another FREE service from Jayde Online 
Private, Web-based email accounts at http://www.jaydemail.com

Powered by Outblaze



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs pserver login problem

2002-05-27 Thread lectrix

no.
i'm afraid i had a typo (in my email).

cvs -d :pserver:www.symbion.at:2401/home login
or
cvs -d :pserver:www.symbion.at:/home login
should be the right syntax.

anyway, in the first case - with port - there must not be a second ":", 
otherwise i get
   lectrix@symbion home $ cvs -d:pserver:[EMAIL PROTECTED]:2401:/home 
login
   cvs login: CVSROOT may only specify a positive, non-zero, integer port 
(not `2401:').
   cvs login: Perhaps you entered a relative pathname?
   cvs [login aborted]: Bad CVSROOT: 
`:pserver:[EMAIL PROTECTED]:2401:/home'.

so, the syntax was not my porblem.
that is strange, i couldn't really find any information on the web that can 
help me out, so didn't anybody has this before??

stefan.


should be the right syntax.

At Monday 11:19 27.05.2002 +0800, you wrote:


>lectrix wrote:
>
> > that is not working either,
> > is there any difference between
> > cvs -d :pserver:www.symbion.at:2401:$CVSROOT login
> > and that what i was doing before...
> > cvs -d :pserver:www.symbion.at:2401/home login
>
>Shouldn't there be a : between 2401 and /home ?


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: cvs pserver login problem

2002-05-26 Thread lectrix

that is not working either,
is there any difference between
cvs -d :pserver:www.symbion.at:2401:$CVSROOT login
and that what i was doing before...
cvs -d :pserver:www.symbion.at:2401/home login
when $CVSROOT is /home ?? i think thats the is same ...

so that couldnt solve my problem, i am still clueless :-(

stefan.
At Saturday 07:57 25.05.2002 -0400, you wrote:

>  It should be
>cvs -d :pserver:www.symbion.at:2401:$CVSROOT login
>where
>export CVSROOT=complete path to cvs repo
>should be valid path to repository on the host machine having the repo.
>
>
>
>-Original Message-
>From: lectrix
>To: [EMAIL PROTECTED]
>Sent: 5/25/2002 3:40 AM
>Subject: cvs pserver login problem
>
>hi!
>i am reposting this since i forgot to fill in the subject field last
>time,
>sorry!
>keep hoping someone can give me a hint on this:
>
>i am experiencing a problem with setting up cvs pserver. i followed the
>instruction in the manual and configured xinetd so that it starts cvs
>pserver on port 2401 successfully ( i tested with telnet). but when i am
>
>trying to connect, syslog says: "www xinetd[26206]: START: cvspserver
>pid=26228 from=$IP... www xinetd[26228]: FAIL: cvspserver address
>from=$IP"
>and on client side i only get "cvs [login aborted]: reading from server:
>
>Connection reset by peer", i checked everything mentioned in the manual
>and
>couldnt find the error...
>here is my login command:
>lectrix@symbion lectrix $ cvs -d :pserver:www.symbion.at:2401/home login
>Logging in to :pserver:[EMAIL PROTECTED]:2401/home
>CVS password:
>cvs [login aborted]: reading from server: Connection reset by peer
>
>and CVSROOT ist
>lectrix@symbion lectrix $ echo $CVSROOT
>/home
>
>i heard of some reverse lookup problems, but i can do reverse lookup on
>the
>system by simply doing "host IP", that should be it?!
>can somebody help please?
>thanx. stefan.
>
>___
>Info-cvs mailing list
>[EMAIL PROTECTED]
><http://mail.gnu.org/mailman/listinfo/info-cvs>http://mail.gnu.org/mailman/listinfo/info-cvs
> 
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs pserver installation

2002-05-25 Thread stefan radulian

hi!
i am experiencing a problem with setting up cvs pserver. i followed the 
instruction in the manual and configured xinetd so that it starts cvs 
pserver on port 2401 successfully ( i tested with telnet). but when i am 
trying to connect, syslog says: "www xinetd[26206]: START: cvspserver 
pid=26228 from=$IP... www xinetd[26228]: FAIL: cvspserver address from=$IP" 
and on client side i only get "cvs [login aborted]: reading from server: 
Connection reset by peer", i checked everything mentioned in the manual and 
couldnt find the error...
i heard of some reverse lookup problems, but i can do reverse lookup on the 
system by simply doing "host IP", that should be it?!


can somebody help please?


thanx.
stefan.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs pserver login problem

2002-05-25 Thread lectrix

hi!
i am reposting this since i forgot to fill in the subject field last time, 
sorry!
keep hoping someone can give me a hint on this:

i am experiencing a problem with setting up cvs pserver. i followed the 
instruction in the manual and configured xinetd so that it starts cvs 
pserver on port 2401 successfully ( i tested with telnet). but when i am 
trying to connect, syslog says: "www xinetd[26206]: START: cvspserver 
pid=26228 from=$IP... www xinetd[26228]: FAIL: cvspserver address from=$IP" 
and on client side i only get "cvs [login aborted]: reading from server: 
Connection reset by peer", i checked everything mentioned in the manual and 
couldnt find the error...
here is my login command:
lectrix@symbion lectrix $ cvs -d :pserver:www.symbion.at:2401/home login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home
CVS password:
cvs [login aborted]: reading from server: Connection reset by peer

and CVSROOT ist
lectrix@symbion lectrix $ echo $CVSROOT
/home

i heard of some reverse lookup problems, but i can do reverse lookup on the 
system by simply doing "host IP", that should be it?!
can somebody help please?
thanx. stefan. 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems setting up a CVS pserver

2002-02-07 Thread Gek

> :cvs checkout: cannot open CVS/Entries for reading: No such file or
> directory
> :cvs [server aborted]: can't chdir(/root): No such file or directory
> :*CVS exited normally with code 1*

I figureed it out: First error was that the local directory wasn't empty, and
the second that I forgot -f in inetd.conf. Sorry I bothered you.

Daniel
--
http://www.fabiand.net


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Problems setting up a CVS pserver

2002-02-07 Thread Gek

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I set up my little pserver in a chroot environment (accoring to
http://www.unixtools.org/cvs/server-how-to.html) and added a code
repository and imported a module. But for some reasons I can't check
it out lateron. I have almost no experience with CVS (used SourceSafe
so far, but CVS seems to better fit my needs), so please be gentle
with my stupidity.

So I create a new repository:
:cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot-cmx init
:*CVS exited normally with code 0*

I import some files:
:cvs import -I ! -I CVS -W "*.attributes -k 'b'" -W "*.gif -k 'b'" -W
"*.jpg -k 'b'" -W "*.psd -k 'b'" -m "no message" cmx CMS beta
:N cmx/About.java
[snip some more files]
:No conflicts created by this import
:*CVS exited normally with code 0*

And finally I try to checkout the module again:
:cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot-cmx checkout -P cmx
:cvs checkout: in directory cmx:
:cvs checkout: cannot open CVS/Entries for reading: No such file or
directory
:cvs [server aborted]: can't chdir(/root): No such file or directory
:*CVS exited normally with code 1*


What does the error message mean, and how can I get rid of it? There
is no CVS directory in the repository. When I create the repository,
I get a CVSROOT directory, but no CVS/Entries.

Thanks in advance,
Daniel
- --
http://www.fabiand.net




-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPGJK8baXfQRH/ZBkEQJM0wCg+L/9p9jFWlfMMz1h63PaaBx6LR8AoMCb
fevRvfXCHy17O4FkTiCul73F
=paQT
-END PGP SIGNATURE-



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Unable to log in to cvs pserver

2002-01-28 Thread Larry Jones

menuka writes:
> 
> In my repository , in the cvsroot directory
> I have created a passwd file  to which i have added the following line
> 
> menuka: def

I don't know what you think you're doing, but that is not correct
syntax.  You should have the CVS user name, a colon, then that user's
encrypted password, with no extra spaces.  You can follow that with
another colon and a system user to run as; if that's omitted, the CVS
user must also be a system user and CVS will run as that user.

-Larry Jones

Life's a lot more fun when you're not responsible for your actions. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Unable to log in to cvs pserver

2002-01-28 Thread menuka




Hi All,
 I 
have tried to set up cvs pserver.
In my repository , in the cvsroot directory
I have created a passwd file  to which i have added the following 
line
 
menuka: def
 
I am getting the following error message when i try to login to cvs 
server.
cvs login :authorization failed: server rejected 
access to /home/cvs/repository for user  menuka.
 
However if i delete the passwd file from CVSROOT directory (repository) and 
try to login to cvs server using my home account password, I am able to do 
so.
 
Can anybody tell me why I am not able to login to cvs server using the 
passwd file method?
 
Thanks in advance,
Regards,
Menuka


Re: CVS pserver on RedHat 7.1 lets me login, but when I do import, it fails

2002-01-27 Thread Larry Jones

Neil Aggarwal writes:
> 
> vi /etc/xinetd.d/cvs and added these lines:
> service cvs

That should probably be "cvspserver" rather than "cvs".

> {
> port = 2401

If "cvspserver" is defined as port 2401 in /etc/services, which it
should be, you don't need that line (although it doesn't hurt).

> socket_type = stream
> protocol = tcp
> user = root
> group = cvs

When running as root, the group is irrelevant and can be omitted.

> server = /usr/bin/cvs
> server_args = --allow-root=/usr/local/cvsroot pserver

You should have a -f in there, too.

> type = UNLISTED
> wait = no
> }
[...]
> I got these error messages:
> cvs server: cannot open /root/.cvsignore: Permission denied

That could be because of the missing -f in server_args.  If that doesn't
fix it, add "passenv = PATH" to your xinetd configuration.

> cvs server: cannot make path to /usr/local/cvsroot/testProject: Permission
> denied

That indicates that the user you're running as doesn't have write
permission in /usr/local/cvsroot.

-Larry Jones

OK, there IS a middle ground, but it's for sissy weasels. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS pserver on RedHat 7.1 lets me login, but when I do import, it fails

2002-01-26 Thread Olav Lindkjølen

Something to do with cvs server running as root, inheriting the HOME 
environment variable. Create a user named "cvs" and run the server under 
that user. Or try this as root:

unset HOME
/etc/rc.d/init.d/inet restart

Regards from Olav!

Neil Aggarwal wrote:

> I am trying to set-up a CVS pserver on my RedHat 7.1 development machine.
> I tried reading the CVS book at http://cvsbook.red-bean.com, but it
> does not cover xinetd, so I tried to adapt it myself.
> 
> Here is what I did as root:
> cvs -d /usr/local/cvsroot init
> /usr/sbin/useradd cvs
> cd /usr/local/cvsroot
> chgrp -R cvs .
> chmod ug+rwx . CVSROOT
> 
> vi /etc/xinetd.d/cvs and added these lines:
> service cvs
> {
> port = 2401
> socket_type = stream
> protocol = tcp
> user = root
> group = cvs
> server = /usr/bin/cvs
> server_args = --allow-root=/usr/local/cvsroot pserver
> type = UNLISTED
> wait = no
> }
> 
> Restarted xinetd:
> /etc/init.d/xinetd restart
> 
> vi /usr/local/cvsroot/CVSROOT/passwd
> Added my login and password copied from from /etc/shadow
> 
> I then tried to test it by going to a shell with my user account.
> 
> I typed:
> cvs -d :pserver:neil@localhost:/usr/local/cvsroot login
> It asked me for my password and reported no errors, so I thought that
> everything should be OK.
> 
> Next, I tried to import a new project, so I went to the
> directory containing the project and typed:
> cvs -d :pserver:neil@localhost:/usr/local/cvsroot import -m "Test Project"
> testProject neil start
> 
> I got these error messages:
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs server: cannot make path to /usr/local/cvsroot/testProject: Permission
> denied
> cvs server: Importing /usr/local/cvsroot/testProject/src
> cvs server: ERROR: cannot mkdir /usr/local/cvsroot/testProject/src -- not
> added: No such file or directory
> 
> No conflicts created by this import
> 
> Any ideas why this is occurring?
> 
> Thanks,
>   Neil.
> 
> --
> Neil Aggarwal
> JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
> Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> 
> 
> 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS pserver on RedHat 7.1 lets me login, but when I do import, it fails

2002-01-26 Thread Neil Aggarwal

I am trying to set-up a CVS pserver on my RedHat 7.1 development machine.
I tried reading the CVS book at http://cvsbook.red-bean.com, but it
does not cover xinetd, so I tried to adapt it myself.

Here is what I did as root:
cvs -d /usr/local/cvsroot init
/usr/sbin/useradd cvs
cd /usr/local/cvsroot
chgrp -R cvs .
chmod ug+rwx . CVSROOT

vi /etc/xinetd.d/cvs and added these lines:
service cvs
{
port = 2401
socket_type = stream
protocol = tcp
user = root
group = cvs
server = /usr/bin/cvs
server_args = --allow-root=/usr/local/cvsroot pserver
type = UNLISTED
wait = no
}

Restarted xinetd:
/etc/init.d/xinetd restart

vi /usr/local/cvsroot/CVSROOT/passwd
Added my login and password copied from from /etc/shadow

I then tried to test it by going to a shell with my user account.

I typed:
cvs -d :pserver:neil@localhost:/usr/local/cvsroot login
It asked me for my password and reported no errors, so I thought that
everything should be OK.

Next, I tried to import a new project, so I went to the
directory containing the project and typed:
cvs -d :pserver:neil@localhost:/usr/local/cvsroot import -m "Test Project"
testProject neil start

I got these error messages:
cvs server: cannot open /root/.cvsignore: Permission denied
cvs server: cannot make path to /usr/local/cvsroot/testProject: Permission
denied
cvs server: Importing /usr/local/cvsroot/testProject/src
cvs server: ERROR: cannot mkdir /usr/local/cvsroot/testProject/src -- not
added: No such file or directory

No conflicts created by this import

Any ideas why this is occurring?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS pserver on RH 7.2 - any password is authenticated!

2002-01-11 Thread Satheesh Babu

Hello,

I usually use Mandrake 8 and pserver works peacefully there. At work, I
need  to install RH 7.2 for this and it is driving me nuts.

- stock CVS rpm
- pserver running from xinetd

When you login it actually gives an error if you give wrong userids...
But, if the userid is valid, you can give ANY password including none
and it authenticates! Any pointers will be greatly appreciated.

Our setup is for people using Win98 clients and who haven't even thought
about version control or UNIX things before. MS VSS was a candidate, but
a pain to automate using scripts.

If anyone knows some links to "proper and secure" CVS server setup on
Linux, that'd be great too.

Thanks in advance
vsb
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs pserver authorization failed

2001-11-20 Thread Larry Jones

James Garrison writes:
> 
> Here are some example lines from /var/log/secure (SYSLOG/AUTHPRIV)
> for previously failed login attempts.
[...]
> The string after the / which I assume is supposed to be the obfuscated
> password, doesn't match what's in the protocol stream:

It's supposed to be the UNobfuscated password, which is why it's logged
in AUTHPRIV, but there was a bug in the code.  You might want to try
applying the appended patch and trying it again.  If you're using MD5
passwords and you're using a pre-built CVS, it may be that it wasn't
linked against an MD5-enabled libc.

Index: server.c
===
RCS file: /cvs/ccvs/src/server.c,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -r1.264 -r1.265
--- server.c21 Jun 2001 21:23:09 -  1.264
+++ server.c26 Jun 2001 20:09:42 -  1.265
@@ -5795,8 +5795,6 @@
 /* We need the real cleartext before we hash it. */
 descrambled_password = descramble (password);
 host_user = check_password (username, descrambled_password, repository);
-memset (descrambled_password, 0, strlen (descrambled_password));
-free (descrambled_password);
 if (host_user == NULL)
 {
 #ifdef HAVE_SYSLOG_H
@@ -5806,6 +5804,8 @@
username, descrambled_password, repository);
 #endif
 #endif
+   memset (descrambled_password, 0, strlen (descrambled_password));
+   free (descrambled_password);
 i_hate_you:
printf ("I HATE YOU\n");
fflush (stdout);
@@ -5814,6 +5814,8 @@
   yet.  */
error_exit ();
 }
+memset (descrambled_password, 0, strlen (descrambled_password));
+free (descrambled_password);
 
 /* Don't go any farther if we're just responding to "cvs login". */
 if (verify_and_exit)

-Larry Jones

Fortunately, that was our plan from the start. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs pserver authorization failed

2001-11-20 Thread James Garrison

I've seen a number of threads about pserver authentication failure
for no obvious reason, and I'm getting the same errors.
 
> [jhg@janus jhg]$ cvs -d :pserver:jhg@localhost:/home/cvs/repository login
> Logging in to :pserver:jhg@localhost:2401/home/cvs/repository
> CVS password: 
> cvs login: authorization failed: server localhost rejected access to 
>/home/cvs/repository for user jhg

I was able to make it work by creating a passwd file in 
/home/cvs/repository/CVSROOT.  When I did that and then tried
it again:

> [jhg@janus jhg]$ cvs -d :pserver:jhg@localhost:/home/cvs/repository login
> Logging in to :pserver:jhg@localhost:2401/home/cvs/repository
> CVS password: 
> cvs login: failed to open /home/jhg/.cvspass for reading: No such file or directory
> cvs [login aborted]: fatal error: exiting

Hmm... different error message this time, let's create .cvspass and see 
what happens:

> [jhg@janus jhg]$ touch .cvspass 
> [jhg@janus jhg]$ cvs -d :pserver:jhg@localhost:/home/cvs/repository login
> Logging in to :pserver:jhg@localhost:2401/home/cvs/repository
> CVS password: 
> [jhg@janus jhg]$ 

How about that, it worked!

Summary:

It appears that on RH7.1 (kernel 2.4.9-6) at least, the current version
of CVS (cvs-1.11.1p1-cvshome.7x.1) has problems with remote
authentication.
Here are some example lines from /var/log/secure (SYSLOG/AUTHPRIV)
for previously failed login attempts.

> Nov 18 17:23:08 janus xinetd[826]: START: cvspserver pid=11253 from=127.0.0.1
> Nov 18 17:23:08 janus cvs: login failure by jhg / °´^W@°´^W@^P (for 
>/home/cvs/repository)
> Nov 18 17:24:13 janus xinetd[826]: START: cvspserver pid=11256 from=127.0.0.1
> Nov 18 17:24:13 janus cvs: login failure by jhg / °´^W@°´^W@^P (for 
>/home/cvs/repository)

The string after the / which I assume is supposed to be the obfuscated
password, doesn't match what's in the protocol stream:

BEGIN VERIFICATION REQUEST
/home/cvs/repository
jhg
AS 14=/y<
END VERIFICATION REQUEST
I HATE YOU

-- 
James GarrisonAthens Group, Inc.
mailto:[EMAIL PROTECTED]5608 Parkcrest Dr
http://www.athensgroup.comAustin, TX 78731
PGP: RSA=0x92E90A3B DH/DSS=0x498D331C (512) 345-0600 x150
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-06-06 Thread Derek R. Price

Sven Dowideit wrote:

> on solaris when i do a login with 1.11p1 it failes with the error failed to
> read /home/sven/.cvspass
>
> when i create that file everything works fine.
>
> (i kinda expect to be told that its fixed in the dev version :)

Yeah.  Larry fixed that about a month ago, but thanks!


> 2001-05-05  Larry Jones  <[EMAIL PROTECTED]>
>
> * login.c (password_entry_operation): Only warn if unable to open
> .cvspass for reading: may be initial login and it doesn't exist yet.
>
Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
106.  Charlie was a Chemist, but Charlie is no more.
  What Charlie thought was H20 was H2SO4.




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Problems running cvs pserver

2001-06-05 Thread Sven Dowideit

ok

:)
i spoke a bit too soon.

on solaris when i do a login with 1.11p1 it failes with the error failed to
read /home/sven/.cvspass

when i create that file everything works fine.

(i kinda expect to be told that its fixed in the dev version :)

cheers
sven

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Derek R. Price
> Sent: Tuesday, June 05, 2001 11:48 PM
> To: Sven Dowideit
> Cc: Larry Jones; [EMAIL PROTECTED]
> Subject: Re: Problems running cvs pserver
>
>
> Sven Dowideit wrote:
>
> > Heya Larry,
> > i have had another stab at it, and I still cannot build
> a pserver cvs that
> > works.
> >
> >  ./configure --without-gssapi still leaves gssapi libs in the Makefile
> > and when i hack the configure script to leave off all of the
> gssapi stuff, I
> > get an exe that does not seem to work correctly. Telneting to
> 2401 replies
> > as it should, but doing a cvs login results in the cvs client waiting
> > permanently for something after i enter my password.
> >
> > has anyone built cvs on Solaris without kerberos installed ??
>
> I fixed the autodetect code to deal with this before 1.11.1p1, I
> think.  It is
> definately fixed in development.
>
> In any case, compiling 1.11.1p1 with --without-gssapi should do the trick.
>
> Derek
>
> --
> Derek Price  CVS Solutions Architect

> http://CVSHome.org )
> mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
> --
> My name is not Dr. Death.
> My name is not Dr. Death.
> My name is not Dr. Death...
>
>   - Bart Simpson on chalkboard, _The Simpsons_
>
>
>
>
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Problems running cvs pserver

2001-06-05 Thread Sven Dowideit

excellent, and thanks .. i thought i tried this, but my work is using 1.10
and is reluctant to do all the testing to move ...

1.11p1 works nicely.

sven

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Derek R. Price
> Sent: Tuesday, June 05, 2001 11:48 PM
> To: Sven Dowideit
> Cc: Larry Jones; [EMAIL PROTECTED]
> Subject: Re: Problems running cvs pserver
>
>
> Sven Dowideit wrote:
>
> > Heya Larry,
> > i have had another stab at it, and I still cannot build
> a pserver cvs that
> > works.
> >
> >  ./configure --without-gssapi still leaves gssapi libs in the Makefile
> > and when i hack the configure script to leave off all of the
> gssapi stuff, I
> > get an exe that does not seem to work correctly. Telneting to
> 2401 replies
> > as it should, but doing a cvs login results in the cvs client waiting
> > permanently for something after i enter my password.
> >
> > has anyone built cvs on Solaris without kerberos installed ??
>
> I fixed the autodetect code to deal with this before 1.11.1p1, I
> think.  It is
> definately fixed in development.
>
> In any case, compiling 1.11.1p1 with --without-gssapi should do the trick.
>
> Derek
>
> --
> Derek Price  CVS Solutions Architect

> http://CVSHome.org )
> mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
> --
> My name is not Dr. Death.
> My name is not Dr. Death.
> My name is not Dr. Death...
>
>   - Bart Simpson on chalkboard, _The Simpsons_
>
>
>
>
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-06-05 Thread Derek R. Price

Sven Dowideit wrote:

> Heya Larry,
> i have had another stab at it, and I still cannot build a pserver cvs that
> works.
>
>  ./configure --without-gssapi still leaves gssapi libs in the Makefile
> and when i hack the configure script to leave off all of the gssapi stuff, I
> get an exe that does not seem to work correctly. Telneting to 2401 replies
> as it should, but doing a cvs login results in the cvs client waiting
> permanently for something after i enter my password.
>
> has anyone built cvs on Solaris without kerberos installed ??

I fixed the autodetect code to deal with this before 1.11.1p1, I think.  It is
definately fixed in development.

In any case, compiling 1.11.1p1 with --without-gssapi should do the trick.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net )
--
My name is not Dr. Death.
My name is not Dr. Death.
My name is not Dr. Death...

  - Bart Simpson on chalkboard, _The Simpsons_




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Problems running cvs pserver

2001-06-03 Thread Sven Dowideit

Heya Larry,
i have had another stab at it, and I still cannot build a pserver cvs that
works.

 ./configure --without-gssapi still leaves gssapi libs in the Makefile
and when i hack the configure script to leave off all of the gssapi stuff, I
get an exe that does not seem to work correctly. Telneting to 2401 replies
as it should, but doing a cvs login results in the cvs client waiting
permanently for something after i enter my password.

has anyone built cvs on Solaris without kerberos installed ??

sven

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Sven Dowideit
> Sent: Wednesday, May 09, 2001 1:11 PM
> To: Larry Jones
> Cc: [EMAIL PROTECTED]
> Subject: RE: Problems running cvs pserver
>
>
> I have this problem with cvs-1.10 (the one we are currently using in local
> mode only) and with cvs 1.11p1 (that i am using as a comparison)
>
> I think the easiest answer to the --help-comands question is that
> the newly
> compiled cvs (either version) is able to do :local: and :ext: checkouts
> fine, its only the pserver that is causing me pain.
>
> when you say the Kerberos stuff is a mess, do you mean that everyone just
> installs kerberos?
>
> cheers
>
> Sven
>
> cvs -v ---
> bash-2.03$ ./cvs -v
>
> Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)
>
> Copyright (c) 1989-1998 Brian Berliner, david d `zoo' zuhn,
> Jeff Polk, and other authors
>
> CVS may be copied only under the terms of the GNU General Public License,
> a copy of which can be found with the CVS distribution kit.
>
> Specify the --help option for further information about CVS
> -cvs --help-commands 
> bash-2.03$ ./cvs --help-commands
> CVS commands are:
> add  Add a new file/directory to the repository
> adminAdministration front end for rcs
> annotate Show last revision where each line was modified
> checkout Checkout sources for editing
> commit   Check files into the repository
> diff Show differences between revisions
> edit Get ready to edit a watched file
> editors  See who is editing a watched file
> export   Export sources from CVS, similar to checkout
> history  Show repository access history
> import   Import sources into CVS, using vendor branches
> init Create a CVS repository if it doesn't exist
> log  Print out history information for files
> loginPrompt for password for authenticating server.
> logout   Removes entry in .cvspass for remote repository.
> rdiffCreate 'patch' format diffs between releases
> release  Indicate that a Module is no longer in use
> remove   Remove an entry from the repository
> rtag Add a symbolic tag to a module
> status   Display status information on checked out files
> tag  Add a symbolic tag to checked out version of files
> unedit   Undo an edit command
> update   Bring work tree in sync with repository
> watchSet watches
> watchers See who is watching a file
> (Specify the --help option for a list of other help options)
> bash-2.03$
>
> -----------
>
> > -Original Message-
> > From: Larry Jones [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 09, 2001 12:27 PM
> > To: Sven Dowideit
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Problems running cvs pserver
> >
> >
> > Sven Dowideit writes:
> > >
> > > i run
> > > ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no
> > > and then server.c failes to build because it tries to include krb5.h
> >
> > What version of CVS?  The Kerberos stuff is a mess, but it's getting
> > better and better as time goes on.
> >
> > > this results in an exe that both supports and doesn't support
> pserver ;)
> >
> > I'm not sure what that's supposed to mean.  What do "cvs -v" and "cvs
> > --help-commands" say?
> >
> > -Larry Jones
> >
> > It works on the same principle as electroshock therapy. -- Calvin
> >
>
>
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS Pserver installation

2001-05-14 Thread Larry Jones

Amit Bakhru writes:
> 
> I have made a file in directory /etc/xinetd.d in the name cvspserver,
> for entering details of server, but i am still not able to connect the
> server.
> Can you just guide me what should be the contents of this file
> cvspserver.OR Where can i get documentation for configuring pserver on
> Linux 7.0

service cvspserver
{
   port= 2401
   socket_type = stream
   protocol= tcp
   wait= no
   user= root
   passenv = PATH
   server  = /usr/local/bin/cvs
   server_args = -f --allow-root=/usr/cvsroot pserver
}

Make sure that "server" has the correct path to CVS on your system and
that the "--allow-root=" option in "server_args" has the correct path to
your repository.  If you still have problems, see:

http://cvshome.org/docs/manual/cvs_21.html#SEC182

-Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS Pserver installation

2001-05-14 Thread Amit Bakhru

Sir,
I am using RedHat Linux 7.0 , and i want to configure pserver, so that
users can access repository remotely.
I have made a file in directory /etc/xinetd.d in the name cvspserver,
for entering details of server, but i am still not able to connect the
server.
Can you just guide me what should be the contents of this file
cvspserver.OR Where can i get documentation for configuring pserver on
Linux 7.0

Waiting for an early reply,

Amit Bakhru


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Problems running cvs pserver

2001-05-08 Thread Sven Dowideit

I have this problem with cvs-1.10 (the one we are currently using in local
mode only) and with cvs 1.11p1 (that i am using as a comparison)

I think the easiest answer to the --help-comands question is that the newly
compiled cvs (either version) is able to do :local: and :ext: checkouts
fine, its only the pserver that is causing me pain.

when you say the Kerberos stuff is a mess, do you mean that everyone just
installs kerberos?

cheers

Sven

cvs -v ---
bash-2.03$ ./cvs -v

Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)

Copyright (c) 1989-1998 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
-cvs --help-commands 
bash-2.03$ ./cvs --help-commands
CVS commands are:
add  Add a new file/directory to the repository
adminAdministration front end for rcs
annotate Show last revision where each line was modified
checkout Checkout sources for editing
commit   Check files into the repository
diff Show differences between revisions
edit Get ready to edit a watched file
editors  See who is editing a watched file
export   Export sources from CVS, similar to checkout
history  Show repository access history
import   Import sources into CVS, using vendor branches
init Create a CVS repository if it doesn't exist
log  Print out history information for files
loginPrompt for password for authenticating server.
logout   Removes entry in .cvspass for remote repository.
rdiffCreate 'patch' format diffs between releases
release  Indicate that a Module is no longer in use
remove   Remove an entry from the repository
rtag Add a symbolic tag to a module
status   Display status information on checked out files
tag  Add a symbolic tag to checked out version of files
unedit   Undo an edit command
update   Bring work tree in sync with repository
watchSet watches
watchers See who is watching a file
(Specify the --help option for a list of other help options)
bash-2.03$

---

> -Original Message-
> From: Larry Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 12:27 PM
> To: Sven Dowideit
> Cc: [EMAIL PROTECTED]
> Subject: Re: Problems running cvs pserver
>
>
> Sven Dowideit writes:
> >
> > i run
> > ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no
> > and then server.c failes to build because it tries to include krb5.h
>
> What version of CVS?  The Kerberos stuff is a mess, but it's getting
> better and better as time goes on.
>
> > this results in an exe that both supports and doesn't support pserver ;)
>
> I'm not sure what that's supposed to mean.  What do "cvs -v" and "cvs
> --help-commands" say?
>
> -Larry Jones
>
> It works on the same principle as electroshock therapy. -- Calvin
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-05-08 Thread Larry Jones

Sven Dowideit writes:
> 
> i run
> ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no
> and then server.c failes to build because it tries to include krb5.h

What version of CVS?  The Kerberos stuff is a mess, but it's getting
better and better as time goes on.

> this results in an exe that both supports and doesn't support pserver ;)

I'm not sure what that's supposed to mean.  What do "cvs -v" and "cvs
--help-commands" say?

-Larry Jones

It works on the same principle as electroshock therapy. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-05-08 Thread Sven Dowideit

mmm I also get this problem, and i am trying to build cvs without kerberos
support.
the problem is that server.c wants to include krb5.h and the Makefile always
seems to want to link in the kerberos libraries - that i don;t have
installed, and i don't want to install.

i run
./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no
and then server.c failes to build because it tries to include krb5.h

I comment out the
#define HAVE_GSSAPI 1
because that stops krb5.h form being included

it compiles fine,
and failes to build because Makefile wants to link with
-lgssapi_krb5
-lkrb5
-lcrypto
-lcom_err

all of which do not exist on my machine :)

this results in an exe that both supports and doesn't support pserver ;)

so, um, what am i doing wrong ?

sven



[EMAIL PROTECTED] writes:
>
> I get the same response if I telnet to the port i.e.  The connection
> terminates immediately with the
>
> Connected to localhost.
> Escape character is '^]'.
> cvs pserver: No CVSROOT specified!  Please use the `-d' option
> cvs [pserver aborted]: or set the CVSROOT environment variable.
> Connection closed by foreign host.

That indicates that the CVS you're trying to use as a server was
compiled without pserver support; check your configure output.

-Larry Jones



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-05-07 Thread Larry Jones

[EMAIL PROTECTED] writes:
> 
> I get the same response if I telnet to the port i.e.  The connection
> terminates immediately with the
> 
> Connected to localhost.
> Escape character is '^]'.
> cvs pserver: No CVSROOT specified!  Please use the `-d' option
> cvs [pserver aborted]: or set the CVSROOT environment variable.
> Connection closed by foreign host.

That indicates that the CVS you're trying to use as a server was
compiled without pserver support; check your configure output.

-Larry Jones

You know how Einstein got bad grades as a kid?  Well MINE are even WORSE!
-- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-05-07 Thread dreade


hi,
after some configuration changes here is the output from the jCVS client
connection test

CVSClient.SENDLine: 'BEGIN AUTH REQUEST'
CVSClient.SENDLine: '/imiwebdb/dynamodata/cvsroot'
CVSClient.SENDLine: 'dynamo'
CVSClient.SENDLine: 'Aea=ed<1"o'
CVSClient.SENDLine: 'END AUTH REQUEST'
CVSClient.READLine: 'cvs pserver: No CVSROOT specified!  Please use the
`-d' option'
AUTHENTICATE: REPLY: 'cvs pserver: No CVSROOT specified!  Please use the
`-d' option'

I get the same response if I telnet to the port i.e.  The connection
terminates immediately with the

Connected to localhost.
Escape character is '^]'.
cvs pserver: No CVSROOT specified!  Please use the `-d' option
cvs [pserver aborted]: or set the CVSROOT environment variable.
Connection closed by foreign host.

My question is: Why does the cvs pserver command require a CVSROOT variable
to be set if it gets this from the client connection?

TIA
Duncan



  
larry.jones@s 
drc.com  To: [EMAIL PROTECTED]
(Larry Jones)cc: [EMAIL PROTECTED] 
 Subject: Re: Problems running cvs
05/03/01 pserver  
10:10 PM  
  
  



[EMAIL PROTECTED] writes:
>
> We can telnet to the port and we can see that the cvs process is spawed
> successfully
>
> ps -ef | grep cvs
> root 21066  1022  0 16:07:10 ?0:00 cvs -f
> --allow-root=/usr/local/cvsroot pserver
>
> However when we send any characters they are read and then ignored. Using
> truss we can see that the process is just reading the input characters
and
> then sleeping.

Does that include a newline?  If you telnet to the port and hit return,
you should get:

   cvs [pserver aborted]: bad auth protocol start:

If you don't, there's something wrong with your CVS executable.  I'd
suggest downloading the current version (1.11.1p1) from www.cvshome.org.

-Larry Jones

Why is it you always rip your pants on the day everyone has to
demonstrate a math problem at the chalkboard? -- Calvin






   IMPORTANT MESSAGE - DISCLAIMER


"This message is confidential and may also be legally privileged.  If you are not the 
intended recipient of the message, please notify the sender immediately and then 
delete it from your system.  Please do not copy it or use it for any purposes, or 
disclose its contents to any other person:  to do so could be a breach of confidence.
Any views expressed in this e-mail message are those of the individual sender  and the 
contents thereof do not constitute a commitment by IMI Bank (Lux) S.A. except where 
provided for in a written agreement between you and IMI Bank (Lux) S.A.. 
Any e-mail messages from IMI Bank (Lux) S.A. are given in good faith but shall not be 
binding nor shall they be construed as constituting any obligation on the part of IMI 
Bank (Lux) S.A." 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Problems running cvs pserver

2001-05-03 Thread Larry Jones

[EMAIL PROTECTED] writes:
> 
> We can telnet to the port and we can see that the cvs process is spawed
> successfully
> 
> ps -ef | grep cvs
> root 21066  1022  0 16:07:10 ?0:00 cvs -f
> --allow-root=/usr/local/cvsroot pserver
> 
> However when we send any characters they are read and then ignored. Using
> truss we can see that the process is just reading the input characters and
> then sleeping.

Does that include a newline?  If you telnet to the port and hit return,
you should get:

cvs [pserver aborted]: bad auth protocol start: 

If you don't, there's something wrong with your CVS executable.  I'd
suggest downloading the current version (1.11.1p1) from www.cvshome.org.

-Larry Jones

Why is it you always rip your pants on the day everyone has to
demonstrate a math problem at the chalkboard? -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Problems running cvs pserver

2001-05-03 Thread dreade

Hi,

Here is the current status of my problem.

platform:  solaris 7
cvs version :  GNUcvs.1.10
  Concurrent Versions System (CVS) 1.10 `Halibut' (client/server)

Installed using package downloads from  Ibiblio UNC.

cvs is installed and will run correctly in local mode. However we need it
to run as a password authenticated server.

We put the following in inetd.conf

 cvspserver stream  tcp  nowait  root  /usr/local/bin/cvs cvs -f
--allow-root=/usr/local/cvsroot pserver

and added the appropriate entry in `/etc/services'

 cvspserver  2401/tc

We can telnet to the port and we can see that the cvs process is spawed
successfully

ps -ef | grep cvs
root 21066  1022  0 16:07:10 ?0:00 cvs -f
--allow-root=/usr/local/cvsroot pserver

However when we send any characters they are read and then ignored. Using
truss we can see that the process is just reading the input characters and
then sleeping.

When we use a CVS client to connect it just hangs after sending the
Authentication strings.

Any help would be greatly appreciated.

TIA

Duncan.




   IMPORTANT MESSAGE - DISCLAIMER


"This message is confidential and may also be legally privileged.  If you are not the 
intended recipient of the message, please notify the sender immediately and then 
delete it from your system.  Please do not copy it or use it for any purposes, or 
disclose its contents to any other person:  to do so could be a breach of confidence.
Any views expressed in this e-mail message are those of the individual sender  and the 
contents thereof do not constitute a commitment by IMI Bank (Lux) S.A. except where 
provided for in a written agreement between you and IMI Bank (Lux) S.A.. 
Any e-mail messages from IMI Bank (Lux) S.A. are given in good faith but shall not be 
binding nor shall they be construed as constituting any obligation on the part of IMI 
Bank (Lux) S.A." 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS pserver

2001-04-09 Thread Larry Jones

Flatbush, Steve writes:
> 
> I can't find pserver anywhere, where can I get a copy of pserver?

It's a CVS subcommand (like checkout and update), not a separate
program.

-Larry Jones

Kicking dust is the only part of this game we really like. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVS pserver

2001-04-09 Thread Stephen Rasku

Steve Flatbush wrote:
>
>I can't find pserver anywhere, where can I get a copy of pserver?
>

pserver is not a separate program.  It is simply a command specified 
on the cvs command line (actually in inetd.conf but why split hairs?).

-- 
Stephen Rasku   E-mail: [EMAIL PROTECTED]
Senior Software EngineerWeb:http://www.pop-star.net/
TGI Technologies


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS pserver

2001-04-09 Thread Flatbush, Steve

I can't find pserver anywhere, where can I get a copy of pserver?

Thanks,

Steve Flatbush

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs pserver and knowing who did what

2001-04-02 Thread Larry Jones

Chris Niekel writes:
> 
> When I use the loginfo method to automatically send mail about the commits,
> the "Author" is always set to 'cvsaccount'. Is there any way to make this
> the 'user' entry? 
>
> I'm just using an example log.pl script, but I printed the environment
> settings, and that also didn't have any knowledge of the 'user' name.

You have to pass the username ($USER) explicitly from the loginfo file
-- that's why the example log.pl script has a -u option.  See the
loginfo example in the manual:

http://www.cvshome.org/docs/manual/cvs_18.html#SEC170

-Larry Jones

I told her to expect you to deny everything. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS pserver

2001-04-02 Thread Charles



I'm new to this and am attempting to set up a 
pserver on a linux box which will service multiple windows machines running 
wincvs.
 
I have thus far installed cvs and created a 
repository.  I'm not sure how to actually get pserver listening on the port 
I'm using.  Any help on what command line needs to be added to what file 
would be greatly appreciated.  
 
From reading I found that the line goes to the 
inetd.conf file but I can't find it on RH7.0.
 
Thanks
 
Charles


Re: cvs pserver and knowing who did what

2001-04-02 Thread Rob Helmer

Hello,


Do the developers also have UNIX accounts? Then don't use the CVSROOT/passwd
file, I don't think there's any really good reason to use it.

It's easier to set up a phony shell that doesn't allow logins and use
the UNIX user account system if you don't want people logging into the
box.

Of course, if you don't have root or don't want to do this then you'll
have to wait for someone with more experience with loginfo to reply ;)



HTH,
Rob Helmer


On Mon, Apr 02, 2001 at 01:28:07PM +0200, Chris Niekel wrote:
> Hi,
> 
> At work I've installed cvs and we now have a cvs repository which all
> developers access through the pserver. All accounts are mapped to the same
> userid (so the CVSROOT/passwd file is user:passwd:cvsaccount for every
> user).
> 
> When I use the loginfo method to automatically send mail about the commits,
> the "Author" is always set to 'cvsaccount'. Is there any way to make this
> the 'user' entry? 
> 
> I'm just using an example log.pl script, but I printed the environment
> settings, and that also didn't have any knowledge of the 'user' name.
> 
> Any ideas?
> 
> Greetings,
> Chris Niekel
> 
> 
> -- 
> Geek code version 3.1:
> GCS d- s++: a- C++$ ULSI++ P+(---) L+++> E--- W++ N++ o K? w--- O M- 
> V?>-- PS+ PE-() Y PGP+ t+>+++ 5? X- !R tv+ b DI++ D+ G>++ e+++ h--- r+++ y+++
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: How to specify port with `cvs pserver'?

2001-04-02 Thread Rob Helmer

Hello,


Well, if I was using CVS from remote and SSH was installed on the
server side, and I had a UNIX account on the server side, I would set
these environment variables :

CVS_RSH=ssh
CVSROOT=:ext:user@host:/path/to/repository

Then do "cvs command".

If I wanted to use pserver for some reason, I would first make an
SSH tunnel :

ssh -L 2401:localhost:2401 user@host

Then use this CVSROOT:

CVSROOT=:pserver:user@localhost:/path/to/repository

The SSH tunnel makes it look like port 2401 ( the CVS port ) is
open on the local host. I usually use the first method, the second
method only requires that you enter your password once to open
the tunnel, and again to do "cvs login", while the first will ask
for your password everytime you do a CVS command.



HTH,
Rob Helmer


On Sun, Apr 01, 2001 at 03:22:45PM +0200, Kai Gro?johann wrote:
> I can't access the outside directly, so I use port forwarding via
> ssh.  So if I want to access two `cvs pserver' repositories, I have to
> set up port forwarding with two different local ports, right?  I guess
> that means I need to specify the port on the remote host when doing
> 
> cvs -d :pserver:user@host:/path/to/repository command
> 
> How do I do that?
> 
> kai
> -- 
> Be indiscrete.  Do it continuously.
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs pserver and knowing who did what

2001-04-02 Thread Chris Niekel

Hi,

At work I've installed cvs and we now have a cvs repository which all
developers access through the pserver. All accounts are mapped to the same
userid (so the CVSROOT/passwd file is user:passwd:cvsaccount for every
user).

When I use the loginfo method to automatically send mail about the commits,
the "Author" is always set to 'cvsaccount'. Is there any way to make this
the 'user' entry? 

I'm just using an example log.pl script, but I printed the environment
settings, and that also didn't have any knowledge of the 'user' name.

Any ideas?

Greetings,
Chris Niekel


-- 
Geek code version 3.1:
GCS d- s++: a- C++$ ULSI++ P+(---) L+++> E--- W++ N++ o K? w--- O M- 
V?>-- PS+ PE-() Y PGP+ t+>+++ 5? X- !R tv+ b DI++ D+ G>++ e+++ h--- r+++ y+++

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



How to specify port with `cvs pserver'?

2001-04-01 Thread Kai Großjohann

I can't access the outside directly, so I use port forwarding via
ssh.  So if I want to access two `cvs pserver' repositories, I have to
set up port forwarding with two different local ports, right?  I guess
that means I need to specify the port on the remote host when doing

cvs -d :pserver:user@host:/path/to/repository command

How do I do that?

kai
-- 
Be indiscrete.  Do it continuously.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: RH 7.0, cvs pserver not working

2001-03-26 Thread Joshua Davis

> -Original Message-
> From: Larry Jones [mailto:[EMAIL PROTECTED]]
> Joshua Davis writes:
> >
> > I tried *not* setting HOME, but it didn't work on RH 7.0.  The
> HOME setting
> > seems to fix this problem (with RH 7.0 xinetd).  Unless this
> behavior of RH
> > 7.0 has been fixed.  If that's the case, then 'nevermind'.  :)
>
> What do you mean by "didn't work"?

Sorry I wasn't more specific about that.  If I remember correctly, the CVS
server would refuse client connections.

> It may well be that you're
> inheriting a bogus value of HOME from xinetd, in which case you need to
> explicitly unset it.

Exactly.  Apparently, that's a RH 7.0 'behavior'.  Tomorrow, I'll look at
the cvspserver xinetd file again, maybe I found out how to explicitly unset
environment variables (and don't remember how I did it). ;->

As always, thanks for your time, Larry.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: RH 7.0, cvs pserver not working

2001-03-24 Thread Larry Jones

Joshua Davis writes:
> 
> I tried *not* setting HOME, but it didn't work on RH 7.0.  The HOME setting
> seems to fix this problem (with RH 7.0 xinetd).  Unless this behavior of RH
> 7.0 has been fixed.  If that's the case, then 'nevermind'.  :)

What do you mean by "didn't work"?  It may well be that you're
inheriting a bogus value of HOME from xinetd, in which case you need to
explicitly unset it.  (And no, I don't have any idea how to do that;
perhaps someone who knows something about xinetd can help.)

-Larry Jones

All girls should be shipped to Pluto--that's what I say. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: RH 7.0, cvs pserver not working

2001-03-24 Thread Joshua Davis

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Larry Jones
>
> Ginger Ellsworth writes:
> >
> > $ cvs -d :pserver:[EMAIL PROTECTED]:/cvs login
> > (Logging in to [EMAIL PROTECTED])
> > CVS password:
> > cvs [login aborted]: connect to 192.168.1.134:2401 failed: Connection
> > refused
>
> "Connection refused" means that the server machine isn't listening for
> connections on the cvspserver port, which implies that there's something
> wrong with your xinetd configuration; check your syslog for error
> messages and follow the debugging steps in the manual:
>
>   http://www.cvshome.org/docs/manual/cvs_21.html#SEC182
>
> > env = HOME=/cvs
>
> Do not set HOME!  Make sure it is *not* set and CVS will figure it out
> correctly for each user.
>

I tried *not* setting HOME, but it didn't work on RH 7.0.  The HOME setting
seems to fix this problem (with RH 7.0 xinetd).  Unless this behavior of RH
7.0 has been fixed.  If that's the case, then 'nevermind'.  :)

Here's the /etc/xinet.d/cvspserver set up that I'm using now:
http://pgmjsd.weblogs.com/stories/storyReader$17

BTW, sometimes the CVS processes on the Linux box seem to get 'zombified'.
Any ideas?  I noticed this happens more often when the local SMTP server
dies.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: RH 7.0, cvs pserver not working

2001-03-24 Thread Larry Jones

Ginger Ellsworth writes:
> 
> $ cvs -d :pserver:[EMAIL PROTECTED]:/cvs login
> (Logging in to [EMAIL PROTECTED])
> CVS password:
> cvs [login aborted]: connect to 192.168.1.134:2401 failed: Connection
> refused

"Connection refused" means that the server machine isn't listening for
connections on the cvspserver port, which implies that there's something
wrong with your xinetd configuration; check your syslog for error
messages and follow the debugging steps in the manual:

http://www.cvshome.org/docs/manual/cvs_21.html#SEC182

>   env = HOME=/cvs

Do not set HOME!  Make sure it is *not* set and CVS will figure it out
correctly for each user.

-Larry Jones

I'm crying because out there he's gone, but he's not gone inside me. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RH 7.0, cvs pserver not working

2001-03-23 Thread Ginger Ellsworth

hello -

I'm running Red Hat 7.0 and CVS 1.11.  CVS works fine locally but I cannot
get pserver to work.  The error message from a Windows 2000 client is:

$ cvs -d :pserver:[EMAIL PROTECTED]:/cvs login
(Logging in to [EMAIL PROTECTED])
CVS password:
cvs [login aborted]: connect to 192.168.1.134:2401 failed: Connection
refused

Both of these postings refer to a similar problem:
http://mail.gnu.org/pipermail/info-cvs/2000-December/011394.html
http://mail.gnu.org/pipermail/info-cvs/2001-March/013146.html

I have the line:
cvspserver  2401/tcp
in my /etc/services file.

I have created the file /etc/xinetd.d/cvspserver with content:
service cvspserver
{
flags   = REUSE
instances   = 25
disable = no
protocol= tcp
socket_type = stream
wait= no
user= root
group   = cvsusers
env = HOME=/cvs
passenv =
server  = /usr/bin/cvs
server_args = -f --allow-root=/cvs pserver
log_on_success  += DURATION USERID
log_on_failure  += USERID
}
and I have rebooted the machine to re-initialize the cvspserver service.

Thank you for any help!!
Ginger


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Standalone CVS pserver

2001-03-06 Thread Cyan Callihan

i just did a follow up on this topic on another thread.  use tcpserv.  i
think the package name is: ucspi-tcp

let me know if you need help with the notation.

On Mon, 5 Mar 2001, Robert Schiele wrote:

> On Thu, Mar 01, 2001 at 04:22:26PM -, Darren Young wrote:
> > I read a thread from last year that mentioned the same type of issue 
> > I am looking to resolve, although I did not find any appropriate 
> > answers. I am looking to set up a cvs pserver, however it will be 
> > located on my hosting provider's machine. I have shell access and 
> > have compiled/installed 1.11 with --prefix=$HOME. Now, what I would 
> > like to do is something like this:
> > 
> >$HOME/bin/cvs --allow-root=$HOME/cvsroot -T$HOME/tmp -f pserver &
> > 
> > It seems to start fine, although if I touch my keyboard it stops. In 
> > a second shell session, netstat -na | grep 2401 doesn't show me 
> > listening() either.?
> > 
> > Also, I'd like to change the default port from 2401 to something 
> > else, from what I have seen I need to modify CVS_AUTH_PORT in 
> > client.h and recompile, correct? It seems as though there is no way 
> > to set this at run-time.
> > 
> > Has anyone successfully done this, if so, what details am I missing? 
> > By the way, the machine that I am running this on is a RedHat 
> > 6.2/2.2.16-3.
> 
> You might want to use inetd. You can run this as a normal user
> too. You do not need root privileges to run inetd with a cvs pserver.
> 
> I am going to run a cvs pserver with about 40 repositories, which for
> some reasons need to be completely distinct, I ran into the problem
> that most inetd implementations limit the number of parameters.
> 
> For that reason I hacked a standalone cvs pserver, which currently is
> a wrapper around normal cvs derived from a port of OpenBSD inetd to
> Linux by Thorsten Kukuk.
> 
> If you want to test it, you can get it from
> http://webrum.uni-mannheim.de/math/rschiele/cvspserver/
> 
> It currently supports Linux (tested on glibc 2.1 and 2.2), but might
> as well work on other systems (with some changes).
> 
> There is some short description in the source file. If it is not
> understandable, feel free to contact me.
> 
> Further plans are to make a patch against normal cvs to make it
> support this functionality directly.
> 
> Feedback is welcome.
> 
> Robert
> 
> -- 
> Robert Schielemailto:[EMAIL PROTECTED]
> Tel./Fax: +49-621-10059   http://webrum.uni-mannheim.de/math/rschiele/
> 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Standalone CVS pserver

2001-03-05 Thread Robert Schiele

On Thu, Mar 01, 2001 at 04:22:26PM -, Darren Young wrote:
> I read a thread from last year that mentioned the same type of issue 
> I am looking to resolve, although I did not find any appropriate 
> answers. I am looking to set up a cvs pserver, however it will be 
> located on my hosting provider's machine. I have shell access and 
> have compiled/installed 1.11 with --prefix=$HOME. Now, what I would 
> like to do is something like this:
> 
>$HOME/bin/cvs --allow-root=$HOME/cvsroot -T$HOME/tmp -f pserver &
> 
> It seems to start fine, although if I touch my keyboard it stops. In 
> a second shell session, netstat -na | grep 2401 doesn't show me 
> listening() either.?
> 
> Also, I'd like to change the default port from 2401 to something 
> else, from what I have seen I need to modify CVS_AUTH_PORT in 
> client.h and recompile, correct? It seems as though there is no way 
> to set this at run-time.
> 
> Has anyone successfully done this, if so, what details am I missing? 
> By the way, the machine that I am running this on is a RedHat 
> 6.2/2.2.16-3.

You might want to use inetd. You can run this as a normal user
too. You do not need root privileges to run inetd with a cvs pserver.

I am going to run a cvs pserver with about 40 repositories, which for
some reasons need to be completely distinct, I ran into the problem
that most inetd implementations limit the number of parameters.

For that reason I hacked a standalone cvs pserver, which currently is
a wrapper around normal cvs derived from a port of OpenBSD inetd to
Linux by Thorsten Kukuk.

If you want to test it, you can get it from
http://webrum.uni-mannheim.de/math/rschiele/cvspserver/

It currently supports Linux (tested on glibc 2.1 and 2.2), but might
as well work on other systems (with some changes).

There is some short description in the source file. If it is not
understandable, feel free to contact me.

Further plans are to make a patch against normal cvs to make it
support this functionality directly.

Feedback is welcome.

Robert

-- 
Robert Schiele  mailto:[EMAIL PROTECTED]
Tel./Fax: +49-621-10059 http://webrum.uni-mannheim.de/math/rschiele/

 PGP signature


  1   2   >