Home
last modified time | relevance | path

Searched refs:first_label (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c342 char first_label[MAXHOSTNAMELEN]; in smb_ddiscover_domain_match() local
356 (void) strlcpy(first_label, entry, MAXHOSTNAMELEN); in smb_ddiscover_domain_match()
357 if ((p = strchr(first_label, '.')) != NULL) { in smb_ddiscover_domain_match()
359 if (strlen(first_label) > 15) in smb_ddiscover_domain_match()
360 first_label[15] = '\0'; in smb_ddiscover_domain_match()
363 if (smb_strcasecmp(nb_domain, first_label, 0) == 0) { in smb_ddiscover_domain_match()