Searched refs:rhost (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/bsd/am-utils/dist/amd/
H A Dinfo_passwd.c72 * "type:=nfs;rfs:=/${var0}/${var1};rhost:=${var1};sublink:=${var2};fs:=${autodir}${var3}"
110 * rfs:=/anydir/dom3;rhost:=dom3.dom2.dom1;sublink:=user
113 * var1:=pw-rhost:=dom3.dom2.dom1
123 char rhost[MAXHOSTNAMELEN]; local
144 * Copy, backwards, into rhost replacing
147 rhost[0] = '\0';
151 xstrlcat(rhost, q + 1, sizeof(rhost));
152 xstrlcat(rhost, ".", sizeof(rhost));
[all...]
H A Dops_lustre.c82 char *rhost, *ptr, *remhost; local
99 rhost = xstrdup(fo->opt_rhost);
101 for (ptr = strtok(rhost, ":"); ptr; ptr = strtok(NULL, ":")) {
105 XFREE(rhost);
116 XFREE(rhost);
122 XFREE(rhost);
138 XFREE(rhost);
142 XFREE(rhost);
/netbsd-current/lib/libpam/modules/pam_login_access/
H A Dpam_login_access.c64 const void *rhost, *tty, *user; local
77 pam_err = pam_get_item(pamh, PAM_RHOST, &rhost);
87 if (rhost == NULL || *(const char *)rhost == '\0') {
96 (const char *)user, (const char *)rhost);
97 if (login_access(user, rhost) != 0)
100 (const char *)user, (const char *)rhost);
/netbsd-current/external/bsd/am-utils/dist/scripts/
H A Damd2sun.in43 ($rhost = $rest) =~ s/^.*[\s;]rhost:=([^;\s]+)[;\s]*.*$/\1/;
50 print "$fs -$opts $rhost:$rfs\n";
/netbsd-current/lib/libpam/modules/pam_rhosts/
H A Dpam_rhosts.c64 const void *ruser, *rhost; local
83 err = pam_get_item(pamh, PAM_RHOST, &rhost);
88 err = ruserok(rhost, superuser, ruser, user);
/netbsd-current/usr.bin/rdist/
H A Ddocmd.c126 doarrow(char **filev, struct namelist *xfiles, char *rhost, argument
141 (long)files, rhost, (long)cmds);
151 printf("updating host %s\n", rhost);
156 if (!makeconn(rhost))
194 notify(tempfile, rhost, sc->sc_args, 0);
208 * Create a connection to the rdist server on the machine rhost.
211 makeconn(char *rhost) argument
221 printf("makeconn(%s)\n", rhost);
224 if (strcmp(cur_host, rhost) == 0)
228 cur_host = rhost;
525 notify(char *file, char *rhost, struct namelist *to, time_t lmod) argument
[all...]
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dpam_get_authtok.c77 const void *lhost, *rhost; local
89 r = pam_get_item(pamh, PAM_RHOST, &rhost);
90 if (r == PAM_SUCCESS && rhost != NULL) {
93 if (strcmp(rhost, lhost) != 0)
/netbsd-current/external/bsd/openpam/dist/bin/pamtest/
H A Dpamtest.c274 "[-dkMPsv] [-H rhost] [-h host] [-t tty] [-U ruser] [-u user]");
317 const char *rhost = NULL; local
334 opt_str_once(opt, &rhost, optarg);
391 if (rhost == NULL) {
394 rhost = hostname;
419 if ((pame = pt_set_item(PAM_RHOST, rhost)) != PAM_SUCCESS ||
/netbsd-current/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c119 const char *user, *rhost, *tty, *nuser; local
142 rhost = (const char *)vrhost;
188 doutmpx(user, rhost, tty, ss, &now);
189 dolastlogx(pamh, quiet, pwd, rhost, tty, ss, &now);
193 doutmp(user, rhost, tty, &now);
194 dolastlog(pamh, quiet, pwd, rhost, tty, &now);
/netbsd-current/usr.sbin/lpr/common_source/
H A Dcommon.c127 * Create a TCP connection to host "rhost". If "rhost" is of the
132 getport(const char *rhost) argument
141 const char *hostname = rhost;
146 if (rhost == NULL)
148 (void)strlcpy(hbuf, rhost, sizeof(hbuf));
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dpam.c35 struct berval rhost; member in struct:paminfo
242 pi.rhost.bv_val = rhostc;
243 pi.rhost.bv_len = tmpint32;
369 pi.rhost.bv_val = rhostc;
370 pi.rhost.bv_len = tmpint32;
595 pi.rhost.bv_val = rhostc;
596 pi.rhost.bv_len = tmpint32;
648 pi.tty.bv_len + pi.ruser.bv_len + pi.rhost.bv_len + STRLENOF(" (@)");
652 pi.ruser.bv_val, pi.rhost.bv_val);
740 pi.rhost
[all...]
/netbsd-current/lib/libc/net/
H A Drcmd.c599 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) argument
604 _DIAGASSERT(rhost != NULL);
611 error = getaddrinfo(rhost, "0", &hints, &res);
777 char *rhost = NULL; local
826 rhost = __gethostloop(raddr, salen);
829 if (rhost)
830 hostok = innetgr(&ahost[2], rhost,
848 rhost = __gethostloop(raddr, salen);
851 if (rhost)
852 hostok = -innetgr(&ahost[2], rhost,
[all...]
/netbsd-current/external/mpl/bind/dist/bin/named/
H A Dfuzz.c187 char *sqtype, *shost, *sport, *rhost, *rport; local
301 rhost = strchr(sport, ':');
302 RUNTIME_CHECK(rhost != NULL);
303 *rhost = 0;
304 rhost++;
306 rport = strchr(rhost, ':');
325 RUNTIME_CHECK(inet_pton(AF_INET, rhost, &recaddr.sin_addr) == 1);
/netbsd-current/etc/
H A Dsecurity514 rhost=$(ls -ldgT ${homedir}/.rhosts)
515 printf -- "$uid: $rhost\n"

Completed in 293 milliseconds