Page 1 of 1

Problems SAMBA

Posted: 2011/09/15 12:56:25
by mnowak
File Server focused on CentOS 6.0, the firewall is turned off, with Windows XP, I can enter the samba shared folders but I see I can not create (files, folders) or you can not see the files created under Linux (eg *. txt)

Please help


"
[global]
workgroup = LAB
server string = Magazyn ( Samba %v )
netbios name = SEA

nt pipe support = yes
nt acl support = no
guest ok = yes

name resolve order = lmhosts host wins bcast

security = user
encrypt passwords = true
update encrypted sync = no

passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd

preserve case = yes
short preserve case = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = 192.168.69. 127. localhost

wins support = Yes
domain master = yes
local master = yes
preferred master = yes
os level = 34
time server = yes

unix charset = ISO8859-2
dos charset = CP852
username map = /etc/samba/users.map
usershare max shares = 100

[abcd]
path = /home/abcd
writable = yes
browseable = yes
create mask = 777
read only = No
"

Re: Problems SAMBA

Posted: 2011/09/15 18:28:54
by beaker_
Looks like a very old smb.conf. Assuming samba likes it and the pwd file exists then paste the output of:

sestatus
getsebool -a |grep samba

Re: Problems SAMBA

Posted: 2011/09/16 09:16:28
by mnowak
OK! :) Problem solved. SELinux has blocked us. Disabled it and began to act samba. Thanks for your help.

Problems SAMBA

Posted: 2011/09/16 11:51:38
by markkuk
Disabling SELinux is [b]not[/b] a solution to anything, it's just a way to ignore the real problem. Please post the information requested by beaker_.