From 04f2858fd7f2123f12bfdb4ba695dc56ef7df0c7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 31 Oct 1998 07:38:50 +0000 Subject: took out Lukes change as it breaks domain logons for Win95 clients (ie. it breaks Sues machine). Luke, your comment was: put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines. perhaps you could post the relevant tcpdump or netmon capture so we can see what is going on? I suspect that what you saw isn't exactly what the win95 boxes are generating. Maybe you saw a GETDCxxx instead of a GETDC000 ? Maybe we need a switch based on the GETDC request type? We won't know unless we see sniffs. (This used to be commit a2bacc08955ba61aac4b45b63a54b279e5776261) --- source3/nmbd/nmbd_processlogon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 5495697c8f..3f519ecfc9 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -139,9 +139,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) )); fstrcpy(q, reply_name); q = skip_string(q, 1); /* PDC name */ -#if 0 if (strcmp(mailslot, NT_LOGON_MAILSLOT)==0) { -#endif q = align2(q, buf); PutUniCode(q, my_name); /* PDC name */ @@ -155,9 +153,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) )); q += 2; SSVAL(q, 0, lm20token); q += 2; -#if 0 } -#endif DEBUG(3,("process_logon_packet: GETDC request from %s at IP %s, \ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", -- cgit