R: [Samba-it] vfs modules, recycle bin e testparm

Luigi Iotti luigi at iotti.biz
Mon Jul 12 11:49:01 MDT 2004


> ciao tutti,
> samba 3.0.4 backports woody.
> Stavo facendo delle prove con il cestino di rete.
> La mia conf di test e' questa:
>
> [pippo]
> comment = test VFS
> vfs object = recycle
> recycle:repository = .cestino/%U
> recycle:keeptree = yes
> recycle:touch = yes
> recycle:versions= yes
> recycle:exclude = *.tmp *.temp *.ldb *.o *.obj ~$*
> recycle:exclude_dir = /tmp /temp /cache
> recycle:noversions = *.doc *.xls *.ppt
>
> questa funziona bene, fa tutto quello che voglio.
> L'unico "problema" ce l'ho quando lancio testparm.
> Quest'ultimo, dopo avermi detto "load file services ok", mi
> suggerisce di premere enter per il dump delle definizioni, e qui
> ci sta la gabola.
> Testparm scorre le entry di recycle come se le vedesse duplicate a decine.

Ho un problema molto simile su FC2, samba 3.0.4 da RPM, sto provando
samba-vscan.
Riducendo le cose all'osso, faccio un smb.conf minimale:
# cat smb.conf
[global]
[test]
        vfs object = vscan-clamav
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf

# testparm smb.conf
Load smb config files from smb.conf
Processing section "[test]"
No path in service test - using /tmp
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]

[test]
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        path = /tmp
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
...
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vfs objects = vscan-clamav
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
...


Forse che il problema sia legato a testparm che non gradisce il ':' nel nome
del parametro?

Luigi





More information about the samba-it mailing list