Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 1996 14:59:41 -0500 (CDT)
From:      mikebo@tellabs.com
To:        bugs@freebsd.org
Cc:        hackers@freebsd.org, mikebo (Mike Borowiec)
Subject:   2.1-960627-SNAP: YP problem
Message-ID:  <199607031959.OAA13711@sunc210.tellabs.com>

next in thread | raw e-mail | index | archive | help
Greetings -
I believe a bug has been introduced into the 2.1-960627-SNAP YP code.
Previously, I had been able to use NIS netgroups in the password file:
+@mygroup:::::::::

The FreeBSD client is bound to a SunOS 4.1.x server. When I attempt to
login, FreeBSD attempts :
NIS:  ----- Network Information Service -----
NIS:  Proc = 4 (Return first key-value pair in map)
NIS:  Domain = mydomain
NIS:  Map = master.passwd.byname

Of course, my Sun NIS domain has no such map "master.passwd.byname",
and that's the end of that. The FreeBSD client goes on to try and get
the passwd.byname entry for my login, which succeeds. Nevertheless,
the login is refused. Here is a high-level packet trace:

  1   0.00000       toybox -> sunc         NIS C FIRST
  2   0.01581         sunc -> toybox       NIS R FIRST No such map
  3   0.00321       toybox -> sunc         NIS C MATCH mikebo in passwd.byname
  4   0.01115         sunc -> toybox       NIS R MATCH OK

If I take the SunOS map entry from my account, and massage it to fit
the format of the FreeBSD vipw, I am able to login just fine. This means
that the password encryption and comparison is working. (Yes, DES is
installed and working).

I really need netgroup security. Am I doing something wrong?
Is anyone else using NIS netgroup security successfully with this SNAP?
- Mike
-- 
--------------------------------------------------------------------------
Michael Borowiec   -   mikebo@tellabs.com   -   Tellabs Operations Inc.
Senior Member of Technical Staff                4951 Indiana Avenue, MS 63
708-512-8211  FAX: 708-512-7099                 Lisle, IL  60532  USA
--------------------------------------------------------------------------



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