Bill Paul d0ef66889a Some changes for YP password map handling:
- FreeBSD's NIS server can supply a master.passwd map, which has
  more fields in it than a standard passwd map, so we need a
  _master_pw_breakout() fuction.

- When doing passwd map lookups, look for master.passwd.* by attempting
  a _yp_first() on master.passwd.byname. If it exists, we're being served
  by a FreeBSD NIS server and we should use this map.

- If we aren't the superuser, retrieve only the standard passwd maps.
  If we're being served by a FreeBSD system, then the passwd map has
  no passwords in it, and it won't serve us the master.passwd map unless
  we're superuser anyway.

There's a small speed hit for the superuser inherent in the check for
the master.passwd map, but this lets us dynamically decide what to do
rather than rely on a non-standard config file somewhere. Since all
of this is bypassed for normal users, they shouldn't notice the
difference.
1995-01-31 10:04:18 +00:00
..
1994-12-10 23:02:33 +00:00
1994-10-12 02:06:02 +00:00
1994-10-26 18:17:41 +00:00
1994-10-26 18:15:35 +00:00
1994-11-07 19:54:55 +00:00
1995-01-24 00:13:56 +00:00
1994-12-10 22:56:53 +00:00
1994-05-27 05:00:24 +00:00
1994-10-27 18:15:42 +00:00
1995-01-23 18:56:40 +00:00
1994-08-08 19:26:23 +00:00
1994-12-10 22:01:25 +00:00
1994-09-24 02:59:15 +00:00
1994-05-27 05:00:24 +00:00
1995-01-24 12:10:42 +00:00