HomeSort by: relevance | last modified time | path
    Searched refs:netgroup (Results 1 - 22 of 22) sorted by relevancy

  /src/usr.bin/netgroup/
Makefile 5 PROG= netgroup
netgroup.c 1 /* $NetBSD: netgroup.c,v 1.9 2016/09/03 05:58:30 dholland Exp $ */
33 __RCSID("$NetBSD: netgroup.c,v 1.9 2016/09/03 05:58:30 dholland Exp $");
38 #include <netgroup.h>
44 (void)fprintf(stderr, "usage: %s [-hud] <netgroup>\n", getprogname());
  /src/include/
netgroup.h 1 /* $NetBSD: netgroup.h,v 1.10 2009/10/21 01:07:45 snj Exp $ */
34 #define _PATH_NETGROUP "/etc/netgroup"
36 #define _PATH_NETGROUP_DB "/var/db/netgroup.db"
49 struct netgroup { struct
53 struct netgroup *ng_next; /* thread */
64 int _ng_parse(char **, char **, struct netgroup **);
65 void _ng_print(char *, size_t, const struct netgroup *);
Makefile 18 ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
  /src/etc/
nsswitch.conf 13 netgroup: files [notfound=return] nis key
25 # netgroup: files, nis
  /src/share/examples/emul/ultrix/etc/
svc.conf 17 netgroup=local # NOTE: Ultrix netgroup really only works with yp. key
  /src/usr.sbin/ypserv/revnetgroup/
revnetgroup.c 34 * reverse netgroup map generator program
62 /* Default location of netgroup file. */
63 const char *netgroup = "/etc/netgroup"; variable in typeref:typename:const char *
65 /* Stored hash table version of 'forward' netgroup database. */
69 * Stored hash table of 'reverse' netgroup member database
78 fprintf (stderr,"usage: %s -u|-h [-f netgroup file]\n", getprogname());
114 netgroup = optarg;
125 if (strcmp(netgroup, "-")) {
126 if ((fp = fopen(netgroup, "r")) == NULL)
    [all...]
  /src/distrib/utils/libhack/
getnetgr.c 12 #include <netgroup.h>
  /src/etc/rc.d/
sysdb 16 extra_commands="devdb utmp services netgroup password"
60 check_file /etc/netgroup /var/db/netgroup.db netgroup_mkdb
  /src/usr.bin/innetgr/
innetgr.c 38 #include <netgroup.h>
45 "usage: %s [-v] [-d domain] [-h host] [-u user] netgroup\n",
  /src/lib/libc/gen/
getnetgrent.c 44 #include <netgroup.h>
69 static struct netgroup *_nghead = NULL;
70 static struct netgroup *_nglist = NULL;
74 static struct netgroup *getnetgroup(char **);
78 struct netgroup *);
142 * getnetgroup(): Parse a netgroup, and advance the pointer
144 static struct netgroup *
147 struct netgroup *ng;
152 ng = malloc(sizeof(struct netgroup));
170 (void) fprintf(stderr, "netgroup %s\n", buf)
    [all...]
getpwent.c 105 #include <netgroup.h>
1677 COMPAT_NETGROUP /* parsing `+@netgroup' entries */
1879 * name in `+@netgroup'), look it up in the 'passwd_compat' nsswitch
1993 /* get next user from netgroup */
2108 case '@': /* `+@netgroup' */
2110 /* reset netgroup search */
2135 case '@': /* `-@netgroup' */
  /src/share/man/man5/
Makefile 13 monthly.5 motd.5 netconfig.5 netgroup.5 networks.5 nologin.5 \
  /src/usr.sbin/netgroup_mkdb/
netgroup_mkdb.c 47 #include <netgroup.h>
62 struct netgroup *_group;
135 /* Read and parse the netgroup file */
145 hdb = ng_reverse(ndb, offsetof(struct netgroup, ng_host));
154 udb = ng_reverse(ndb, offsetof(struct netgroup, ng_user));
197 * ng_load(): Load the netgroup database from a file
208 struct netgroup *ng;
211 /* Open the netgroup file */
243 warnx("Duplicate entry netgroup `%s'",
273 errx(1, "no netgroup key for %s", fmt)
    [all...]
  /src/usr.bin/getent/
getent.c 45 #include <netgroup.h>
75 static int netgroup(int, char *[]);
100 { "netgroup", netgroup, },
333 * netgroup
336 netgroup(int argc, char *argv[]) function in typeref:typename:int
349 warnx("Enumeration not supported on netgroup");
  /src/usr.bin/
Makefile 22 nbperf nc netgroup netstat newgrp newsyslog nfsstat nice nl nohup \
  /src/distrib/evbsh3/rom/ramdiskcommon/
ramdiskbin.conf 42 progs mkfifo mktemp msgc msgs netgroup netstat newsyslog nfsstat
  /src/usr.sbin/tcpdchk/
tcpdchk.c 60 # ifdef NETGROUP
61 # include <netgroup.h>
400 if (pat[0] == '@') { /* @netgroup */
437 if (pat[0] == '@') { /* @netgroup */
441 #ifdef NETGROUP
448 tcpd_warn("%s: unknown or empty netgroup", pat + 1);
451 tcpd_warn("netgroup support disabled");
  /src/lib/libwrap/
hosts_access.c 5 * host (or domain) names, NIS (host) netgroup names, IP addresses (or
49 #ifdef NETGROUP
50 #include <netgroup.h>
306 if (tok[0] == '@') { /* netgroup: look it up */
307 #ifdef NETGROUP
313 tcpd_warn("netgroup support is disabled"); /* not tcpd_jump() */
  /src/usr.sbin/timed/timed/
timed.c 61 #include <netgroup.h>
678 char perm) /* 1=not part of the netgroup */
722 /* if no netgroup, then we are finished */
726 /* Do not chatter with the netgroup master too often.
758 /* mark the entire netgroup as trusted */
  /src/lib/libc/net/
rcmd.c 53 #include <netgroup.h>
  /src/usr.sbin/mountd/
mountd.c 82 #include <netgroup.h>
939 "\"%s\", line %ld: No host in netgroup %s",
1108 * Host or netgroup.
1876 "\"%s\", line %ld: Bad netgroup type for ip host %s",
2032 syslog(LOG_ERR, "\"%s\", line %ld: Bad netgroup type",

Completed in 24 milliseconds