summaryrefslogtreecommitdiffstats
path: root/source/nmbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-31 07:38:50 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-31 07:38:50 +0000
commita2bacc08955ba61aac4b45b63a54b279e5776261 (patch)
treeaf0196082afb86977a6289b94b1f5a927edd2053 /source/nmbd
parentd398ae487a3edbfefb980fe0abddca1e95f6f3d5 (diff)
downloadsamba-a2bacc08955ba61aac4b45b63a54b279e5776261.tar.gz
samba-a2bacc08955ba61aac4b45b63a54b279e5776261.tar.xz
samba-a2bacc08955ba61aac4b45b63a54b279e5776261.zip
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.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd_processlogon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/nmbd/nmbd_processlogon.c b/source/nmbd/nmbd_processlogon.c
index 5495697c8f4..3f519ecfc94 100644
--- a/source/nmbd/nmbd_processlogon.c
+++ b/source/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",