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

1 2

  /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
25 # netgroup: files, nis
  /src/share/examples/emul/ultrix/etc/
svc.conf 17 netgroup=local # NOTE: Ultrix netgroup really only works with yp.
  /src/external/bsd/libbind/dist/irs/
getnetgrent.c 53 #define SETNETGRENT_ARGS const char *netgroup
59 setnetgrent_p(netgroup, net_data);
70 #define INNETGR_ARGS const char *netgroup, const char *host, \
77 return (innetgr_p(netgroup, host, user, domain, net_data));
101 setnetgrent_p(const char *netgroup, struct net_data *net_data) {
105 (*ng->rewind)(ng, netgroup);
120 innetgr_p(const char *netgroup, const char *host,
127 return ((*ng->test)(ng, netgroup, host, user, domain));
getnetgrent_r.c 47 innetgr_r(const char *netgroup, const char *host, const char *user,
51 DE_CONST(netgroup, ng);
87 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS)
89 setnetgrent_r(NGR_R_SET_CONST char *netgroup)
101 DE_CONST(netgroup, tmp);
nul_ng.c 26 * nul_ng.c - the netgroup accessor null map
119 ng_rewind(struct irs_ng *this, const char *netgroup) {
121 UNUSED(netgroup);
  /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
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/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
netgroup.c 1 /* $NetBSD: netgroup.c,v 1.4 2025/09/05 21:16:17 christos Exp $ */
3 /* netgroup.c - netgroup lookup routines */
29 * DESC 'Abstraction of a netgroup. May refer to other netgroups'
45 NSSOV_INIT(netgroup)
47 NSSOV_CBPRIV(netgroup,
160 /* get the netgroup triples and member */
163 /* write the netgroup triples */
172 /* write netgroup members */
179 /* write netgroup name *
    [all...]
Makefile 52 OBJS = alias.lo ether.lo group.lo host.lo netgroup.lo network.lo \
  /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...]
  /src/share/man/man5/
Makefile 15 monthly.5 motd.5 netconfig.5 netgroup.5 networks.5 nologin.5 \
  /src/external/bsd/libbind/dist/
port_after.h.in 346 NGR_R_SET_RETURN setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS);
348 NGR_R_SET_RETURN setnetgrent_r(NGR_R_SET_CONST char *netgroup);
431 void setnetgrent(const char *netgroup);
439 int innetgr(const char *netgroup, const char *machine,
445 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS);
448 setnetgrent_r(NGR_R_SET_CONST char *netgroup);
  /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/
Makefile 22 nbperf nc netgroup netstat newgrp newsyslog nice nl nohup \
  /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
349 warnx("Enumeration not supported on netgroup");
  /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 */

Completed in 52 milliseconds

1 2