Following messages found during accessing samba share from windows machine :
-----
Windows can not access XXX
check the spelling of the name, Otherwise there might be a problem with your network. To try to identify and resolve network problems, click diagnose
Error Code : 0x8007005
Access is denied
-----
Samba server (smb) has on linux box ie rhel 6.1. It has following configuration :
#cat /etc/samba/smb.conf
[Global]
workgroup = IMSDOWNLOADS
server string = IMS Downloads
hosts allow = 10.*
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[u1]
comment = u1
path = /u1
browseable = yes
writable = yes
public = yes
read only = no
[log]
comment = log
path = /log
browseable = yes
writable = yes
public = yes
read only = no
-----
Why : I would like to access linux files system from windows machine. Here /u1, / and /log has shared.
Solution :
Execute following command :
#chcon -R -t samba_share_t /u1
#chcon -R -t samba_share_t /log
#chmod +x /u1
#chmod +x /log
That's it.
try :)
Saturday, 27 August 2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment