Lines Matching defs:domain
488 * do a domain name suffix comparison.
577 * fully qualified domain name
669 static char *domain = NULL;
671 if (domain == NULL) {
674 domain = malloc(SYS_NMLN);
675 if (domain == NULL)
678 ssize = sysinfo(SI_SRPC_DOMAIN, domain, SYS_NMLN);
680 free(domain);
681 domain = malloc(ssize);
682 if (domain == NULL)
684 ssize = sysinfo(SI_SRPC_DOMAIN, domain, ssize);
686 /* Check for error in syscall or NULL domain name */
722 1, &domain))
993 * Check a domain name for RFC 1035 and 1123 compliance. Domain names may
1002 smb_name_validate_domain(const char *domain)
1008 if (domain == NULL)
1011 if (*domain == '\0')
1014 label_terminator = *domain;
1016 for (p = domain; *p != '\0'; ++p) {
1048 * A NetBIOS domain name can contain letters (a-zA-Z), numbers (0-9) and
1164 * Parse a string to obtain the account and domain names as separate strings.
1167 * names. The string preceding the backslash should be the domain name
1168 * and the string following the slash should be a name within that domain.
1174 * domain\name
1175 * domain/name
1177 * name@domain
1180 * is replaced by \0 and the name and domain pointers are set to point to
1181 * the appropriate components in arg. Otherwise, name and domain pointers
1185 smb_name_parse(char *arg, char **account, char **domain)
1190 *domain = NULL;
1196 *domain = p;
1202 *domain = arg;
1252 { SMB_JOIN_ERR_GET_DCLEVEL, "Unknown domain controller "