Home
last modified time | relevance | path

Searched refs:nis (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dnis.c59 struct nis_p *nis; in irs_nis_acc() local
67 if (!(nis = memget(sizeof *nis))) { in irs_nis_acc()
71 memset(nis, 0, sizeof *nis); in irs_nis_acc()
73 memput(nis, sizeof *nis); in irs_nis_acc()
120 return (nis->res); in nis_res_get()
128 if (nis->res && nis->free_res) { in nis_res_set()
130 (*nis->free_res)(nis->res); in nis_res_set()
133 nis->res = res; in nis_res_set()
141 if (nis->res && nis->free_res) in nis_close()
142 (*nis->free_res)(nis->res); in nis_close()
[all …]
/illumos-gate/usr/src/cmd/netfiles/
H A Dnsswitch.nis24 # /etc/nsswitch.nis:
36 passwd: files nis
37 group: files nis
39 hosts: files nis
43 ipnodes: files nis
45 networks: files nis
46 protocols: files nis
47 rpc: files nis
48 ethers: files nis
49 netmasks: files nis
[all …]
/illumos-gate/usr/src/lib/libnsl/
H A DMakefile40 nis/gen/nis_clnt.h
45 $(PROTOCOL_DIR)/nis.x \
46 $(PROTOCOL_DIR)/nis.h \
102 $(PROTOCOL_DIR)/nis.h: $(PROTOCOL_SRCDIR)/nis.x $(PROTOCOL_SRCDIR)/nis_object.x
103 $(RPCGEN) -C -h $(PROTOCOL_SRCDIR)/nis.x > nis-tmp.h
104 $(SED) -e '/EDIT_START/,$$ d' < nis-tmp.h > nis.h
106 $(INS) -s -m $(FILEMODE) -f $(@D) nis.h
107 $(RM) nis.h nis-tmp.h
120 nis/gen/nis_clnt.h: $(PROTOCOL_DIR)/nis.x $(PROTOCOL_DIR)/nis_object.x
121 $(RPCGEN) -C -h $(PROTOCOL_DIR)/nis.x > nis_clnt-gen.h
[all …]
H A DMakefile.com152 pics/%.o: ../nis/gen/%.c ../nis/gen/nis_clnt.h
157 pics/%.o: ../nis/gen/nis_clnt.h
223 $(NIS_GEN:%.o=../nis/gen/%.c) \
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypinit.sh343 enable_this_boot network/nis/client:default
345 enable_next_boot network/nis/client:default
356 /usr/sbin/svcadm disable network/nis/server:default
357 /usr/sbin/svcadm disable network/nis/xfr:default
475 enable_this_boot network/nis/server:default
477 enable_this_boot network/nis/client:default
546 enable_this_boot network/nis/server:default
547 enable_this_boot network/nis/xfr:default
548 enable_this_boot network/nis/passwd:default
549 enable_this_boot network/nis/update:default
[all …]
H A Dypstart.sh52 state=`/usr/bin/svcprop -p restarter/state network/nis/server:default`
58 enable svc:/network/nis/server:default && echo " ypserv\c"
74 state=`/usr/bin/svcprop -p restarter/state network/nis/client:default`
80 enable svc:/network/nis/client:default && echo " ypbind\c"
91 enable svc:/network/nis/xfr:default && echo " ypxfrd\c"
92 enable svc:/network/nis/passwd:default &&
96 enable svc:/network/nis/update:default &&
H A Dypstop.sh30 /usr/sbin/svcadm disable -t svc:/network/nis/$svc:default
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dniprop.c73 ni_status nis; variable
116 nis = ni_open(NULL, LOCAL_NETINFO_DOMAIN, &ni);
119 sm_dprintf("ni_open(LOCAL) = %d\n", nis);
127 nis = ni_open(lastni, PARENT_NETINFO_DOMAIN, &ni);
130 sm_dprintf("ni_open(PARENT) = %d\n", nis);
142 if (nis != 0)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dcleanup.ksh35 USES_NIS=$(cat /tmp/zfs-xattr-test-nis.txt)
36 rm /tmp/zfs-xattr-test-nis.txt
42 svcadm enable svc:/network/nis/client:default
H A Dsetup.ksh35 svcs svc:/network/nis/client:default | grep online > /dev/null
38 svcadm disable -t svc:/network/nis/client:default
61 echo $USES_NIS > /tmp/zfs-xattr-test-nis.txt
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dcleanup.ksh37 USES_NIS=$(cat /tmp/zfs-privs-test-nis.txt)
41 svcadm enable svc:/network/nis/client:default
46 rm /tmp/zfs-privs-test-nis.txt
H A Dsetup.ksh43 svcs svc:/network/nis/client:default | grep online > /dev/null
46 svcadm disable svc:/network/nis/client:default
70 echo $USES_NIS > /tmp/zfs-privs-test-nis.txt
/illumos-gate/usr/src/lib/passwdutil/
H A Dnis_attr.c106 nis_to_pwd(char *nis, struct passwd *pwd) in nis_to_pwd() argument
108 pwd->pw_name = strsep(&nis, ":"); in nis_to_pwd()
109 pwd->pw_passwd = strsep(&nis, ":"); in nis_to_pwd()
110 pwd->pw_uid = atoi(strsep(&nis, ":")); in nis_to_pwd()
111 pwd->pw_gid = atoi(strsep(&nis, ":")); in nis_to_pwd()
112 pwd->pw_gecos = strsep(&nis, ":"); in nis_to_pwd()
113 pwd->pw_dir = strsep(&nis, ":"); in nis_to_pwd()
114 pwd->pw_shell = nis; in nis_to_pwd()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dsetup.ksh38 if [[ "ON" == $(svcs -H -o sta svc:/network/nis/client:default) ]]; then
39 log_must svcadm disable -t svc:/network/nis/client:default
H A Dcleanup.ksh38 log_must svcadm enable svc:/network/nis/client:default
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-network-nis.p5m27 set name=pkg.fmri value=pkg:/service/network/nis@$(PKGVERS)
41 dir path=lib/svc/manifest/network/nis group=sys
42 file path=lib/svc/manifest/network/nis/passwd.xml group=sys mode=0444
43 file path=lib/svc/manifest/network/nis/server.xml group=sys mode=0444
44 file path=lib/svc/manifest/network/nis/update.xml group=sys mode=0444
45 file path=lib/svc/manifest/network/nis/xfr.xml group=sys mode=0444
H A Dsystem-network-nis.p5m28 set name=pkg.fmri value=pkg:/system/network/nis@$(PKGVERS)
36 file path=etc/nsswitch.nis group=sys
42 dir path=lib/svc/manifest/network/nis group=sys
43 file path=lib/svc/manifest/network/nis/client.xml group=sys mode=0444
60 dir path=usr/lib/netsvc/nis group=sys
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dsetup.ksh39 if [[ "ON" == $(svcs -H -o sta svc:/network/nis/client:default) ]]; then
40 log_must svcadm disable -t svc:/network/nis/client:default
H A Dcleanup.ksh39 log_must svcadm enable svc:/network/nis/client:default
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dsetup.ksh39 if [[ "ON" == $(svcs -H -o sta svc:/network/nis/client:default) ]]; then
40 log_must svcadm disable -t svc:/network/nis/client:default
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
H A Dsetup.ksh39 if [[ "ON" == $(svcs -H -o sta svc:/network/nis/client:default) ]]; then
40 log_must svcadm disable -t svc:/network/nis/client:default
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-hostname.sh164 nis)
174 nis)
/illumos-gate/usr/src/cmd/svc/seed/
H A DMakefile51 network/nis \
119 network/nis/client.xml \
120 network/nis/server.xml \
245 $(MFST_ROOT)/network/nis/%: ../../ypcmd/%
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-nwam342 $SVCADM disable nis/client
362 NIS_CONFIGSRC=`nwam_get_loc_prop Legacy nis-nameservice-configsrc`
363 NIS_SERVERS=`nwam_get_loc_prop Legacy nis-nameservice-servers`
373 $SVCADM enable nis/client
/illumos-gate/usr/src/head/
H A DMakefile282 nis.h \
441 rpcsvc/nis.h: rpcsvc/nis.x
442 $(RPCGEN) $(RPCGENFLAGS) rpcsvc/nis.x |\

12