CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  smb share from centos to windows 2003

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  umcpgrad
      umcpgrad
smb share from centos to windows 2003
#1
Newbie
Joined: 2012/2/9
From
Posts: 1
what is the best way for centos to back up to a windows 2003 box? I have created redhat, suse smb shares
just wondering the best way for centos to back up to a windows 2003 box, my share doesn't seem to work
I have given access or read, write, execute on the folder, I have enabled the rules to be allowed on centos
it is still not connection, windows side keeps saying network can't be found
I have restarted the iptables, I have restarted the smb share

suggestions? thanks in advance
Posted on: 2012/2/9 8:27
Create PDF from Post Print
Top
  •  pschaff
      pschaff
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
Create PDF from Post Print
Top
  •  vanecka
      vanecka
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
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com