From owner-freebsd-questions Thu Jul 20 10:22:11 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id KAA15397 for questions-outgoing; Thu, 20 Jul 1995 10:22:11 -0700 Received: from gemsgw.med.ge.com (gemsgw.med.ge.com [192.88.230.10]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id KAA15389 for ; Thu, 20 Jul 1995 10:22:09 -0700 Received: from gemed.med.ge.com by gemsgw.med.ge.com (4.1/GEMS-1.1) id AA26088; Thu, 20 Jul 95 12:23:23 CDT Received: from sol.sol.med.ge.com (sol-gw) by gemed.med.ge.com (5.x/SMI-SVR4) id AA05143; Thu, 20 Jul 1995 11:06:11 -0500 Received: from merak.med.ge.com by sol.sol.med.ge.com (4.1/SMI-4.1) id AA11969; Thu, 20 Jul 95 11:06:39 CDT From: laufen@sol.med.ge.com (Derek Laufenberg x7-4534) Received: by merak.med.ge.com (4.1/client-1.3) id AA17172; Thu, 20 Jul 95 11:06:37 CDT Date: Thu, 20 Jul 95 11:06:37 CDT Message-Id: <9507201606.AA17172@merak.med.ge.com> To: mathezer@newera.ab.ca Subject: Re: Crypt and NIS Cc: questions@freebsd.org Sender: questions-owner@freebsd.org Precedence: bulk > The NIS server is running AIX 3.2.5 > I can ypcat passwd no problem. An ls of NFS mounted directories > translates the uids and gids properly. The only problem is with NIS > users logging in. > > These are all the crypt libraries I have. libdescrypt.a was the result > of compiling the secrdist. I have tried linking libcrypt.a to > libdescrypt.a with no results. > > lrwxr-xr-x 1 bin bin 11 Jul 19 15:38 /usr/lib/libcrypt.a -> libscrypt.a > lrwxr-xr-x 1 bin bin 16 Jul 19 15:38 /usr/lib/libcrypt.so.2.0 -> libscrypt.so.2.0 This link looks wrong. > lrwxr-xr-x 1 bin bin 15 Jul 19 15:38 /usr/lib/libcrypt_p.a -> libdescrypt_p.a > -r--r--r-- 1 bin bin 6068 Jul 19 15:36 /usr/lib/libdescrypt.a > -r--r--r-- 1 bin bin 7226 Jul 19 15:36 /usr/lib/libdescrypt_p.a > -r--r--r-- 1 bin bin 4576 Jun 10 09:47 /usr/lib/libscrypt.a > -r--r--r-- 1 bin bin 12755 Jun 10 09:47 /usr/lib/libscrypt.so.2.0 > > As I said, everything to do with NIS seems to work *except* logins. What > steps must I perform to allow my 2.0.5 box to be an NIS client with an AIX > 3.2.5 server? 1) be using the same crypt libraries on client and server 2) add +:::::::::: entry into client master.passwd (use vipw) 3) make sure NIS domain is set right (sounds like you did this) > > Thanks > > -Steve > > I'm not sure about AIX 3.2.5, but you should have libcrypt.a and libcrypt.so.2.0 both linked to the same encryption set. Try changing your shared object to point to the DES libs as well. Here are the links I use. lrwxrwxr-x 1 2035 wheel 13 Jul 5 15:19 libcrypt.a -> libdescrypt.a lrwxrwxr-x 1 2035 wheel 18 Jul 5 15:19 libcrypt.so.2.0 -> libdescrypt.so.2.0 lrwxrwxr-x 1 2035 wheel 15 Jul 5 15:19 libcrypt_p.a -> libdescrypt_p.a -r--r--r-- 1 bin bin 6068 Jun 22 03:34 libdescrypt.a -r--r--r-- 1 bin bin 13637 Jun 22 03:34 libdescrypt.so.2.0 -r--r--r-- 1 bin bin 7226 Jun 22 03:34 libdescrypt_p.a -r--r--r-- 1 bin bin 4576 Jun 22 03:20 libscrypt.a -r--r--r-- 1 2035 wheel 13056 Jan 25 18:53 libscrypt.so.2.0