From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: CLAUDINE BERTHOUD Newsgroups: gmane.os.tru64.managers Subject: Summary [2] : Non C2 clients connecting to C2 + NIS server Date: Tue, 27 Aug 2002 08:14:02 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1030428923 31671 127.0.0.1 (27 Aug 2002 06:15:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2002 06:15:23 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17jZdI-0008E3-00 for ; Tue, 27 Aug 2002 08:15:21 +0200 Original-Received: (qmail 30913 invoked by uid 5); 27 Aug 2002 06:16:33 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30904 invoked by uid 49493); 27 Aug 2002 06:16:33 -0000 Original-Received: from CBERTHOUD@proxis-services.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.489279 secs); 27 Aug 2002 06:16:33 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 27 Aug 2002 06:16:32 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1H00G2GO3JK2@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 Aug 2002 02:16:32 -0400 (EDT) Original-Received: from smtp2av.net.oleane.net (smtp2av.net.oleane.net [195.25.12.12]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1H00G3XO3FJK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 27 Aug 2002 02:16:28 -0400 (EDT) Original-Received: from VirusWall by smtp2av.net.oleane.net with ESMTP id g7R6GP7t028132 for ; Tue, 27 Aug 2002 08:16:26 +0200 Original-Received: from mars.proxis-services.fr ([194.3.93.126]) by smtp2av.net.oleane.net (8.12.5/8.12.0/8.12-FT) with ESMTP id g7R6GLhe028112 for ; Tue, 27 Aug 2002 08:16:21 +0200 Original-Received: by mars.proxis-services.fr with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Aug 2002 08:14:03 +0200 Content-return: allowed Original-To: "Tru64-Unix-Managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1492 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1492 Hello, Ann Majeske from hp has send this interesting information : Using ldap should work, but you CAN connect to a Tru64 NIS server running Enhanced Security from systems that are not running Enhanced Security if you have things set up right. The only client systems that this may not work with are ones running other vendor's versions of C2/Shadow password or whatever. You can set up the Tru64 Enhanced Security NIS server to put the password in both the prpasswd and the passwd map by setting the u_newcrypt field to 3. Here's the definition of the crypt values (from the /usr/include/prot.h file): #define AUTH_CRYPT_BIGCRYPT 0 /* index to use bigcrypt*/ #define AUTH_CRYPT_CRYPT16 1 /* index to use crypt16 */ #define AUTH_CRYPT_OLDCRYPT 2 /* index to use old crypt */ #define AUTH_CRYPT_C1CRYPT 3 /* index to use /etc/passwd */ I haven't worked out the exact steps, but to get the Enhanced Security NIS server to serve the password in both the passwd and prpasswd map, you'd have to do something like: - copy the current passwords from the prpasswd map to the passwd map and rebuild the passwd map (you might have a problem using the current passwords if you're not using the default crypt, so I'd test this with one or two passwords first). Or just require all your users to reset their passwords after you set u_newcrypt to 3. - edit the default database on the NIS master server to set the u_newcrypt field to 3. I think that the Enhanced Security NIS master server will properly handle password change requests from the non-Enhanced Security NIS clients in this case, but you should check it. Ann CLAUDINE BERTHOUD wrote: > > Thank you to Ken Kleiner, Uwe Richter, Regis Carlier and Pat O'Brien. > > It seems you cannot connect to a runnig C2 security NIS server from a non > C2 client. > > Ken says that the best way to avoid using NIS autentication is to implement > ldap. > > Regards > Claudine > > > > > Hello, > > > > A Tru64 V5.1 NIS server is runnig C2 security. > > No problem for connecting from a C2 client. > > What should I do to be able to connect from a system which does not run C2 > > security (Tru64, linux, Solaris, etc) ? > > Regards > > > > Claudine Berthoud > > Proxis-Services > > Z.I. du Bois de l'Epine > > 11, avenue Joliot Curie > > BP 202 > > 91007 Evry Cedex > > Tel : 01 69 77 95 27 > > e-mail : cberthoud@proxis-services.fr > >