vfs_fruit option fruit:resource

Ralph Böhme slow at samba.org
Tue Nov 8 09:48:43 UTC 2016


On Tue, Nov 08, 2016 at 02:23:41PM +0530, Shilpa K wrote:
> Hi,
> 
> In vfs_fruit.c, fruit:resource config is loaded as follows:
> 
> 1312
> <https://git.samba.org/?p=samba.git;a=blob;f=source3/modules/vfs_fruit.c;h=6e7899aaad785de4d8757bbf6ec074ea62fee766;hb=refs/heads/v4-5-stable#l1312>
>         enumval = lp_parm_enum(SNUM(handle->conn), FRUIT_PARAM_TYPE_NAME,
> 1313
> <https://git.samba.org/?p=samba.git;a=blob;f=source3/modules/vfs_fruit.c;h=6e7899aaad785de4d8757bbf6ec074ea62fee766;hb=refs/heads/v4-5-stable#l1313>
>                                "re*ss*
> ource", fruit_rsrc, FRUIT_RSRC_ADFILE);
> 
> But, in the documentation that I have found, resource option is given as
> follows:
> 
> fruit:resource = [ file | xattr | stream ]
> 
> 
> Could you please clarify if it is fruit:ressource or is it fruit:resource ?

*ouch* This hurts.

The spelling in the manpage is correct, the code is wrong, it must be
"resource" in both places.

Can you please file a bugreport and assign it to me?

Cheerio!
-slow



More information about the samba-technical mailing list