summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-22 07:38:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:52 -0500
commit8222c13ce98b0beef0ca34621c93c2b4878eb902 (patch)
tree509fd454c6f9ee9592176f6baedc170cdc3321c5
parent39696f7804dcfa6a06710bbd8a25b9bfaf5113f9 (diff)
downloadsamba-8222c13ce98b0beef0ca34621c93c2b4878eb902.tar.gz
samba-8222c13ce98b0beef0ca34621c93c2b4878eb902.tar.bz2
samba-8222c13ce98b0beef0ca34621c93c2b4878eb902.zip
r815: include our netbios name in the negprot response (this matches win2003)
(This used to be commit b4b67c330174ac0570558bedf50729542ea775da)
-rw-r--r--source4/smb_server/negprot.c1
1 files changed, 1 insertions, 0 deletions
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