[Samba] Samba 3.4.3 and DOS read only

Jim Gallagher jim at thegallaghers.biz
Fri Aug 17 15:06:22 MDT 2012


Jeremy,

Thanks for the reply! Unfortunately, it did not work. Here is the global
section from smb.conf and the section for the share that I tested with:

[global]
   workgroup = AD
   realm = COMPANY.COM
   netbios name = server01
   server string = server01 Samba Server
   log file = /var/opt/samba/server01/log.%m
   log level = 3
   lock directory = /var/opt/samba/server01/locks
   private dir = /var/opt/samba/server01/private
   pid directory = /var/opt/samba/server01/locks
   state directory = /var/opt/samba/server01/locks
   cache directory = /var/opt/samba/server01/locks
   #root directory = /nothing
   include = /etc/opt/samba/server01/server01.conf.%m
   socket address = <removed>
   interfaces = <removed>
   bind interfaces only = yes
   max log size = 1000
  username map = /etc/opt/samba/server01/smbusers.map
# Security mode. Use 'ads' for configuring with W2K domain and
# use Kerberos as authentication protocol.
   security = domain
   local master = no
   #password server = *
   password server = <removed>
   wins server = <removed>
   dns proxy = yes
   encrypt passwords = yes
   smb passwd file = /var/opt/samba/server01/private/smbpasswd
   preserve case = yes
   short preserve case = yes
   dos filetime resolution = yes
   read only = no
   syslog = 0
   kernel oplocks = no
   oplocks = no
   level2 oplocks = no
    guest account = smbguest
    # mmap =no is necessary to prevent a smbd crash
    use mmap = no
    unix extensions = no

[Test]
   comment = Setup to test dos RO attribute
   browseable = No
   path = /home/jim
   writeable = yes
   username = jim
   ea support = no
   store dos attributes = no
   map readonly = yes


All help appreciated!

Thanks,
Jim


More information about the samba mailing list