This boolean option indicates whether Samba will allow connections to a share using share-level security based solely on the individuals specified in the
username
option, instead of those users compiled on Samba's internal list. The default value for this option is
no
. You can override it per share as follows:
[global]
security = share
[data]
username = andy, peter, valerie
only user = yes