Setting up a Share Without Authentication

From SambaWiki
Revision as of 14:35, 30 June 2015 by GlaDiaC (talk | contribs) (Created page with "= Anonymous Read-Only = The following /etc/samba/smb.conf file shows an example how to configure a read-only file share with guest access. Two directives are used to configur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Anonymous Read-Only

The following /etc/samba/smb.conf file shows an example how to configure a read-only file share with guest access. Two directives are used to configure guest access – <map to guest = Bad user> and <guest account = nobody>.

 [global]
   workgroup = SAMBA
   security = user
   map to guest = Bad user
  [data]
     comment = Anonymous Samba Share
     path = /samba/anon_share
     read only = yes
     guest ok = yes