[Samba] ntvfs handler = cifs, CIFS-Proxy

Andrew Bartlett abartlet at samba.org
Sat Oct 4 02:37:00 MDT 2014


On Wed, 2014-10-01 at 19:04 +0200, Meike Stone wrote:
> 2014-10-01 17:22 GMT+02:00 Meike Stone <meike.stone at googlemail.com>:
> > Hello,
> >
> > I'm trying to configure a CIFS-Proxy. My configuration is:
> >
> > [global]
> >         workgroup = MYDOM
> >         server role = member server
> >         realm = MYDOM.NET
> >         netbios name = FS01
> >         server services = +smb +s3fs
> >         dcerpc endpoint servers = +winreg +srvsvc
> 
> sorry, I used
>     server services = +smb -s3fs
> 
> >
> >
> > [test]
> >         ntvfs handler = cifs
> >         cifs:server = 192.168.1.10
> >         cifs:share = projects$
> >
> > but in logfile I ever get following message:
> >
> > [2014/10/01 17:04:05.929403,  0] ../source3/param/loadparm.c:2377(service_ok)
> >   WARNING: No path in service test - making it unavailable!
> > [2014/10/01 17:04:06.146723,  0] ../lib/util/become_daemon.c:136(daemon_ready)
> >
> > It is samba 4.1.12, the packages are from Sernet.
> >
> > Do I need to compile my binaries on my own, if so,
> > what compiling options I must use?
> 
> or is there any mistake, can I debug this problem?

So, what is happening here is that some of our common code in loadparm
really isn't ready to cope with the idea of a path-less share, and the
quickest way to shut it up is to define a path, but know that won't be
used by the ntvfs file server.

It won't actually stop the cifs proxy working.  We know the proxy works
(for SMB1) because we test it in make test. 

I know you got down a rabbit-hole with Roland, but yes, this really is a
feature, it is hard to find and use, because you need to operate Samba
in a way not documented clearly (because for everyone else, it is
useless) where you use the 'samba-tool domain provision
--server-role=member' mode followed by 'samba-tool domain join' if you
need to be part of a domain.

Some clues may be found in the code under selftest/ that configures our
test environment, or by running 'make testenv'

Hopefully you can figure it out.

Andrew Bartlett

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




More information about the samba mailing list