[Samba] vfs modules audit + recycle

John H Terpstra jht at samba.org
Wed May 28 13:54:55 GMT 2003


On Wed, 28 May 2003, Denis Heitbrock wrote:

> hi,
>
> i use samba 2.2.8a
> on a share i wanted to use the audit.so and recycle.so modules. in my
> smb.conf i added the following share

With Samba-2.2.8 you can have only 1 VFS module per share. With Samba-3
you can load multiple VFS modules.

- John T.

>
> [dir]
> comment = dir
> valid users = @edv
> writeable = yes
> create mode = 777
> path = /data/
> directory mode = 777
> vfs object = /usr/lib/samba/vfs/audit.so
> vfs object = /usr/lib/samba/vfs/recycle.so
> vfs options = /etc/samba/recycle.conf
>
> with this config the recycle bin is running but there are no audit
> information logged in the messages file. when i comment out the recycle
> lines the audit module is running fine. i also tried this config:
>
> [dir]
> comment = dir
> valid users = @edv
> writeable = yes
> create mode = 777
> path = /data/
> directory mode = 777
> vfs object = /usr/lib/samba/vfs/audit.so /usr/lib/samba/vfs/recycle.so
> vfs options = /etc/samba/recycle.conf
>
> but when i then start samba i cant get access to the directory.
> could anyone help me with this problem? thxxx for help.
>
> greetz
> denis
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list