Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent.c51 #define SETNETGRENT_ARGS const char *netgroup
57 setnetgrent_p(netgroup, net_data); in setnetgrent()
68 #define INNETGR_ARGS const char *netgroup, const char *host, \
75 return (innetgr_p(netgroup, host, user, domain, net_data)); in innetgr()
99 setnetgrent_p(const char *netgroup, struct net_data *net_data) { in setnetgrent_p() argument
103 (*ng->rewind)(ng, netgroup); in setnetgrent_p()
118 innetgr_p(const char *netgroup, const char *host, in innetgr_p() argument
125 return ((*ng->test)(ng, netgroup, host, user, domain)); in innetgr_p()
H A Dgetnetgrent_r.c45 innetgr_r(const char *netgroup, const char *host, const char *user, in innetgr_r() argument
49 DE_CONST(netgroup, ng); in innetgr_r()
85 setnetgrent_r(NGR_R_SET_CONST char *netgroup, NGR_R_SET_ARGS) in setnetgrent_r() argument
87 setnetgrent_r(NGR_R_SET_CONST char *netgroup) in setnetgrent_r()
99 DE_CONST(netgroup, tmp); in setnetgrent_r()
H A Dnul_ng.c117 ng_rewind(struct irs_ng *this, const char *netgroup) { in ng_rewind() argument
119 UNUSED(netgroup); in ng_rewind()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c145 setnetgrent(const char *netgroup) in setnetgrent() argument
149 if (netgroup == NULL) { in setnetgrent()
151 netgroup = ""; in setnetgrent()
157 (void *)netgroup) != NSS_SUCCESS) { in setnetgrent()
164 args.netgroup = netgroup; in setnetgrent()
H A Dnss_dbdefs.c730 if (sng->netgroup == NULL) in nss_pack_key2str()
732 len = strlen(sng->netgroup) + 1; in nss_pack_key2str()
735 (void) strlcpy(buffer, sng->netgroup, len); in nss_pack_key2str()
1043 sng->netgroup = (const char *)bptr; in nss_upack_key2arg()
/titanic_41/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
/titanic_41/usr/src/cmd/ypcmd/
H A Dypxfr_2perday.sh38 ypxfr netgroup
39 ypxfr netgroup.byuser
40 ypxfr netgroup.byhost
/titanic_41/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);
/titanic_41/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()
/titanic_41/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);
/titanic_41/usr/src/cmd/netfiles/
H A Dnsswitch.files45 # At present there isn't a 'files' backend for netgroup; the system will
47 netgroup: files
H A Dnsswitch.conf43 netgroup: files
H A Dnsswitch.dns57 # At present there isn't a 'files' backend for netgroup; the system will
59 netgroup: files
H A Dnsswitch.ad64 # At present there isn't a 'files' backend for netgroup; the system will
66 netgroup: files
H A Dnsswitch.ldap54 netgroup: ldap
H A Dnsswitch.nis54 netgroup: nis
/titanic_41/usr/src/cmd/ssh/include/
H A Dbsd-misc.h54 int innetgr(const char *netgroup, const char *host,
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-misc.c59 int innetgr(const char *netgroup, const char *host, in innetgr() argument
/titanic_41/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;
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/
H A DMakefile34 LOCAL = mountd.o netgroup.o rmtab.o nfsauth.o \
/titanic_41/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh135 netgroup )
136 MAP=${N2LPREFIX}netgroup
437 SRCFILE=netgroup
889 ${N2LPREFIX}netgroup )
/titanic_41/usr/src/man/man4/
H A DMakefile120 netgroup.4 \
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2672 if ((data.netgroup = calloc(1, sizeof (char **))) in genent_netgroup()
2678 data.netgroup[netgcount++] = in genent_netgroup()
2722 strcmp(t, data.netgroup[i]); i++) in genent_netgroup()
2729 if ((data.netgroup = (char **)realloc(data.netgroup, in genent_netgroup()
2735 data.netgroup[netgcount-1] = netg_tmp; in genent_netgroup()
2746 if ((data.netgroup = (char **)realloc(data.netgroup, in genent_netgroup()
2751 data.netgroup[netgcount] = NULL; in genent_netgroup()
2780 free(data.netgroup[i]); in genent_netgroup()
2785 free(data.netgroup); in genent_netgroup()
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_sldap.h416 char **netgroup; member

12