Lines Matching refs:domain

26  * This module handles the primary domain controller location protocol.
48 char *domain);
53 static void smb_netlogon_send(struct name_entry *name, char *domain,
70 * This is the entry point locating the resource domain PDC. A netlogon
72 * Note that we need to know the domain SID in order to use the samlogon
79 smb_netlogon_request(struct name_entry *server, char *domain)
85 if (domain == NULL || *domain == '\0')
89 (void) strlcpy(ntdomain_info.n_domain, domain,
94 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) {
101 domain, sid);
103 smb_netlogon_query(server, MAILSLOT_NETLOGON_RDC, domain);
138 char *domain;
175 rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain);
191 rc = smb_msgbuf_decode(&mb, "UUU", &primary, &junk, &domain);
215 if (domain == NULL || primary == NULL) {
222 domain, primary, src_name);
225 if (strcasecmp(domain, ntdomain_info.n_domain)) {
226 syslog(LOG_DEBUG, "NetLogonResponse: other domain "
227 "%s, requested %s", domain, ntdomain_info.n_domain);
271 char *domain)
316 smb_netlogon_send(server, domain, buffer, offset + announce_len);
338 * DWORD DomainSidSize; # domain sid length in bytes
339 * BYTE *DomainSid; # domain sid
348 char *domain,
361 syslog(LOG_DEBUG, "NetLogonSamLogonReq: %s", domain);
402 * The domain SID is padded with 3 leading zeros.
424 smb_netlogon_send(server, domain, buffer, offset + announce_len);
434 char *domain,
445 smb_init_name_struct((unsigned char *)domain, suffix[i],
461 domain, suffix[i]);
469 * This is where we process netlogon responses for the resource domain.