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: cvs with/without pserver won't authenticate in a C2/enhanced secu rity env Date: Wed, 31 Jul 2002 23:09:00 +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 1028122146 13929 127.0.0.1 (31 Jul 2002 13:29:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2002 13:29:06 +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 17ZtXE-0003cY-00 for ; Wed, 31 Jul 2002 15:29:04 +0200 Original-Received: (qmail 9259 invoked by uid 5); 31 Jul 2002 13:09:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9251 invoked from network); 31 Jul 2002 13:09:19 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 31 Jul 2002 13:09:19 -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 <0H0400J7D77H58@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 31 Jul 2002 09:09:18 -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 <0H0400K8U7750N@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 31 Jul 2002 09:09:07 -0400 (EDT) Original-Received: from itfsmtp2.central.det.win ([153.107.8.32]) by isurp2.det.nsw.edu.au (8.9.3/8.9.0) with ESMTP id XAA04790 for ; Wed, 31 Jul 2002 23:08:39 +1000 (EST) Original-Received: from itfexch18.central.det.win (not verified[153.107.9.28]) by itfsmtp2.central.det.win with MailMarshal (4,2,5,0) id ; Wed, 31 Jul 2002 23:09:03 +1000 Original-Received: by itfexch18.central.det.win with Internet Mail Service (5.5.2653.19) id ; Wed, 31 Jul 2002 23:09:03 +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:1182 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1182 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