Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 95 11:06:37 CDT
From:      laufen@sol.med.ge.com (Derek Laufenberg  x7-4534)
To:        mathezer@newera.ab.ca
Cc:        questions@freebsd.org
Subject:   Re: Crypt and NIS
Message-ID:  <9507201606.AA17172@merak.med.ge.com>

next in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9507201606.AA17172>