VFS version error

Sharayu Mantri sm25541994 at gmail.com
Mon Mar 2 23:47:55 MST 2015


Hello,
Previously vfs_demo was running perfectly fine but now it shows an error

Mar  3 06:26:20 ubuntu smbd[5816]: [2015/03/03 06:26:20.133617,  0]
smbd/vfs.c:173(vfs_init_custom)
Mar  3 06:26:20 ubuntu smbd[5816]:   error probing vfs module
'/usr/local/samba/lib/vfs_demo': NT_STATUS_UNSUCCESSFUL
Mar  3 06:26:20 ubuntu smbd[5816]: [2015/03/03 06:26:20.133760,  0]
smbd/vfs.c:315(smbd_vfs_init)
Mar  3 06:26:20 ubuntu smbd[5816]:   smbd_vfs_init: vfs_init_custom failed
for /usr/local/samba/lib/vfs_demo
Mar  3 06:26:20 ubuntu smbd[5816]: [2015/03/03 06:26:20.133938,  0]
smbd/service.c:869(make_connection_snum)
Mar  3 06:26:20 ubuntu smbd[5816]:   vfs_init failed for service share

On Mon, Mar 2, 2015 at 5:54 PM, Richard Sharpe <realrichardsharpe at gmail.com>
wrote:

> On Mon, Mar 2, 2015 at 6:53 AM, Sharayu Mantri <sm25541994 at gmail.com>
> wrote:
> > This code was provided by sir. Richard Sharpe. I just wanted to know how
> a
>
> I see that I have made the Queen's list.
>
> > VFS module is suppose to run . So for just seeing the execution i used
> > vfs_demo . I am not sure how the vfs_demo thread runs. But i think , the
> > one thread is created for each connection that is established. I actually
> > didnt understand the working that is why i am creating my own vfs module
> > using skel_transparent.c  but again the issue comes is, open system call
> is
> > executed many times although a file from shared folder open only once. If
> > you can help me with that.
>
> Windows opens files many times and does things on files that Samba
> turns into STAT opens. Grab a capture and compare the log with the
> capture.
>
> > Thanks
> >
> > On Mon, Mar 2, 2015 at 2:37 PM, Volker Lendecke <
> Volker.Lendecke at sernet.de>
> > wrote:
> >
> >> On Mon, Mar 02, 2015 at 01:53:59PM +0000, Sharayu Mantri wrote:
> >> > I am not postponing the syslog() . After every 5 mins, i am clearing
> the
> >> > syslog using crontab .
> >>
> >> Can you explain what the thread in your VFS module does? I
> >> don't get it :-)
> >>
> >> Thanks,
> >>
> >> Volker
> >>
> >> --
> >> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> >> phone: +49-551-370000-0, fax: +49-551-370000-9
> >> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> >> http://www.sernet.de, mailto:kontakt at sernet.de
> >>
>
>
>
> --
> Regards,
> Richard Sharpe
> (何以解憂?唯有杜康。--曹操)
>


More information about the samba-technical mailing list