Results 1 to 7 of 7

Thread: RH Linux: sharing files to Windows?

  1. #1

    RH Linux: sharing files to Windows?

    Ola -

    Being newer to Linux, I am unsure the best way to share files between Linux and Windows. Is there a better or best way? I was thinking SAMBA - but that is riddled with security vulnerabilities I had thought. I am also going to Google it up, but just thought to ask in case I get on the wrong path; I will also post anything worthwhile that I dig up.

    Gracias.

  2. #2
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    Are you talking about across a network?

    Samba would work fine.
    Keep up with the patches and configure it properly and you shouldn't have to worry about it.

    When you say "riddled with security vulnerabilities"... I'm sure they've been patched. Though, you may want to check up on that. With such widespred use of Samba... I doubt that they'd let their vulnerabilities go unpatched for long.

    When I was using linux as my server, I used samba.

    NFS? There are several NFS clients out there for windows...

    FTP? SFTP? HTTP?

    Are you talking about across partitions?

    Create a fat32 partition large enough and copy your files to the fat32 partition. When you boot into the other operating system, mount or browse to that parittion.

    There are packages/programs for both windows and linux that will allow you to read linux file systems from linux and read ntfs filesystems from linux. Though, most of what I've seen is read only.

    Even a flash drive would work... or cd or <insert other media here>
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

  3. #3
    Senior Member
    Join Date
    Apr 2004
    Posts
    1,130
    On an Intranet, Samba is better. its easy to install, easy to maintain and "plug and play" to Windows network
    But if you are talking about Internet, forget it.
    Meu sítio

    FORMAT C: Yes ...Yes??? ...Nooooo!!! ^C ^C ^C ^C ^C
    If I die before I sleep, I pray the Lord my soul to encrypt.
    If I die before I wake, I pray the Lord my soul to brake.

  4. #4
    Thanks for the responses.

    Also for this case, I would be sharing within the Intranet. Turns out we already had Samba on the box - DOH! While I was checking things out, one of our Linux SMEs used this on RH to share:

    mount -t smbfs -o username=xxxxxx/[domain],password=xxxxx //xxx.xxx.xxx.xxx/share /mnt

    Looks to be working.

    NFS another good idea within the Intranet - thanks!

    Flash drive - tried - must not have the right driver - cuz it barfed.

    I am also checking out some other tools I found and will post if I find something worth a hoot. Thanks again all!

  5. #5
    Senior Member IKnowNot's Avatar
    Join Date
    Jan 2003
    Posts
    792
    Just make sure you read through all the man pages ( including smb.conf, smbpasswd, testparm )

    You did not say what version of RH you are using but I have found some of the stock installed smb.conf files leave out options which could help tighten it up a bit ( like " bind interfaces only " ).
    " And maddest of all, to see life as it is and not as it should be" --Miguel Cervantes

  6. #6
    Junior Member
    Join Date
    Oct 2002
    Posts
    20
    On an intranet samba should be fine, as long as your shares are configured correctly, prehaps by either restricting the ip's that are allowed to connect to shares or using share authentitication with a different username and password to the rest of your machines.

    As for your flash drive format it again in windows using a fat file system and you should have no problems using it on both pc's, my flash drive works like a charm on Fedora Core 2, I have set it to auto mount when ever i plug it in and have no problems loading it on any of my windows boxes, you should also check your /etc/fstab and make sure there is an entry along the lines of:

    /dev/sda1 /mnt/flash auto user,noauto,kudzu 0 0

    Hope this helps.

  7. #7
    Update: we got the file sharing to work with Samba, but right now I working away from our lab, but when I get back, I will update on the version of RH we are using, make sure I read the man pages recommended and I will try the flash drive re-format.

    Thanks much for all your help everyone! I appreciate it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •