summaryrefslogtreecommitdiff
path: root/source3/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
commit04f2858fd7f2123f12bfdb4ba695dc56ef7df0c7 (patch)
tree6a60e5c03818cca0fb204f11c708d8a7fa80262d /source3/nmbd
parentc6759957bb484d502f7a724fb4d2faa7706bb49f (diff)
downloadsamba-04f2858fd7f2123f12bfdb4ba695dc56ef7df0c7.tar.gz
samba-04f2858fd7f2123f12bfdb4ba695dc56ef7df0c7.tar.bz2
samba-04f2858fd7f2123f12bfdb4ba695dc56ef7df0c7.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. (This used to be commit a2bacc08955ba61aac4b45b63a54b279e5776261)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_processlogon.c4
1 files changed, 0 insertions, 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",