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 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-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 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-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: 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-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

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-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=ed1o'
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-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-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