Home
last modified time | relevance | path

Searched refs:netgroup (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent.c47 #define SETNETGRENT_ARGS const char *netgroup
53 setnetgrent_p(netgroup, net_data); in setnetgrent()
64 #define INNETGR_ARGS const char *netgroup, const char *host, \
71 return (innetgr_p(netgroup, host, user, domain, net_data)); in innetgr()
95 setnetgrent_p(const char *netgroup, struct net_data *net_data) { in setnetgrent_p() argument
99 (*ng->rewind)(ng, netgroup); in setnetgrent_p()
114 innetgr_p(const char *netgroup, const char *host, in innetgr_p() argument
121 return ((*ng->test)(ng, netgroup, host, user, domain)); in innetgr_p()
H A Dgetnetgrent_r.c41 innetgr_r(const char *netgroup, const char *host, const char *user, in innetgr_r() argument
45 DE_CONST(netgroup, ng); in innetgr_r()
81 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS) in setnetgrent_r() argument
83 setnetgrent_r(NGR_R_SET_CONST char *netgroup) in setnetgrent_r()
95 DE_CONST(netgroup, tmp); in setnetgrent_r()
H A Dnul_ng.c113 ng_rewind(struct irs_ng *this, const char *netgroup) { in ng_rewind() argument
115 UNUSED(netgroup); in ng_rewind()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c143 setnetgrent(const char *netgroup) in setnetgrent() argument
147 if (netgroup == NULL) { in setnetgrent()
149 netgroup = ""; in setnetgrent()
155 (void *)netgroup) != NSS_SUCCESS) { in setnetgrent()
162 args.netgroup = netgroup; in setnetgrent()
H A Dnss_dbdefs.c729 if (sng->netgroup == NULL) in nss_pack_key2str()
731 len = strlen(sng->netgroup) + 1; in nss_pack_key2str()
734 (void) strlcpy(buffer, sng->netgroup, len); in nss_pack_key2str()
1040 sng->netgroup = (const char *)bptr; in nss_upack_key2arg()
/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.time;
227 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netgroup; fi
228 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netgroup.byuser; fi
229 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) netgroup.byhost; fi
463 netgroup: netgroup.time target
/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/nsswitch/files/common/
H A Dgetnetgrent.c254 char *netgroup; member
267 const char *netgroup = (const char *) a; in getnetgr_set() local
269 if (be->netgroup != NULL && in getnetgr_set()
270 strcmp(be->netgroup, netgroup) == 0) { in getnetgr_set()
332 free(be->netgroup); in getnetgr_end()
333 be->netgroup = NULL; in getnetgr_end()
717 res = top_down(be, &args->netgroup, 1, save_triple, in netgr_set()
723 get_be->netgroup = strdup(args->netgroup); in netgr_set()
724 if (get_be->netgroup == NULL) { in netgr_set()
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c69 char *netgroup; member
84 const char *netgroup = (const char *) a; local
86 if (be->netgroup != 0 &&
87 strcmp(be->netgroup, netgroup) == 0) {
156 if (be->netgroup != 0) {
157 free(be->netgroup);
158 be->netgroup = 0;
562 res = top_down(be, &args->netgroup, 1, save_triple,
569 get_be->netgroup = strdup(args->netgroup);
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c69 char *netgroup; member
687 const char *netgroup = (const char *) a; in getnetgr_ldap_setent() local
695 if (cookie != NULL && cookie->netgroup != NULL) { in getnetgr_ldap_setent()
697 if (strcmp(cookie->netgroup, netgroup) == 0) in getnetgr_ldap_setent()
718 free(p->netgroup); in free_getnetgrent_cookie()
943 "\targs->netgroup: %s\n", ISNULL(args->netgroup)); in netgr_set()
946 if (args->netgroup == NULL) in netgr_set()
953 p->netgroup = strdup(args->netgroup); in netgr_set()
954 if (p->netgroup == NULL) { in netgr_set()
958 if (add_netgroup_name(args->netgroup, &p->tab) == -1) { in netgr_set()
/illumos-gate/usr/src/lib/libresolv2/include/
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);
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);
H A Dsunw_port_after.h21 void setnetgrent(const char *netgroup);
/illumos-gate/usr/src/cmd/netfiles/
H A Dnsswitch.conf41 netgroup: files
H A Dnsswitch.files44 netgroup: files
H A Dnsswitch.ldap53 netgroup: files ldap
H A Dnsswitch.nis53 netgroup: files nis
H A Dnsswitch.dns56 netgroup: files
H A Dnsswitch.ad64 netgroup: files
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c198 netgr_set(be, netgroup) in netgr_set() argument
200 const char *netgroup;
209 (void *) netgroup) != NSS_SUCCESS) {
217 args.netgroup = netgroup;
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A DMakefile36 LOCAL = mountd.o netgroup.o rmtab.o nfsauth.o \
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh135 netgroup )
136 MAP=${N2LPREFIX}netgroup
437 SRCFILE=netgroup
889 ${N2LPREFIX}netgroup )
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2674 if ((data.netgroup = calloc(1, sizeof (char **))) in genent_netgroup()
2680 data.netgroup[netgcount++] = in genent_netgroup()
2724 strcmp(t, data.netgroup[i]); i++) in genent_netgroup()
2731 if ((data.netgroup = (char **)realloc(data.netgroup, in genent_netgroup()
2737 data.netgroup[netgcount-1] = netg_tmp; in genent_netgroup()
2748 if ((data.netgroup = (char **)realloc(data.netgroup, in genent_netgroup()
2753 data.netgroup[netgcount] = NULL; in genent_netgroup()
2782 free(data.netgroup[i]); in genent_netgroup()
2787 free(data.netgroup); in genent_netgroup()
/illumos-gate/usr/src/man/man5/
H A DMakefile117 netgroup.5 \
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h334 const char *netgroup; member
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h417 char **netgroup; member

12