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 [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
Denis Heitbrock (heitbrockd@schlick.de) 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 > >[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 > >Hi, You can't run 2 different modules in the same share in 2.2.8a. I think I saw that will be available in version 3. -- Bob Crandell Assured Computing When you need to be sure. bob@assuredcomp.com www.assuredcomp.com Voice - 541-689-9159 FAX - 541-463-1627 Eugene, Oregon
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 shareWith 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@samba.org