<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/pwd.h, branch release/4.6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F4.6.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F4.6.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1999-01-18T02:14:20Z</updated>
<entry>
<title>Use the correct type for uid and gid in struct passwd. Document it.</title>
<updated>1999-01-18T02:14:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-01-18T02:14:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a135bdb9a089d053c32961f1b675e630c37b1988'/>
<id>urn:sha1:a135bdb9a089d053c32961f1b675e630c37b1988</id>
<content type='text'>
</content>
</entry>
<entry>
<title>XOpen says the void setpwent(void) is correct.  Also call setpassent(0)</title>
<updated>1998-02-01T06:16:08Z</updated>
<author>
<name>Steve Price</name>
<email>steve@FreeBSD.org</email>
</author>
<published>1998-02-01T06:16:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e645a20cbef8049ee3a801d35df2fe7c20dc79f'/>
<id>urn:sha1:2e645a20cbef8049ee3a801d35df2fe7c20dc79f</id>
<content type='text'>
instead of duplicating code, albeit trivial (inspired by NetBSD).

PR:		5524
</content>
</entry>
<entry>
<title>NIS cleanups and fixes, the next generation.</title>
<updated>1996-04-16T00:22:41Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1996-04-16T00:22:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94c53e1fb53d8ba82d26729420a318fa7e6304aa'/>
<id>urn:sha1:94c53e1fb53d8ba82d26729420a318fa7e6304aa</id>
<content type='text'>
getnetgrent.c:

- Catch one bogon that snuck by: in _listmatch(), check for '\0'
  rather than '\n'; strings returned from yp_match() are terminated
  with a nul, not a newline.

getpwent.c:

- Rip out all of the +inclusion/-exclusion stuff from before and
  replace it with something a little less grotty. The main problem
  with the old mechanism was that it wasted many cycles processing
  NIS entries even after it already knew they were to be exlcuded
  (or not included, depending on your pointof view). The highlights
  of these changes include:

  o Uses an in-memory hash database table to keep track of all the
    -@netgroup, -user, and -@group exclusions.

  o Tries harder to duplicate the behavior normally obtained when using
    NIS inclusions/exclusions on a flat /etc/passwd file (meaning things
    come out in much the same order).

  o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid()
    operations instead of trying to do everything with one general
    function, which didn't work as well as I thought it would.

  o Uses both getnetgrent() and innetgr() to try to save time where
    possible.

  o Use only one special token in the local password database
    (_PW_KEYYPBYNUM) instead of seperate tokens to mark + and -
    entries (and stop using the counter tokens too). If this new
    token doesn't exist, the code will make due with the standard
    _PW_KEYBYNUM token in order to support older databases that
    won't have the new token in them.

  All this is an attempt to make this stuff work better in environments
  with large NIS passwd databases.
</content>
</entry>
<entry>
<title>Add a couple of extra #defines for special keys to be embedded in the</title>
<updated>1995-03-23T00:08:00Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1995-03-23T00:08:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e13e2475dcd543f932516aa8307482af14000417'/>
<id>urn:sha1:e13e2475dcd543f932516aa8307482af14000417</id>
<content type='text'>
password databases:

#define _PW_KEYPLUSBYNUM        '5'     /* special +@netgroup entries */
#define _PW_KEYMINUSBYNUM       '6'     /* special -@netgroup entries */
#define _PW_KEYPLUSCNT          '7'     /* number of +@netgroup entries */
#define _PW_KEYMINUSCNT         '8'     /* number of -@netgroup entries */

This is to help getpwent.c in libc build the +@netgroup/-@netgroup
caches.
</content>
</entry>
<entry>
<title>Add a new field to the passwd structure, indicating which of the fields have</title>
<updated>1994-09-20T01:12:04Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>1994-09-20T01:12:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6913240fbc01d14bb035031e46f07e3be7d2ed3c'/>
<id>urn:sha1:6913240fbc01d14bb035031e46f07e3be7d2ed3c</id>
<content type='text'>
something in them, and which ones were left blank.  This will be used
for YP support in a few minutes, and for user login classes if anyone cares
to implement them.
</content>
</entry>
<entry>
<title>Add defines to allow pwd_mkdb to build databases in a specified</title>
<updated>1994-09-07T22:58:26Z</updated>
<author>
<name>Gary Palmer</name>
<email>gpalmer@FreeBSD.org</email>
</author>
<published>1994-09-07T22:58:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2069b09ad30a656dbfd30a2dec1ebc56ff564a3c'/>
<id>urn:sha1:2069b09ad30a656dbfd30a2dec1ebc56ff564a3c</id>
<content type='text'>
directory - removing the need to hardcode /etc into pwd_mkdb
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Include Sources</title>
<updated>1994-05-24T09:57:34Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-24T09:57:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59deaec541ae8baaa58daf6c5a2196ea7de180c3'/>
<id>urn:sha1:59deaec541ae8baaa58daf6c5a2196ea7de180c3</id>
<content type='text'>
</content>
</entry>
</feed>
