How can I turn off the default public share?/guest user

Alternatively go into /etc/samba/overall_share and put a # in front of every line of this bit:

BEGIN ## sharename = Public

[Public]
  path = /DataVolume/shares/Public
  comment = Public Share
  public = yes
  browseable = yes
  writable = yes
  guest ok = yes
  map read only = no

END

That will solve the problem for windows machines, but not for nfs access.

Mt /etc/trustees.conf looks like:

[/dev/sda4]/backup/TimeMachine:*:RWBEX:*:DU
[/dev/sda4]/backup/SmartWare:*:RWBEX:*:DU
[/dev/sda4]/shares/Public:*:RWBEX:*:DU

[/dev/sda4]/shares/Data:*:RWBEX:*:DU

I don’t know what to make of that, as I don’t reognise the syntax. Could you shed some light on this please U-PID?