Lines Matching defs:domain
49 char *get_default_ldap_base(const char *domain);
50 bool_t add_domain(char **objName, const char *domain);
1189 * nis default domain
1194 * INPUT: the nis domain
1198 get_default_ldap_base(const char *domain)
1201 int len = strlen(domain);
1207 if (domain[i] == PERIOD_CHAR)
1215 if (domain[i] == PERIOD_CHAR) {
1219 base[count++] = domain[i];
1230 * Appends the base domain if a relative object name
1235 * INPUT: the relative object name and base domain
1240 add_domain(char **objName, const char *domain)
1247 if (domain == NULL || *objName == NULL) {
1251 len1 = strlen(domain);
1252 trailing_dot = (len1 > 0 && domain[len1 - 1] == PERIOD_CHAR) ?
1260 (void) strcpy(obj_name + len, domain);