[samba] read only access with samba-3.6.13-1

Problems with packages? Post here, using [tags] of the package name.

[samba] read only access with samba-3.6.13-1

Postby marbletravis » Thu Mar 21, 2013 1:59 am

After updating to samba-3.6.13-1 I can no longer write to my samba share.

My smb.conf is as below, and worked prior to the update. I don't know what version I had prior.

$this->bbcode_second_pass_code('', '
[global]
workgroup = WORKGROUP
server string = POGO-K9
netbios name = POGO-K9
security = share
load printers = no
printing = bsd
printcap name = /dev/null
disable spools = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
[K9]
force user = root
path = /media/K9
read only = no
public = yes
writable = yes

')

Is this a bug or is it something in my config that doesn't like the new version?

Is it possible to downgrade, if so how and to what version do you recommend?

Thanks,
Travis
marbletravis
 
Posts: 15
Joined: Thu Feb 21, 2013 4:50 am

Re: [samba] read only access with samba-3.6.13-1

Postby maz1324 » Thu Mar 28, 2013 5:16 pm

I am running into the same issue. I have very little experience with linux, so you may want to to wait for someone more experienced than me to chime in before making the following changes.

According to the following link, "security = share" has been deprecated. https://bbs.archlinux.org/viewtopic.php?id=160161

First I would backup the smb.conf file in case these suggestions don't work. I got mine to work by making the following changes to my smb.conf file.

In the global section, do the following:
change "security = share" to "security = user"
Add the following lines below "security = user"
map to guest = Bad User
guest account = root

For each of the shares:
remove "force user = root"
add "guest ok = yes"

Then restart the samba service:
systemctl restart smbd.service
maz1324
 
Posts: 7
Joined: Sun May 27, 2012 12:45 am

Re: [samba] read only access with samba-3.6.13-1

Postby marbletravis » Sun Mar 31, 2013 2:15 pm

That was it.

Thanks!
marbletravis
 
Posts: 15
Joined: Thu Feb 21, 2013 4:50 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 6 guests