Lines Matching defs:host
60 char buf[1024]; /* Must not be larger than host, user, dummy below. */
84 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp;
113 /* Got both host and user name. */
123 host = hostbuf;
127 /* Process negated host names, or positive netgroups. */
128 if (host[0] == '-') {
130 host++;
131 } else if (host[0] == '+')
132 host++;
140 /* Check for empty host/user names (particularly '+'). */
141 if (!host[0] || !user[0]) {
143 auth_debug_add("Ignoring wild host/user names in %.100s.",
147 /* Verify that host name matches. */
148 if (host[0] == '@') {
149 if (!innetgr(host + 1, hostname, NULL, NULL) &&
150 !innetgr(host + 1, ipaddr, NULL, NULL))
152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0)
162 /* Found the user and host. */
305 auth_debug_add("Accepted host %s ip %s client_user %s server_user %s",