vfs_fruit: fix fruit:resource option spelling
authorRalph Boehme <slow@samba.org>
Tue, 8 Nov 2016 11:35:12 +0000 (12:35 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 2 Dec 2016 22:46:15 +0000 (23:46 +0100)
commit7d4b4a429955cf7fd43f3ac83990c5386ac8cd76
tree6a06260484f8f17ebe45857b8900f5a26151d159
parent682300ce0ae5861bb0caaa620c1a37654e997fb0
vfs_fruit: fix fruit:resource option spelling

Fix all occurences of bad spelling of "resource" as "res*s*ource" (two
s).

One of the places where this was wrong was when parsing parametric
options in the VFS connect() function in the module. As a result any
setting of

  fruit:resource=something

in smb.conf was silently ignored and the default ("file") was active.

In Samba 4.6 we accept both the wrong and the correct spelling, in Samba
4.7 the bad spelling will be removed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12412

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/manpages/vfs_fruit.8.xml
selftest/target/Samba3.pm
selftest/target/Samba4.pm
source3/modules/vfs_fruit.c