diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba/smb.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba/smb.conf b/meta-networking/recipes-connectivity/samba/samba/smb.conf index a0b87c3735..d6bde417fb 100644 --- a/meta-networking/recipes-connectivity/samba/samba/smb.conf +++ b/meta-networking/recipes-connectivity/samba/samba/smb.conf | |||
| @@ -25,6 +25,10 @@ | |||
| 25 | 25 | ||
| 26 | ## Browsing/Identification ### | 26 | ## Browsing/Identification ### |
| 27 | 27 | ||
| 28 | # Prevent anonymous connections. Overriden if the user sets guest ok = yes | ||
| 29 | # on any share | ||
| 30 | restrict anonymous = 1 | ||
| 31 | |||
| 28 | # Change this to the workgroup/NT-domain name your Samba server will part of | 32 | # Change this to the workgroup/NT-domain name your Samba server will part of |
| 29 | workgroup = WORKGROUP | 33 | workgroup = WORKGROUP |
| 30 | 34 | ||
| @@ -114,7 +118,7 @@ | |||
| 114 | 118 | ||
| 115 | # This option controls how unsuccessful authentication attempts are mapped | 119 | # This option controls how unsuccessful authentication attempts are mapped |
| 116 | # to anonymous connections | 120 | # to anonymous connections |
| 117 | map to guest = bad user | 121 | map to guest = never |
| 118 | 122 | ||
| 119 | ########## Domains ########### | 123 | ########## Domains ########### |
| 120 | 124 | ||
