I make a recycle bin as follow: config-file = /etc/samba/recycle.conf vfs object = recycle recycle:subdir_mode = 0770 recycle:keeptree = Yes recycle:repository = Recycle Bin recycle:versions = Yes recycle:directory_mode = 0770 But testparm shows: Unknown parameter encounter: "config-file" Ignoring unknown parameter "config-file" What could be the problem and the solution? Regards, David
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Kuntadi wrote:> I make a recycle bin as follow: > > config-file = /etc/samba/recycle.conf > vfs object = recycle > recycle:subdir_mode = 0770 > recycle:keeptree = Yes > recycle:repository = Recycle Bin > recycle:versions = Yes > recycle:directory_mode = 0770 > > But testparm shows: > > Unknown parameter encounter: "config-file" > Ignoring unknown parameter "config-file" > > What could be the problem and the solution?Re-read the manual. You apparently have the syntax wrong -- config-file is not a valid parameter. You should generally also mention the version number you're using and on what platform to help people assist you. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIon9Vmb+gadEcsb4RAqu2AKDCHs8F0sIEpRThMNc1rFUsmgO9pwCeNTKY wDl4zG9HwjY1Gnfg00Z8XS8=i2Rk -----END PGP SIGNATURE-----
Am Mittwoch, 13. August 2008 schrieb David Kuntadi:> I make a recycle bin as follow: > > config-file = /etc/samba/recycle.conf > vfs object = recycle > recycle:subdir_mode = 0770 > recycle:keeptree = Yes > recycle:repository = Recycle Bin > recycle:versions = Yes > recycle:directory_mode = 0770 > > But testparm shows: > > Unknown parameter encounter: "config-file" > Ignoring unknown parameter "config-file" > > What could be the problem and the solution? > > Regards, > Davidto check for the right syntax - use 'man smb.conf' - 'testparm -vs' will list _all_ options set (also the default ones) So 'testparm -vs | grep config' could lead you in the right direction: ... config file ... Cheers, G?nter
> config-file = /etc/samba/recycle.conf > vfs object = recycle > recycle:subdir_mode = 0770 > recycle:keeptree = Yes > recycle:repository = Recycle Bin > recycle:versions = Yes > recycle:directory_mode = 0770 > Ignoring unknown parameter "config-file"My working system has all the same lines in it _except_ the "config-file" line. I think you missed something like a change of font that was supposed to indicate instructions and instead interpreted it as something literal to go in the file. -Chuck Kollars