My question is how do I add this particular VFS OBJECT (RECYCLE) on Univention 3.0.2? I see the ability to within the GUI, but there is little or no information on how to format the information.
What if I edit the share on Univention under /etc/samba/shares.conf.d ??? Will I have problems from the GUI afterwards?
The “key = values” items should be written between “”.
Edited changes in the file under “/etc/samba/shares.conf.d” will be overwritten when the files are regenereated by the system on changing samba configurations.
it’s a bit unusual but if it works it should be ok. Does it work for you?
I just did a quick test with “testparm” to ensure the “key value” pairs stay correctly formatted.
Additionally I filed an enhancement request addressing this case in our Bug Tracker.
I agree, TESTPARM does not show an error for this particular data. I guess I will have to test if the values are being parsed properly, or perhaps ignored.
I missed the obvious solution on this until now. You should be able to add your parameters in the GUI by putting them into the fields under:
Shares: -> [Advanced settings] -> Samba custom settings -> Custom share settings
Here you can provide multiple key = value pairs.
I added all of the items shown above. Everything seemed to work aside from one item. Reviewing with testparm, I noticed that one of the pairs did not work right away.
When I added the pair “vfs objects = recycle”, it removed “vfs objects = acl_xattr”
So I changed it to “vfs objects = recycle, acl_xattr”