mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
add version back to lanman string in sessetup reply
(This used to be commit dade462a168abe721c70022546109074961969b6)
This commit is contained in:
parent
281d95e2f3
commit
ad9a3848a8
@ -60,9 +60,13 @@ static NTSTATUS do_map_to_guest(NTSTATUS status, auth_serversupplied_info **serv
|
||||
static void add_signature(char *outbuf)
|
||||
{
|
||||
char *p;
|
||||
fstring lanman;
|
||||
|
||||
snprintf( lanman, sizeof(lanman), "Samba %s", VERSION );
|
||||
|
||||
p = smb_buf(outbuf);
|
||||
p += srvstr_push(outbuf, p, "Unix", -1, STR_TERMINATE);
|
||||
p += srvstr_push(outbuf, p, "Samba", -1, STR_TERMINATE);
|
||||
p += srvstr_push(outbuf, p, lanman, -1, STR_TERMINATE);
|
||||
p += srvstr_push(outbuf, p, lp_workgroup(), -1, STR_TERMINATE);
|
||||
set_message_end(outbuf,p);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user