www.centos.org Forum Index CentOS 5 - General Support smb share from centos to windows 2003
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: smb share from centos to windows 2003 | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Hard to guess the cause without some substantive information. About all you have told us is "it does not work". Anything relevant in the Samba logs? Please show the smb.conf and provide more information about your system by running "./getinfo.sh" and showing us the output file. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/2/11 22:34
|
|||
|
Re: smb share from centos to windows 2003 | #3 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2010/1/28
From University of the Free State - South Africa
Posts: 27
|
Try stopping your firewall first and accessing the share from Windows. If it works, you know that there is something wrong with your firewall. Port 445 should be opened, and perhaps port 137:139 too.
Execute the following to stop iptables: service iptables stop Then check the share again. If it works, fix your firewall. Remember to restart your firewall after you fixed/tested iptables. If that doesn't solve your problem, ensure that Samba is running correctly and perhaps restart Samba and check your system logs. If that does not work, it could be a user permission problem. Ensure that you have a Samba user and that the password is correct. Samba passwords differ from the Linux password and not all Linux users have a Samba counterpart. Also ensure that the user has access to browse to the path that is specified as the share. To do this, log in as the user on the Linux system and change into that directory. If you get a permission denied error, you know that the specific user doesn't have permission to the directory. Fix the permission with chmod/chown. Finally, if that does not work, ensure that SELinux is not giving you problems. You can try to temporary disable SELinux and restart Samba to test: setenforece 0 service smb restart On a side note, if you "make backups" of Linux files to a Windows machine, you may want to tar the files/directories first and copy those tar balls to ensure that the user permissions are also backed up. Hope it helps. |
||
Posted on: 2012/4/17 23:41
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
umcpgrad





You cannot start a new topic.
You can view topic.