Share error on boot

Just a note about an error that appeared in the console on boot with Volumio 1.55 on a raspberry pi 2:

smbd Bad Share name ‘share’

changing the line

security = share

to

security = user

in the two files

/etc/samba/smb.conf
/var/www/_OS_SETTINGS/etc/samba/smb.conf

makes the error disappear - think this is to do with samba 4 and ‘share’ permissions being depreciated but I wasnt able to understand much of what I read. Im sure there are many people better qualified to comment.