Package: samba Version: 3.0.26a The example smb.conf file uses various synonyms throughout. I found this confusing. Attached is a patch which fixes these inconsistencies in favor of the main configuration directive in each case.
Richard
--- smb.conf 2007-12-18 01:28:02.000000000 -0600
+++ smb.conf 2008-01-12 21:33:51.000000000 -0600
@@ -231,7 +231,7 @@
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
-; writable = no
+; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
@@ -247,7 +247,7 @@
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
-; writable = no
+; read only = yes
; share modes = no
# Un-comment the following and create the profiles directory to store
@@ -268,9 +268,9 @@
browseable = no
path = /var/spool/samba
printable = yes
- public = no
- writable = no
- create mode = 0700
+ guest ok = no
+ read only = yes
+ create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
@@ -288,10 +288,10 @@
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
-; writable = no
+; read only = yes
; locking = no
; path = /cdrom
-; public = yes
+; guest ok = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
signature.asc
Description: This is a digitally signed message part

