Lines Matching refs:domain
184 * name[/node][@security-domain]
186 * Then optional security-domain will represent secure rpc domain if
187 * present. If not present the local domain will be used. name is the
192 * the security domain (secure rpc domain).
199 char *user, *node, *domain;
231 /* Now see if there is a domain */
232 domain = strchr(node, '@');
235 /* Check for a domain */
236 domain = strchr(user, '@');
238 /* Set domain to the beginning of the domain part if pressent */
239 if (domain)
240 *domain++ = '\0';
252 * assume the domain part of a hostname is a DNS domain,
253 * not an rpc domain. The rpc domain can be specified
254 * in the optional security domain part.
262 * If node is null, assume local host. If domain is
263 * null assume local domain. See host2netname(3N)
265 if (!host2netname(netname, node, domain)) {
284 /* If domain is null assume local domain. See user2netname(3N) */
285 if (!user2netname(netname, pwd.pw_uid, domain)) {