aboutsummaryrefslogtreecommitdiff
path: root/libexec/mknetid
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-296-6/+6
| | | | Notes: svn path=/stable/3/; revision=50572
* Fixed printf format errors.Bruce Evans1998-06-301-2/+2
| | | | Notes: svn path=/head/; revision=37297
* Fix typo.Robert Nordier1998-05-051-2/+2
| | | | | | | Pointed out by: Junji SAKAI <sakai.jp.freebsd.org> PR 5621 Notes: svn path=/head/; revision=35727
* .Sh AUTHOR -. .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-2/+2
| | | | Notes: svn path=/head/; revision=34670
* Cosmetic in usage string.Philippe Charnier1997-12-151-2/+2
| | | | Notes: svn path=/head/; revision=31737
* Cosmetics in usage() and man page.Philippe Charnier1997-11-244-59/+60
| | | | Notes: svn path=/head/; revision=31385
* Small tweak to the group parsing code to stop it from core dumpingBill Paul1997-05-211-1/+3
| | | | | | | | | | on malformed /etc/group entries. This is a band-aid until I can pull in the newer group parsing code from getgrent . Pointed out by: branson@belmakor.hq.ferg.com (Branson Matheson) Notes: svn path=/head/; revision=25969
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-3/+3
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-226-8/+8
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-146-8/+8
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Nuke a couple of useless lines of code from the /etc/netid parsingBill Paul1996-10-241-4/+2
| | | | | | | section. (Cut & paste-o.) Notes: svn path=/head/; revision=19143
* Include <sys/types.h> before including <grp.h> so that this doesn'tBruce Evans1996-07-121-9/+13
| | | | | | | | | depend on <stdio.h> bogusly including <sys/types.h> Reordered includes to satisfy KNF rules. Notes: svn path=/head/; revision=17115
* Improve performance with very large user databases by increasingBill Paul1996-06-272-9/+9
| | | | | | | | | | | | hash table size from 256 to 1024. Generate output that looks more like the SunOS mknetid: uses a space instead of tabs for white space. Fix typo in comment in hash.h: Groupit -> Groupid. Notes: svn path=/head/; revision=16793
* (This import had better work correctly or so help me I'll move toBill Paul1996-06-256-0/+838
the Himalayas and become a hermit.) Import new mknetid program. This replaces the crufty, soon to be defunct mknetid script packaged with ypserv. This program parses the group, passwd, hosts and netid databases into the netid.byname map. Duplicate checking is performed using hash tables. Testing on my 486DX2/66 with FreeBSD 2.1.0 showed that this program can process a 30,000-entry passwd database into a netid map (along with assorted group and hosts information) in about 22 seconds. On my SPARC IPX with SunOS 4.1.3, it takes about 15 seconds. This compares favorably with the SunOS mknetid program, which parses the same database(s) in 13 seconds. (With smaller databases, my program is actually slightly faster. Go figure.) Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=16728