Lines Matching defs:domain
79 nis_name n2) /* See if these are the same domain */
141 char domain[LN_BUFSIZE];
181 if (sysinfo(SI_SRPC_DOMAIN, ln->domain, LN_BUFSIZE) < 0)
184 if (ln->domain[strlen(ln->domain)-1] != '.')
185 (void) strcat(ln->domain, ".");
191 * hostname, strip off the domain part. We always use the local
197 if (ln->domain[0] != '.')
199 ln->rpcdomain = strdup(ln->domain);
200 (void) strcat(ln->host, ln->domain);
213 * we return because we don't want to add ".domain".
224 /* If not, we need to add ".domain" to the group */
227 /* truncate to make room for ".domain" */
228 ln->group[maxlen - (strlen(ln->domain)+1)] = '\0';
230 /* concat '.' if domain doesn't already have it */
231 if (ln->domain[0] != '.') {
234 (void) strcat(ln->group, ln->domain);
311 * return a pointer to the "domain" part of it.
327 return ("."); /* return root domain instead */
374 * This internal function will remove from the NIS name, the domain
399 d = &(ln->domain[0]);
400 dl = strlen(ln->domain); /* _always dot terminated_ */
422 /* Insert a NUL where the domain name starts in the string */
461 return (ln->domain);
467 * Return a pointer to a string with the rpc domain name in it.