Searched refs:rhost (Results 1 – 6 of 6) sorted by relevance
| /openbsd/src/usr.sbin/amd/amd/ |
| D | info_passwd.c | 89 char val[PATH_MAX], rhost[HOST_NAME_MAX+1]; in passwd_search() local 112 rhost[0] = '\0'; in passwd_search() 116 strlcat(rhost, q + 1, sizeof(rhost)); in passwd_search() 117 strlcat(rhost, ".", sizeof(rhost)); in passwd_search() 120 strlcat(rhost, p, sizeof(rhost)); in passwd_search() 127 if (*rhost == '\0' || *user == '\0' || *dir == '\0') in passwd_search() 132 q = strchr(rhost, '.'); in passwd_search() 137 dir, rhost, rhost, user, pw->pw_dir); in passwd_search()
|
| /openbsd/src/usr.bin/rdist/ |
| D | docmd.c | 92 notify(char *rhost, struct namelist *to, time_t lmod) in notify() argument 109 (rhost) ? "@" : "", in notify() 110 (rhost) ? rhost : "", getnlstr(to)); in notify() 151 if (!any('@', to->n_name) && rhost != NULL) in notify() 152 (void) fprintf(pf, " %s@%s", to->n_name, rhost); in notify() 157 if (!any('@', to->n_name) && rhost != NULL) in notify() 158 (void) fprintf(pf, ", %s@%s", to->n_name, rhost); in notify() 168 if (rhost != NULL) in notify() 171 locuser, host, rhost); in notify() 253 remotecmd(char *rhost, char *luser, char *ruser, char *cmd) in remotecmd() argument [all …]
|
| /openbsd/src/lib/libc/net/ |
| D | ruserok.c | 58 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) in ruserok() argument 66 error = getaddrinfo(rhost, "0", &hints, &res); in ruserok() 162 char *rhost = (char *)-1; in __ivaliduser_sa() local 218 if (rhost == (char *)-1) in __ivaliduser_sa() 219 rhost = __gethostloop(raddr, salen); in __ivaliduser_sa() 221 if (rhost) in __ivaliduser_sa() 222 hostok = innetgr(&ahost[2], rhost, in __ivaliduser_sa() 235 if (rhost == (char *)-1) in __ivaliduser_sa() 236 rhost = __gethostloop(raddr, salen); in __ivaliduser_sa() 238 if (rhost) in __ivaliduser_sa() [all …]
|
| /openbsd/src/usr.sbin/lpr/lpd/ |
| D | allowedhost.c | 59 char *ahost, *rhost = (char *)-1; in allowedhost() local 100 if (rhost == (char *)-1) in allowedhost() 101 rhost = gethostloop(raddr, salen); in allowedhost() 103 if (rhost) in allowedhost() 104 hostok = innetgr(&ahost[2], rhost, in allowedhost()
|
| /openbsd/src/usr.sbin/lpr/common_source/ |
| D | common.c | 112 getport(char *rhost, int rport) in getport() argument 124 if (rhost == NULL) in getport() 134 error = getaddrinfo(rhost, pbuf, &hints, &res); in getport()
|
| /openbsd/src/usr.sbin/amd/doc/ |
| D | amdref.texinfo | 824 jsp.homes.automount HS TXT "rfs:=/home/charm;rhost:=charm;sublink:=jsp" 825 njw.homes.automount HS TXT "rfs:=/home/dylan/dk2;rhost:=dylan;sublink:=njw" 846 value `@t{/}@i{anydir}@t{/}@i{domN}', @code{$@{rhost@}} has the value 859 rfs:=/home/achilles;rhost:=achilles;sublink:=jsp 871 rfs:=/home/sugar;rhost:=sugar.cc;sublink:=jsp 1063 substituted. For example, if @code{$@{rhost@}} was 1064 @samp{swan.doc.ic.ac.uk} then @code{$@{.rhost@}} would be expanded to 1067 @code{$@{rhost.@}} would be expanded to @samp{swan}.@refill 1094 the value of @code{$@{rhost@}} is expanded and normalized before the 1097 @samp{Berkeley.EDU} and @code{$@{rhost@}} was initially [all …]
|