Bug 7856 - testparm doesn't handle "vfs objects" properly
testparm doesn't handle "vfs objects" properly
Status: RESOLVED INVALID
Product: Samba 3.6
Classification: Unclassified
Component: VFS Modules
3.6.0pre1
Other All
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-08 10:02 UTC by Björn Jacke
Modified: 2010-12-08 11:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2010-12-08 10:02:58 UTC
if you have in a smb.conf section this:

vfs objects = foo1
vfs objects = foo2

...testparm will just output:

vfs objects = foo2
Comment 1 Volker Lendecke 2010-12-08 10:53:57 UTC
At a first glance I would say this is expected behaviour. I always understood the semantics of setting an option more than once such that the later setting overwrites the earlier one.

Has this changed from earlier versions, i.e. did 3.5 and before behave differently in this respect?

Volker
Comment 2 Björn Jacke 2010-12-08 11:38:35 UTC
I was surprised, too. Now that you say it, I had another look and indeed a second "vfs objects" is just evaluated when the first is in the global and the second one is in a share section. Sorry for the noise.