Lines Matching defs:netgroup

58  * the ability to use a local /etc/netgroup file. Unfortunately, you
60 * NetBSD deals with this problem by creating a netgroup database
62 * for lookups using netgroup, netgroup.byuser or netgroup.byhost
65 * if we DB-fied the group and netgroup stuff all in one shot, but
72 * - If /etc/netgroup does not exist and NIS is turned on, we use
75 * - If /etc/netgroup exists but is empty, we use NIS netgroups
78 * - If /etc/netgroup exists and contains _only_ a '+', we use
81 * - If /etc/netgroup exists, contains locally defined netgroups
84 * NIS alone, but it will be slower if the NIS netgroup database
87 * using just the raw netgroup data).
89 * - If /etc/netgroup exists and contains only locally defined
90 * netgroup entries, we use just those local entries and ignore
107 #define _PATH_NETGROUP "/etc/netgroup"
126 * - netgrp is the list of entries for the current netgroup
131 char *l_groupname; /* Name of netgroup */
173 #define LINSIZ 1024 /* Length of netgroup file line */
321 * Parse the netgroup file looking for the netgroup and build the list
349 * If /etc/netgroup doesn't exist or is empty,
358 * Icky: grab the first character of the netgroup file
527 * Search for a match in a netgroup.
555 * NIS 'reverse netgroup' lookups.
557 * What happens with 'reverse netgroup' lookups:
559 * 1) try 'reverse netgroup' lookup
561 * look in netgroup.byhost
565 * look in netgroup.byuser
569 * don't do 'reverse netgroup' lookup. It won't work.
571 * don't do 'reverse netgroup' lookup either.
581 host?"netgroup.byhost":"netgroup.byuser",
671 * Parse the netgroup file setting up the linked lists.
703 fprintf(stderr, "Cycle in netgroup %s\n", lp->l_groupname);
726 * return NULL for empty netgroup
759 * Note: on other platforms, malformed netgroup
766 "Bad entry (%s%s%s%s%s) in netgroup \"%s\"\n",
789 * Read the netgroup file and save lines until the line for the netgroup
813 if (yp_match(_netgr_yp_domain, "netgroup", group,
918 * us to make more than one pass through the netgroup file.
987 setnetgrent(const char *netgroup)
991 defaultsrc, netgroup);
1003 innetgr(const char *netgroup, const char *host, const char *user,
1014 netgroup, host, user, domain);