Searched refs:netgroup (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfr_2perday.sh38 ypxfr netgroup
39 ypxfr netgroup.byuser
40 ypxfr netgroup.byhost
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent.c51 #define SETNETGRENT_ARGS const char *netgroup
57 setnetgrent_p(netgroup, net_data);
68 #define INNETGR_ARGS const char *netgroup, const char *host, \
75 return (innetgr_p(netgroup, host, user, domain, net_data));
99 setnetgrent_p(const char *netgroup, struct net_data *net_data) { argument
103 (*ng->rewind)(ng, netgroup);
118 innetgr_p(const char *netgroup, const char *host, argument
125 return ((*ng->test)(ng, netgroup, host, user, domain));
H A Dgetnetgrent_r.c45 innetgr_r(const char *netgroup, const char *host, const char *user, argument
49 DE_CONST(netgroup, ng);
85 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS) argument
87 setnetgrent_r(NGR_R_SET_CONST char *netgroup)
99 DE_CONST(netgroup, tmp);
H A Dnul_ng.c24 * nul_ng.c - the netgroup accessor null map
117 ng_rewind(struct irs_ng *this, const char *netgroup) { argument
119 UNUSED(netgroup);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c32 * - name-service switch frontend routines for the netgroup API.
35 * If netgroup A refers to netgroup B, both must occur in the same
44 * important for mountd, which used to read YP netgroup.byhost directly in
68 * The netgroup routines aren't quite like the majority of the switch clients.
70 * - setnetgrent("netgroup") is really a getXXXbyYYY routine, i.e. it
78 * If we were certain that all the backends could provide netgroup information
145 setnetgrent(const char *netgroup) argument
149 if (netgroup == NULL) {
151 netgroup
[all...]
H A Dnss_dbdefs.c271 NSS_MK_GETXYDBOP(NETGROUP, IN, "netgroup", "t"),
272 NSS_MK_GETXYDBOP(NETGROUP, SET, "netgroup", "T"),
730 if (sng->netgroup == NULL)
732 len = strlen(sng->netgroup) + 1;
735 (void) strlcpy(buffer, sng->netgroup, len);
1043 sng->netgroup = (const char *)bptr;
/illumos-gate/usr/src/cmd/netfiles/
H A Dnsswitch.conf41 # At present there isn't a 'files' backend for netgroup; the system will
43 netgroup: files
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dsunw_port_after.h21 void setnetgrent(const char *netgroup);
H A Dport_after.h349 NGR_R_SET_RETURN setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS);
351 NGR_R_SET_RETURN setnetgrent_r(NGR_R_SET_CONST char *netgroup);
435 void setnetgrent(const char *netgroup);
444 int innetgr(const char *netgroup, const char *machine,
450 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS);
453 setnetgrent_r(NGR_R_SET_CONST char *netgroup);
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile82 netgroup bootparams aliases publickey netid netmasks c2secure \
221 netgroup.time: $(DIR)/netgroup
222 @$(MAKEDBM) $(DIR)/netgroup $(YPDBDIR)/$(DOM)/netgroup
223 @($(REVNETGROUP) < $(DIR)/netgroup -u $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/netgroup.byuser
224 @($(REVNETGROUP) < $(DIR)/netgroup -h $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/netgroup.byhost
225 @touch netgroup
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c27 * nis/getnetgrent.c -- "nis" backend for nsswitch "netgroup" database
35 * of traversing the netgroup graph and building a (potentially large)
39 * the netgroup graph in response to getnetgrent() calls (though
40 * setnetgrent() should still check for the top-level netgroup name
55 * netgroup frontend a pointer to one of these structures in response to
69 char *netgroup; member in struct:nis_getnetgr_be
84 const char *netgroup = (const char *) a; local
86 if (be->netgroup != 0 &&
87 strcmp(be->netgroup, netgroup)
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A DMakefile34 LOCAL = mountd.o netgroup.o rmtab.o nfsauth.o \
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c30 /* netgroup attributes filters */
69 char *netgroup; member in struct:__anon4253
96 * Adds a name to the netgroup table
373 /* Special case for finding a single user in a netgroup */
419 /* Special case for finding a single host in a netgroup */
546 * top_down_search checks only checks the netgroup specified in netgrname
570 syslog(LOG_DEBUG, "nss_ldap: top_down_search: netgroup loop "
585 /* searching for current netgroup name entry */
631 * __netgr_in checks only checks the netgroup specified in ngroup
643 "netgroup
687 const char *netgroup = (const char *) a; local
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c198 netgr_set(be, netgroup)
200 const char *netgroup;
204 * for the same-netgroup-as-last-time case
209 (void *) netgroup) != NSS_SUCCESS) {
217 args.netgroup = netgroup;
291 * once per input line (at present, "+" and "+@netgroup" entries
404 /* ===> ?? netgroup stuff? */
854 * Process "+", "+name", "+@netgroup", "-name" or "-@netgroup"
[all...]
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh135 netgroup )
136 MAP=${N2LPREFIX}netgroup
437 SRCFILE=netgroup
745 netgroup
769 ${N2LPREFIX}netgroup
889 ${N2LPREFIX}netgroup )
/illumos-gate/usr/src/man/man4/
H A DMakefile125 netgroup.4 \
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2573 * /etc/netgroup
2575 * col 0: netgroup name (or cname)
2576 * col 1: netgroup member, if this is a triplet
2577 * col 2: netgroup member, if not a triplet
2584 char buf[BIGBUF+1]; /* netgroup entries tend to be big */
2636 gettext("no members for netgroup"), PARSE_ERR_MSG_LEN);
2672 if ((data.netgroup = calloc(1, sizeof (char **)))
2678 data.netgroup[netgcount++] =
2683 * we now have a valid entry (at least 1 netgroup name and
2684 * 1 netgroup membe
[all...]
H A Didsconfig.sh3973 _INDEX16="${LDAP_DOMAIN}.getngrpent;${LDAP_DOMAIN}_netgroup_vlv_index;ou=netgroup;objectClass=nisNetgroup"
4889 for ou in people group rpc protocols networks netgroup \
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h416 char **netgroup; member in struct:_ns_netgroups
471 #define NS_LDAP_TYPE_NETGROUP "netgroup"
H A Dns_writes.c2648 if (ptr->netgroup && ptr->netgroup[0]) {
2649 nm = ptr->netgroup;
2658 nm[j] = ptr->netgroup[j];
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h69 #define NSS_DBNAM_NETGROUP "netgroup"
237 * that can supply a netgroup entry as a string in /etc/group format
281 * The netgroup routines are handled as follows:
284 * If netgroup A refers to netgroup B, both must occur in the same
289 * it takes a name and finds a netgroup with that name (see the
292 * one to enumerate the members of that netgroup.
303 * important for mountd, which used to read YP netgroup.byhost directly
331 const char *netgroup; member in struct:nss_setnetgrent_args
781 * The "real" backend for netgroup (__multi_innetg
[all...]

Completed in 112 milliseconds