Lines Matching defs:dcnode
404 smb_domain_t *dcnode;
413 dcnode = list_head(&smb_dcache.dc_cache);
414 while (dcnode) {
415 found = (smb_strcasecmp(dcnode->di_nbname, name, 0) == 0) ||
416 (smb_strcasecmp(dcnode->di_fqname, name, 0) == 0);
420 *di = *dcnode;
424 if ((p = strchr(dcnode->di_fqname, '.')) != NULL) {
426 found = (smb_strcasecmp(dcnode->di_fqname, name,
431 *di = *dcnode;
436 dcnode = list_next(&smb_dcache.dc_cache, dcnode);
457 smb_domain_t *dcnode;
468 dcnode = list_head(&smb_dcache.dc_cache);
469 while (dcnode) {
470 found = (strcmp(dcnode->di_sid, sidstr) == 0);
473 *di = *dcnode;
477 dcnode = list_next(&smb_dcache.dc_cache, dcnode);
498 smb_domain_t *dcnode;
503 dcnode = list_head(&smb_dcache.dc_cache);
504 while (dcnode) {
505 if (dcnode->di_type == type) {
508 *di = *dcnode;
512 dcnode = list_next(&smb_dcache.dc_cache, dcnode);
586 smb_domain_t *dcnode;
592 dcnode = list_head(&smb_dcache.dc_cache);
593 while (dcnode) {
594 if ((dcnode->di_type == SMB_DOMAIN_PRIMARY) ||
595 (dcnode->di_type == SMB_DOMAIN_TRUSTED)) {
596 smb_dcache_remove(dcnode);
597 dcnode = list_head(&smb_dcache.dc_cache);
599 dcnode = list_next(&smb_dcache.dc_cache, dcnode);
923 smb_domain_t *dcnode;
926 if ((dcnode = malloc(sizeof (smb_domain_t))) == NULL)
929 *dcnode = *di;
930 dcnode->di_binsid = smb_sid_fromstr(dcnode->di_sid);
931 if (dcnode->di_binsid == NULL) {
932 free(dcnode);
936 list_insert_tail(&smb_dcache.dc_cache, dcnode);