3
3
3ka5_cat2011-11-03 12:40:53
Samba
3ka5_cat, 2011-11-03 12:40:53

SMB/CIFS difference between printer and share?

I'm trying to find information about how information about the resources provided is transmitted in SMB packets. Those. which fields in the packet to pay attention to in order to see "this packet came from a network printer, but this one came from a network share." Any ideas?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
3
3ka5_cat, 2011-11-03
@3ka5_cat

Ok, I found that when connecting to a remote machine, the necessary info is transmitted in the TREE_CONNECT_ANDX package in the Service field. ubiqx.org/cifs/SMB.html#SMB.9
Without a connection, when scanning a network, services are determined through the Server Type Field in the Browser Protocol frame. technet.microsoft.com/en-us/library/cc767893.aspx#XSLTsection130121120120

4
4dmonster, 2011-11-03
@4dmonster

I can be wrong, but I think only by singling out the file name.
msdn.microsoft.com/en-us/library/cc212614.aspx
"Operations executed on a printer share are handled on the server by creating a file, and printing the
contents of the file when it is closed."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question