mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
NT4 as well as W2k respond with IPC regardless of what service
type the client requested in the TCONX when connecting to IPC$. It is very well possible that this also applies to the DISK and PRINTER share types, not only IPC. Found this while trying to join a HEAD domain from NT4SP6. Volker (This used to be commit d42eb2116df4bb82c4199a688a057cd0a9f435ed)
This commit is contained in:
parent
c7e720c87b
commit
afcb58ac9e
@ -276,7 +276,7 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
|
||||
set_message(outbuf,3,0,True);
|
||||
|
||||
p = smb_buf(outbuf);
|
||||
p += srvstr_push(outbuf, p, devicename, -1,
|
||||
p += srvstr_push(outbuf, p, IS_IPC(conn) ? "IPC" : devicename, -1,
|
||||
STR_TERMINATE|STR_ASCII);
|
||||
p += srvstr_push(outbuf, p, fsname, -1,
|
||||
STR_TERMINATE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user