[Samba] Samba 3.6.1 malformed request: "OPTIONS / HTTP/1.1" message

Andrew Bartlett abartlet at samba.org
Tue Jan 6 19:14:15 MST 2015

On Fri, 2015-01-02 at 18:59 +0330, Mostafa.Y wrote:
> Hi guys. Hope you're having great days.
> I have cross compiled Samba 3.6.1 for my embedded linux device. It was
> very tough considering I couldn't find a tutorial or something that
> helps me. Not even on Samba site and its documentation.
> Anyway I managed to compile it and I put compiled files into
> /usr/local directory in the device like I was supposed to and modified
> smb.conf and put it in the right place. Finally I put smbd and nmbd as
> daemon in start-up.
> Well the problem is that when I try to connect to it using a windows
> laptop sometimes it works and most of the time it doesn't and windows
> says that it couldn't access that network and it's not accessible even
> though that I can still ping my device through laptop or ping my
> laptop through the device. Although in the terminal of the device I
> can see that Samba says something like this every time windows tries
> to access:
> malformed request: "OPTIONS / HTTP/1.1"
> But like I said there are times that it works and I can see my shared
> directory even though that Samba reports above message.

That message is from your webserver, which doesn't like the windows
client trying to use webdav to it.  (Samba doesn't write a message like
that, and never sees HTTP traffic). 

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list