From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Georgette, Danielle" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: cvs with/without pserver won't authenticate in a C2/enha nced security env Date: Fri, 02 Aug 2002 00:44:23 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1028213066 17915 127.0.0.1 (1 Aug 2002 14:44:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2002 14:44:26 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17aHBf-0004eo-00 for ; Thu, 01 Aug 2002 16:44:24 +0200 Original-Received: (qmail 32022 invoked by uid 5); 1 Aug 2002 14:44:51 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32014 invoked from network); 1 Aug 2002 14:44:50 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 1 Aug 2002 14:44:50 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0600GNW6AI6X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 01 Aug 2002 10:44:50 -0400 (EDT) Original-Received: from isurp2.det.nsw.edu.au (isurp2.det.nsw.edu.au [153.107.41.146]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H06006GZ6A6PP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 01 Aug 2002 10:44:32 -0400 (EDT) Original-Received: from itfsmtp1.central.det.win ([153.107.8.31]) by isurp2.det.nsw.edu.au (8.9.3/8.9.0) with ESMTP id AAA21616 for ; Fri, 02 Aug 2002 00:44:05 +1000 (EST) Original-Received: from itfexch18.central.det.win (not verified[153.107.9.28]) by itfsmtp1.central.det.win with MailMarshal (4,2,5,0) id ; Fri, 02 Aug 2002 00:44:29 +1000 Original-Received: by itfexch18.central.det.win with Internet Mail Service (5.5.2653.19) id ; Fri, 02 Aug 2002 00:44:29 +1000 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1198 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1198 Its seems this is my week to ask for reference sites and get deafening silence :) No replies - it seems no-one is running cvs with pserver in a C2 enabled environment. I'm pretty surprised by this but sometimes that's how it goes. I've bypassed pserver and it seems will have to push our developers kicking and screaming into using ssh with public key authentication. This works and it's the only way I can see around cvs's seeming inability to natively authenticate users if the mechanisms are not a plain passwd file and standard crypt. I'd still like to hear that someone has managed to get this working, so feel free to prove me wrong. Danielle -----Original Message----- From: Georgette, Danielle Sent: Wednesday, 31 July 2002 11:09 PM To: 'tru64-unix-managers@ornl.gov' Subject: cvs with/without pserver won't authenticate in a C2/enhanced security env It seems this is my week to ask for reference sites :-) I'm attempting to migrate a cvs installation on a Tru64 5.1a pk2 to work in an enhanced (c2) security environment and once again having a tough time of it. The cvs installation doesn't seem to want to touch the c2 authentication framework, failing with different errors depending on the combination of user and cvs authentication/CVSROOT I try: 1. Configured with a pserver passwd file containing the user and their password as cut'n'pasted from the edauth -g output. 2. Tried having a pserver passwd file that the user was not in (which should have prompted pserver to use the native system authentication and /etc/passwd with what should be transparent c2). 3. Tried with no pserver passwd file (same expected result as above). 4. Tried to login using local rather than pserver. No joy, and a different error each time. I've checked permissions, filenames and paths, inetd.conf and /etc/services for spaces and control codes, etc etc. It seems the login attempts are never reaching the c2 subsystem because I see nothing in logs or the security db about failed login attempts. Otherwise CVS works fine, managing content as the cvs user on the local machine works totally as expected. I can't find any information on how to get cvs to log pserver connection attempts or verbosely tell me what its doing when its trying to authenticate and failing. File/content change logging during authenticated operation is all I can see on offer. Does anyone have this working with c2 or have a clue what I might be doing wrong ? Any idea how to get some meaningful logging happening ? My next step is to use alphatrace on the binary but I thought I'd put this out to you all and see what comes back. root@node1:># su - cvs node1.testh.det.nsw.edu.au> cvs -d :local:cvs@node1.testh.det.nsw.edu.au:/path/app/cvs/mw login cvs [login aborted]: CVSROOT cvs@node1.testh.det.nsw.edu.au:/path/app/cvs/mw must be an absolute pathname Logged in as cvs user (valid password valid account) node1.testh.det.nsw.edu.au> cvs -d :pserver:cvs@node1.testh.det.nsw.edu.au:/path/app/cvs/mw login (Logging in to cvs@node1.testh.det.nsw.edu.au) CVS password: cvs login: authorization failed: server node1.testh.det.nsw.edu.au rejected access to /path/app/cvs/mw for user cvs root@node1:># telnet localhost 2401 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. cvs [pserver aborted]: bad auth protocol start: Connection closed by foreign host > cvs --version Concurrent Versions System (CVS) 1.11 (client/server) /etc/services: cvspserver 2401/tcp # cvs pserver /etc/inetd.conf cvspserver stream tcp nowait root /usr/local/cvs/bin/cvs cvs --allow-root=/path/app/cvs/mw pserver Thanks again, as always, Danielle Georgette Internet Systems ITD NSW DET