Lines Matching refs:domain

27  * This module handles the primary domain controller location protocol.
49 char *domain);
54 static void smb_netlogon_send(struct name_entry *name, char *domain,
71 * This is the entry point locating the resource domain PDC. A netlogon
73 * Note that we need to know the domain SID in order to use the samlogon
80 smb_netlogon_request(struct name_entry *server, char *domain)
86 if (domain == NULL || *domain == '\0')
90 (void) strlcpy(ntdomain_info.n_domain, domain,
95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) {
102 domain, sid);
104 smb_netlogon_query(server, MAILSLOT_NETLOGON_RDC, domain);
139 char *domain;
176 rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain);
192 rc = smb_msgbuf_decode(&mb, "UUU", &primary, &junk, &domain);
216 if (domain == NULL || primary == NULL) {
223 domain, primary, src_name);
226 if (strcasecmp(domain, ntdomain_info.n_domain)) {
227 syslog(LOG_DEBUG, "NetLogonResponse: other domain "
228 "%s, requested %s", domain, ntdomain_info.n_domain);
272 char *domain)
317 smb_netlogon_send(server, domain, buffer, offset + announce_len);
339 * DWORD DomainSidSize; # domain sid length in bytes
340 * BYTE *DomainSid; # domain sid
349 char *domain,
362 syslog(LOG_DEBUG, "NetLogonSamLogonReq: %s", domain);
403 * The domain SID is padded with 3 leading zeros.
425 smb_netlogon_send(server, domain, buffer, offset + announce_len);
435 char *domain,
446 smb_init_name_struct((unsigned char *)domain, suffix[i],
462 domain, suffix[i]);
470 * This is where we process netlogon responses for the resource domain.