Subject: Re: strange nis behaviour
To: None <current-users@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 02/05/2005 18:17:04
--sF4+LqaTi7T9hg64
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 04, 2005 at 05:06:40PM +0100, Antoine Reilles wrote:
  | I am trying to setup nis to let people log into my machine.
  | ypcat works fine, and i have:
  | $ ypcat passwd | wc -l
  | 987
  |=20
  | However, only a few nis accounts can login (belonging to different
  | groups), the others getting "unknown login".
  | I have:
  | $ getent passwd | wc -l
  | 69
  |=20
  | there are only 15 local accounts, and so getent lists 54 nis accounts,
  | but not the others !


Do the entries returned from "getent passwd" match those at the start
of the the result of "ypcat passwd" ?

If so, is the next entry in the YP passwd map (that getent isn't
returning) correct, or seem corrupt?

--sF4+LqaTi7T9hg64
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD4DBQFCBHLwpBhtmn8zJHIRAoT6AJ9lBlpndv9yjj9e9KNtmfMdmEmX7gCXetV0
q/Pu3YrGthd54EMizKlczg==
=hJLh
-----END PGP SIGNATURE-----

--sF4+LqaTi7T9hg64--