SMB proxy server using ntvfs cifs

Rowland Penny repenny241155 at
Wed Jan 27 16:06:10 UTC 2016

On 27/01/16 15:11, Chris Miller wrote:
> Thanks Rowland,
> Sorry, the smbd, nmbd etc starts were just to demonstrate that the server worked in the non ntvfs mode and served content. After that step, and changing the smb.conf to include the 'server services = +smb - s3fs' lines,  it is run with ‘samba’ or 'samba -i’ only.

To run the 'samba' deamon, you need to provision as an AD DC, as far as 
I am aware, you shouldn't create your own smb.conf to use with the 
'samba' deamon

> Would you mind clarifying the following please:
> Is it not possible to act as a cifs proxy (using source4/ntvfs/cifs/vfs_cifs.c) as a domain member?

I do not think so, vfs_cifs.c is part of ntvfs and you cannot run ntvfs 
on a domain member

> If not, is it possible in another configuration (AC DC or standalone etc) to use vfs_cifs?

It looks like you would have to provision Samba as an AD DC using the 
ntvfs backend and as I said, the ntvfs backend is depreciated.

> Can you only access vfs_cifs without  +smb -s3fs and ‘samba’

I think you meant, run 'samba' with '+smb -s3fs' , if so the yes, I 
think this is the only way to use vfs_cifs

> The functionality in the ntvfs module cifs to proxy is the main driver and I don’t think its currently possible elsewhere...
> Many Thanks

It was written as part of 'ntvfs' and this hasn't received any updates 
for quite some time and to be honest, I wouldn't use any of its code.


More information about the samba-technical mailing list