From 8222c13ce98b0beef0ca34621c93c2b4878eb902 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 22 May 2004 07:38:15 +0000 Subject: r815: include our netbios name in the negprot response (this matches win2003) (This used to be commit b4b67c330174ac0570558bedf50729542ea775da) --- source4/smb_server/negprot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/smb_server') diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c index 92ce5675ad..d9d65d4cf2 100644 --- a/source4/smb_server/negprot.c +++ b/source4/smb_server/negprot.c @@ -320,6 +320,7 @@ static void reply_nt1(struct request_context *req, uint16 choice) SCVAL(req->out.vwv+1, VWV(16), 8); } req_push_str(req, NULL, lp_workgroup(), -1, STR_UNICODE|STR_TERMINATE|STR_NOALIGN); + req_push_str(req, NULL, lp_netbios_name(), -1, STR_UNICODE|STR_TERMINATE|STR_NOALIGN); DEBUG(3,("not using SPNEGO\n")); } else { #if 0 -- cgit