I was thinking for weeks that the next article on the hardcores or masochists series should be an article on the samba protocol. I know it is complicated but, i thought that, if i posted some info on the protocol, just some hints on how it works then i would be happy for the effort. So, the first thing i did is i started up my small server, that echoes everything, and hit “\\127.0.0.1:2020″…
And strangely enough i got this result:
OPTIONS / HTTP/1.1
Now this threw me of track. It is very strange. It is a windows machine making a samba request and it uses the HTTP protocol? I tried the same thing with my linux smclient but i got even more strange things from there. There is no RFC whatsoever, none that i found. I found many papers about it but they are all huge and need alot of effort to read. So, i think i will give up on this one, at least for now that i have absolutely no time.
If you have any pointers, links or the slightest idea on how this thing works i’d be glad to hear from you as always…