Setting up a Share Without Authentication: Difference between revisions

From SambaWiki
(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...")
 
m (/* typo)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For details about setting up a share that users can access without authenticating, see [[Setting up Samba as a Standalone Server]].
= 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
[[Category:Active Directory]]
read only = yes
[[Category:Domain Members]]
guest ok = yes
[[Category:File Serving]]
[[Category:NT4 Domains]]

Latest revision as of 14:31, 24 March 2017

For details about setting up a share that users can access without authenticating, see Setting up Samba as a Standalone Server.